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