Switched to yaml config

master
Jef Roosens 2021-05-03 18:35:01 +02:00
parent 05b1013430
commit 1c712d843a
Signed by: Jef Roosens
GPG Key ID: B580B976584B5F30
2 changed files with 50 additions and 68 deletions

View File

@ -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

50
config.yaml 100644
View File

@ -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"