From 4b2192f2fa89f10d09fabc48105465865ef01943 Mon Sep 17 00:00:00 2001 From: Track3 Date: Mon, 31 Dec 2018 20:03:32 +0800 Subject: Use `images` instead of `featuredImg` `featuredImg` and `bgImg` are preserved in case you want to use a different background image from metadata images --- exampleSite/config.toml | 23 +++++++++++++++++------ 1 file changed, 17 insertions(+), 6 deletions(-) (limited to 'exampleSite/config.toml') diff --git a/exampleSite/config.toml b/exampleSite/config.toml index 10eb6e0..efc4f98 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -6,7 +6,7 @@ theme = "hermit" # enableGitInfo = true pygmentsCodefences = true pygmentsUseClasses = true -hasCJKLanguage = true # If there're Chinese/Japanese/Korean Languages in the content, enable this. +# hasCJKLanguage = true # If Chinese/Japanese/Korean is your main content language, enable this to make wordCount works right. rssLimit = 10 # Maximum number of items in the RSS feed. copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template. enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/functions/emojify/ @@ -29,13 +29,24 @@ enableEmoji = true # Shorthand emojis in content files - https://gohugo.io/func dateformNum = "2006-01-02" dateformNumTime = "2006-01-02 15:04 -0700" - # themeColor = "#494f5c" # Theme color in meta tags. + # Metadata mostly used in document's head + # description = "" + # images = [""] + themeColor = "#494f5c" + homeSubtitle = "A minimal and fast theme for Hugo." footerCopyright = ' · CC BY-NC 4.0' - # gitUrl = "https://github.com/Someone/SomeRepo/commit/" # Prefix of link to the git commit detail page. GitInfo must be enabled. - justifyContent = false # Set "text-align: justify" to .content, requires extended version of Hugo - # bgImg = "" # Homepage background-image URL - # customCSS = ["css/foo.css", "css/bar.css"] # add custom css + # bgImg = "" # Homepage background-image URL + + # Prefix of link to the git commit detail page. GitInfo must be enabled. + # gitUrl = "https://github.com/username/repository/commit/" + + # Toggle this option need to rebuild SCSS, requires extended version of Hugo + justifyContent = false # Set "text-align: justify" to .content. + + # Add custom css + # customCSS = ["css/foo.css", "css/bar.css"] + # Social Icons # Check https://github.com/Track3/hermit#social-icons for more info. [[params.social]] -- cgit v1.2.3