From 1c712d843a5df6e29325ebac33a2fd4db206b874 Mon Sep 17 00:00:00 2001 From: Jef Roosens Date: Mon, 3 May 2021 18:35:01 +0200 Subject: [PATCH] Switched to yaml config --- config.toml | 68 ----------------------------------------------------- config.yaml | 50 +++++++++++++++++++++++++++++++++++++++ 2 files changed, 50 insertions(+), 68 deletions(-) delete mode 100644 config.toml create mode 100644 config.yaml diff --git a/config.toml b/config.toml deleted file mode 100644 index 441fba3..0000000 --- a/config.toml +++ /dev/null @@ -1,68 +0,0 @@ -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/config.yaml b/config.yaml new file mode 100644 index 0000000..ba3fbb4 --- /dev/null +++ b/config.yaml @@ -0,0 +1,50 @@ +baseURL: "https://www.roosens.me" +title: "The Beaver Dam" +theme: "hugo-notepadium" +copyright: "2021 Jef Roosens" +languageCode: "en-US" +hasCJKLanguage: false +enableRobotsTXT: true + +markup: + highlight: + codeFences: true + noClasses: false + + goldmark: + renderer: + unsafe: true + +params: + style: "auto" + dateFormat: "Monday, January 2, 2006" + logo: "" + slogan: "Some Slogan Buddy" + license: "MIT" + fullRss: false + ipv6ready: false + + comments: + enable: false + + math: + enable: false + use: "katex" + + syntax: + use: "none" + theme: "xcode" + darkTheme: "xcode-dark" + + share: + enable: false + addThisId: "" + inlineToolId: "" + + nav: + showCategories: true + showTags: true + + custom: + - title: "About" + url: "/about"