Rename config.toml -> hugo.toml
This commit is contained in:
80
hugo.toml
Normal file
80
hugo.toml
Normal file
@ -0,0 +1,80 @@
|
||||
baseURL = "https://example.com"
|
||||
languageCode = "en-us"
|
||||
defaultContentLanguage = "en"
|
||||
title = "Hugo Hermit"
|
||||
theme = "hermit"
|
||||
# enableGitInfo = true
|
||||
pygmentsCodefences = true
|
||||
pygmentsUseClasses = true
|
||||
# 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/
|
||||
# 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."
|
||||
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
|
Reference in New Issue
Block a user