From 276591c26838718685bb2b2dbbdb439f528bf54f Mon Sep 17 00:00:00 2001 From: nanxiaobei Date: Thu, 17 Aug 2023 07:14:01 +0800 Subject: [PATCH] copy hugo.toml -> config.toml --- exampleSite/config.toml | 78 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 78 insertions(+) create mode 100644 exampleSite/config.toml diff --git a/exampleSite/config.toml b/exampleSite/config.toml new file mode 100644 index 0000000..69b2a00 --- /dev/null +++ b/exampleSite/config.toml @@ -0,0 +1,78 @@ +baseURL = "https://hugo-paper.vercel.app/" +# title = "Hugo Themes" +author = "Steve Francia" +copyright = "Copyright © 2008–2019, Steve Francia and the lee.so; all rights reserved." +paginate = 3 +languageCode = "en" +DefaultContentLanguage = "en" +enableInlineShortcodes = true +# prevent build failures when using Hugo's Instagram shortcode due to deprecated Instagram API. +# See https://github.com/gohugoio/hugo/issues/7228#issuecomment-714490456 +ignoreErrors = ["error-remote-getjson"] + +# ------------------------------ +theme = "hugo-paper" +title = "Paper" + +[params] + color = 'linen' + + twitter = 'nanxiaobei' + github = 'nanxiaobei' + instagram = 'nan.xiaobei' + + avatar = 'nanxiaobei@gmail.com' + name = 'Lee' + bio = 'Discover fresh context' +# ------------------------------ + +# needed to render raw HTML (e.g. , , , ) +[markup] + [markup.goldmark] + [markup.goldmark.renderer] + unsafe = true + +[menu] + + [[menu.main]] + identifier = "about" + name = "About" + url = "/about/" + weight = 10 + [[menu.main]] + identifier = "contact" + name = "Contact" + url = "/contact/" + weight = 10 + +[taxonomies] +category = "categories" +tag = "tags" +series = "series" + +[privacy] + + [privacy.vimeo] + disabled = false + simple = true + + [privacy.twitter] + disabled = false + enableDNT = true + simple = true + + [privacy.instagram] + disabled = false + simple = true + + [privacy.youtube] + disabled = false + privacyEnhanced = true + +[services] + + [services.instagram] + disableInlineCSS = true + + [services.twitter] + disableInlineCSS = true