diff --git a/.gitmodules b/.gitmodules new file mode 100644 index 0000000..7fdd5c3 --- /dev/null +++ b/.gitmodules @@ -0,0 +1,3 @@ +[submodule "themes/hugo-notepadium"] + path = themes/hugo-notepadium + url = https://github.com/cntrump/hugo-notepadium.git diff --git a/config.toml b/config.toml index e4b7418..23fb19e 100644 --- a/config.toml +++ b/config.toml @@ -1,3 +1,68 @@ -baseURL = "http://example.org/" -languageCode = "en-us" -title = "My New Hugo Site" +baseURL = "https://example.com" +title = "Notepadium" +theme = "hugo-notepadium" +copyright = "©2019 Notepadium." + +languageCode = "en-US" +hasCJKLanguage = false + +enableRobotsTXT = true + +# Enable Disqus +#disqusShortname = "XXX" + +# Google Analytics +#googleAnalytics = "UA-123-45" + +[markup.highlight] +codeFences = true +noClasses = false + +[markup.goldmark.renderer] +unsafe = true # enable raw HTML in Markdown + +[params] +style = "auto" # default: auto. light: light theme, dark: dark theme, auto: based on system. +dateFormat = "Monday, January 2, 2006" # if unset, default is "2006-01-02" +logo = "" # if you have a logo png +slogan = "100% JavaScript-free" +license = "" # CC License +fullRss = false # Puts entire HTML post into rss 'description' tag. If unset, default is false. +ipv6ready = false # Show IPV6Ready logo on footer. + +[params.comments] +enable = false # En/Disable comments globally, default: false. You can always enable comments on per page. + +[params.math] +enable = false # optional: true, false. Enable globally, default: false. You can always enable math on per page. +use = "katex" # option: "katex", "mathjax". default: "katex" + +[params.syntax] +use = "none" # builtin: "prismjs", "hljs". "none" means Chroma +theme = "xcode" +darkTheme = "xcode-dark" # apply this theme in dark mode + +[params.share] +enable = false +addThisId = "" +inlineToolId = "" + +[params.nav] +showCategories = true # /categories/ +showTags = true # /tags/ + +# custom navigation items + +[[params.nav.custom]] +title = "About" +url = "/about" + +[[params.nav.custom]] +title = "Hugo" +url = "https://gohugo.io/" + +# for chinese +[params.beian] + icp = "" # example: 粤ICP备20056596号-1 + gongan = "" # example: 粤公网安备 44030502005645号 + code = "" # example: 44030502005645 diff --git a/content/about.md b/content/about.md new file mode 100644 index 0000000..8693dc9 --- /dev/null +++ b/content/about.md @@ -0,0 +1,5 @@ +--- +title: "About" +--- + +WIP diff --git a/content/posts/.gitkeep b/content/posts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/data/.gitkeep b/data/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/layouts/.gitkeep b/layouts/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/static/.gitkeep b/static/.gitkeep new file mode 100644 index 0000000..e69de29 diff --git a/themes/hugo-notepadium b/themes/hugo-notepadium new file mode 160000 index 0000000..6c0cc70 --- /dev/null +++ b/themes/hugo-notepadium @@ -0,0 +1 @@ +Subproject commit 6c0cc7068089162a35d9f188772332c13eb26736