mirror of
https://github.com/BBaoVanC/bobatheme.git
synced 2024-11-17 05:15:58 -06:00
Use yaml instead of toml for exampleSite config
This commit is contained in:
parent
9873f62d08
commit
33fbcac9d5
@ -1,57 +0,0 @@
|
||||
baseURL = "https://example.com"
|
||||
theme = "bobatheme"
|
||||
defaultContentLanguage = "en"
|
||||
copyright = '© 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
57
exampleSite/config.yaml
Normal file
@ -0,0 +1,57 @@
|
||||
baseURL: https://example.com
|
||||
theme: bobatheme
|
||||
defaultContentLanguage: en
|
||||
copyright: '© 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
|
Loading…
Reference in New Issue
Block a user