122 lines
No EOL
3.5 KiB
TOML
122 lines
No EOL
3.5 KiB
TOML
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
|
|
languageCode = "en-us"
|
|
|
|
# defaultContentLanguage - Content without language indicator will default to this language.
|
|
defaultContentLanguage = "en"
|
|
|
|
|
|
# title - Site title
|
|
title = "Hugo Hermit"
|
|
|
|
# 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
|
|
|
|
|
|
pygmentsCodefences = true
|
|
pygmentsUseClasses = true
|
|
|
|
# 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
|
|
|
|
copyright = "This work is licensed under a Creative Commons Attribution-NonCommercial 4.0 International License." # This message is only used by the RSS template.
|
|
|
|
# Shorthand emojis in content files - https://gohugo.io/functions/emojify/
|
|
enableEmoji = true
|
|
|
|
# googleAnalytics = "UA-123-45"
|
|
# disqusShortname = "yourdiscussshortname"
|
|
|
|
[author]
|
|
name = "John Doe"
|
|
|
|
[blackfriday]
|
|
# hrefTargetBlank = true
|
|
# noreferrerLinks = true
|
|
# nofollowLinks = true
|
|
|
|
[taxonomies]
|
|
tag = "tags"
|
|
# Categories are disabled by default.
|
|
|
|
[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"
|
|
|
|
homeSubtitle = "A minimal and fast theme for Hugo."
|
|
|
|
# Below Allows homeSubtitle to be shown with printer animation effect. Refer Line 911 in style.scss
|
|
#homeSubtitlePrinter = true
|
|
|
|
footerCopyright = ' · <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"]
|
|
|
|
# Social Icons
|
|
# Check https://github.com/Track3/hermit#social-icons for more info.
|
|
[[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"
|
|
url = "posts/"
|
|
weight = 10
|
|
|
|
[[menu.main]]
|
|
name = "About"
|
|
url = "about-hugo/"
|
|
weight = 20 |