hermit-V2/hugo.toml

122 lines
3.5 KiB
TOML
Raw Normal View History

2023-07-05 04:49:04 -04:00
baseURL = "https://example.com" # baseURL - The absolute URL (protocol, host, path, and trailing slash) of your published site
#[languages]
# [languages.en]
# title = 'My blog'
# weight = 1
# [languages.en.params]
# linkedin = 'https://linkedin.com/whoever'
# [languages.fr]
# title = 'Mon blogue'
# weight = 2
# [languages.fr.params]
# linkedin = 'https://linkedin.com/fr/whoever'
# [languages.it]
# title = 'Il mio blog'
# weight = 3
# [languages.fr.params]
# linkedin = 'https://linkedin.com/fr/whoever'
# languageCode - A language tag as defined by RFC 5646. This value is used to populate:
# The <language> element in the internal RSS template
# The lang attribute of the <html> element in the internal alias template
2018-10-23 01:15:50 -04:00
languageCode = "en-us"
2023-07-05 04:49:04 -04:00
# defaultContentLanguage - Content without language indicator will default to this language.
defaultContentLanguage = "en"
2023-07-05 04:49:04 -04:00
# title - Site title
2018-10-23 01:15:50 -04:00
title = "Hugo Hermit"
2023-07-05 04:49:04 -04:00
# enableGitInfo - Enable .GitInfo object for each page (if the Hugo site is versioned by Git). This will then update the Lastmod parameter for each page using the last git commit date for that content file.
#enableGitInfo = true
2018-10-23 01:15:50 -04:00
pygmentsCodefences = true
pygmentsUseClasses = true
2023-07-05 04:49:04 -04:00
# If Chinese/Japanese/Korean is your main content language, enable this to make wordCount works right.
#hasCJKLanguage = true
# Maximum number of items in the RSS feed.
rssLimit = 10
2018-11-28 02:49:29 -05:00
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
2023-07-05 04:49:04 -04:00
# Shorthand emojis in content files - https://gohugo.io/functions/emojify/
enableEmoji = true
2018-10-23 01:15:50 -04:00
# googleAnalytics = "UA-123-45"
# disqusShortname = "yourdiscussshortname"
[author]
name = "John Doe"
[blackfriday]
# hrefTargetBlank = true
# noreferrerLinks = true
# nofollowLinks = true
2018-10-23 01:15:50 -04:00
[taxonomies]
tag = "tags"
# Categories are disabled by default.
2018-10-23 01:15:50 -04:00
[params]
dateform = "Jan 2, 2006"
dateformShort = "Jan 2"
dateformNum = "2006-01-02"
dateformNumTime = "2006-01-02 15:04 -0700"
# Metadata mostly used in document's head
# description = ""
# images = [""]
themeColor = "#494f5c"
2018-10-23 01:15:50 -04:00
homeSubtitle = "A minimal and fast theme for Hugo."
2023-07-05 04:49:04 -04:00
# Below Allows homeSubtitle to be shown with printer animation effect. Refer Line 911 in style.scss
#homeSubtitlePrinter = true
2018-10-23 01:15:50 -04:00
footerCopyright = ' &#183; <a href="https://creativecommons.org/licenses/by-nc/4.0/" target="_blank" rel="noopener">CC BY-NC 4.0</a>'
# 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/"
# Toggling this option needs to rebuild SCSS, requires Hugo extended version
justifyContent = false # Set "text-align: justify" to `.content`.
relatedPosts = false # Add a related content section to all single posts page
code_copy_button = true # Turn on/off the code-copy-button for code-fields
# Add custom css
# customCSS = ["css/foo.css", "css/bar.css"]
2018-11-28 02:49:29 -05:00
# Social Icons
# Check https://github.com/Track3/hermit#social-icons for more info.
2018-10-23 01:15:50 -04:00
[[params.social]]
name = "twitter"
url = "https://twitter.com/"
[[params.social]]
name = "instagram"
url = "https://instagram.com/"
[[params.social]]
name = "github"
url = "https://github.com/"
[menu]
[[menu.main]]
name = "Posts"
2019-01-05 00:24:57 -05:00
url = "posts/"
2018-10-23 01:15:50 -04:00
weight = 10
[[menu.main]]
name = "About"
2019-01-05 00:24:57 -05:00
url = "about-hugo/"
2023-07-05 04:49:04 -04:00
weight = 20