From 33fbcac9d5286919cb83fff198833c3ec680fc2c Mon Sep 17 00:00:00 2001 From: BBaoVanC Date: Fri, 29 Oct 2021 21:18:08 -0500 Subject: [PATCH] Use yaml instead of toml for exampleSite config --- exampleSite/config.toml | 57 ----------------------------------------- exampleSite/config.yaml | 57 +++++++++++++++++++++++++++++++++++++++++ 2 files changed, 57 insertions(+), 57 deletions(-) delete mode 100644 exampleSite/config.toml create mode 100644 exampleSite/config.yaml diff --git a/exampleSite/config.toml b/exampleSite/config.toml deleted file mode 100644 index e7df9e4..0000000 --- a/exampleSite/config.toml +++ /dev/null @@ -1,57 +0,0 @@ -baseURL = "https://example.com" -theme = "bobatheme" -defaultContentLanguage = "en" -copyright = '© 2021 bbaovanc CC BY-SA 4.0' -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" diff --git a/exampleSite/config.yaml b/exampleSite/config.yaml new file mode 100644 index 0000000..2d55883 --- /dev/null +++ b/exampleSite/config.yaml @@ -0,0 +1,57 @@ +baseURL: https://example.com +theme: bobatheme +defaultContentLanguage: en +copyright: '© 2021 bbaovanc CC BY-SA 4.0' +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