Use yaml instead of toml for exampleSite config

This commit is contained in:
BBaoVanC 2021-10-29 21:18:08 -05:00
parent 9873f62d08
commit 33fbcac9d5
Signed by: bbaovanc
GPG Key ID: 18089E4E3CCF1D3A
2 changed files with 57 additions and 57 deletions

View File

@ -1,57 +0,0 @@
baseURL = "https://example.com"
theme = "bobatheme"
defaultContentLanguage = "en"
copyright = '&copy; 2021 bbaovanc <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>'
sectionPagesMenu = "main"
enableRobotsTXT = true
paginate = 5
enableGitInfo = true
[author]
name = "bbaovanc"
[markup]
[markup.highlight]
noClasses = false
lineNos = true
[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"
# show word count and/or reading time (enabled by default)
wordcount = true
readingtime = true
# used for last update
repoURL = "https://github.com/BBaoVanC/bobatheme"
[privacy]
[privacy.googleAnalytics]
disable = true
[privacy.twitter]
enableDNT = true
[privacy.vimeo]
enableDNT = true
[privacy.youtube]
privacyEnhanced = true
[languages]
[languages.en]
languageName = "English"
title = "Example Website"
weight = 1
[languages.es]
languageName = "Español"
title = "Sitio web ejemplo"
weight = 2
[languages.es.params]
description = "Sitio web ejemplo para bobatheme"

57
exampleSite/config.yaml Normal file
View File

@ -0,0 +1,57 @@
baseURL: https://example.com
theme: bobatheme
defaultContentLanguage: en
copyright: '&copy; 2021 bbaovanc <a rel="license" href="http://creativecommons.org/licenses/by-sa/4.0/">CC BY-SA 4.0</a>'
sectionPagesMenu: main
enableRobotsTXT: true
paginate: 5
enableGitInfo: true
author:
name: bbaovanc
markup:
highlight:
noClasses: false
lineNos: true
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
# show word count and/or reading time (enabled by default)
wordcount: true
readingtime: true
# used for last update
repoURL: https://github.com/BBaoVanC/bobatheme
privacy:
googleAnalytics:
disable: true
twitter:
enableDNT: true
vimeo:
enableDNT: true
youtube:
privacyEnhanced: true
languages:
en:
languageName: English
title: Example Website
weight: 1
es:
languageName: Español
title: Sitio web ejemplo
weight: 2
params:
description: Sitio web ejemplo para bobatheme