website-theme/exampleSite/config.toml
2019-03-23 18:12:24 +09:00

49 lines
1.2 KiB
TOML

baseurl = "https://example.com/"
title = "Site Title"
theme = "pulp"
canonifyurls = true
hasCJKLanguage = true
pygmentsCodefences = false
pygmentsUseClasses = false
# googleAnalytics = "{your tracking code}"
[params]
author = "Your Name"
avatar = "avatar.jpg"
favicon = "favicon.ico"
discription = """
Please write anything here.
Profiles, backgrounds, favorite things etc.
"""
publicationYear = "2018"
listPageDateFormat = "January, 2006" # See https://gohugo.io/functions/format/
singlePageDateFormat = "January 2, 2006"
# custom_css = ["/css/custom.css"]
# custom_js = ["/js/custom.js"]
[outputs]
section = ["JSON", "HTML"]
[[menu.main]]
name = "Blog"
pre = "<i class='fa fa-book-open fa-lg'></i>"
url = "/blog/"
weight = 10
[[menu.main]]
name = "Twitter"
pre = "<i class='fab fa-twitter fa-lg'></i>"
url = "https://twitter.com/username"
weight = 20
[[menu.main]]
name = "GitHub"
pre = "<i class='fab fa-github fa-lg'></i>"
url = "https://github.com/username"
weight = 30
[[menu.main]]
name = "Email"
pre = "<i class='fa fa-envelope fa-lg'></i>"
url = "mailto:username@example.com"
weight = 40