Use config merging

This commit is contained in:
BBaoVanC 2021-11-12 00:08:31 -06:00
parent 943fb83324
commit 1e72637a33
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 40 additions and 24 deletions

24
config.toml Normal file
View File

@ -0,0 +1,24 @@
[markup]
[markup.highlight]
noClasses = false
lineNos = true
[params]
readingtime = false
[taxonomies]
tag = "tags"
author = "authors"
[privacy]
[privacy.googleAnalytics]
disable = true
[privacy.twitter]
enableDNT = true
[privacy.vimeo]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true

View File

@ -7,42 +7,34 @@ enableRobotsTXT: true
paginate: 5
enableGitInfo: true
taxonomies:
_merge: deep
author:
name: bbaovanc
markup:
highlight:
noClasses: false
lineNos: true
markup: # this just keeps the bobatheme markup styling
_merge: deep
params:
# these are for the OpenGraph/Twitter embeds in Hugo
description: Example website for bobatheme
# these are for favicons in bobatheme
faviconICO: favicon.ico
faviconPNG: favicon.png
# these are for favicons in bobatheme (unset by default)
# faviconICO: /favicon.ico
# faviconPNG: /favicon.png
# show word count and/or reading time (enabled by default)
wordcount: true
readingtime: true
# show reading time (enabled by default)
# readingtime: true
# used for "View source"
gitFileURL: https://github.com/BBaoVanC/bobatheme/blob/master
gitFileIcon: github-circle
# used for "View source" (unset by default)
# gitFileURL: https://github.com/BBaoVanC/bobatheme/blob/master
# gitFileIcon: github-circle
# see https://gohugo.io/about/hugo-and-gdpr/#all-privacy-settings
# you probably want to keep this default
privacy:
googleAnalytics:
disable: true
twitter:
enableDNT: true
vimeo:
enableDNT: true
youtube:
privacyEnhanced: true
_merge: deep
languages:
en: