hugo-theme-flat/exampleSite/config.toml

100 lines
2.1 KiB
TOML
Raw Permalink Normal View History

2022-04-27 13:52:45 +00:00
title = "Flat theme"
theme = "hugo-theme-flat"
themesDir = "../.."
enableRobotsTXT = true
2022-04-27 13:52:45 +00:00
hasCJKLanguage = true
paginate = 4
2022-04-27 13:52:45 +00:00
baseURL = ""
# these values are hugo built in markup config
[markup.highlight]
anchorLineNos = false
codeFences = true
guessSyntax = false
hl_Lines = ''
lineAnchors = ''
lineNoStart = 1
lineNos = false
lineNumbersInTable = false
noClasses = false
noHl = false
style = 'monokailight'
tabWidth = 4
[params]
2023-06-29 14:22:37 +00:00
description = "Example site for hugo-theme-flat"
mainSections = ['posts']
2022-04-27 13:52:45 +00:00
## uncomment belows and set proper values to enable remark42
# [params.remark42]
# host=''
# site_id=''
# max_shown_comments=100
# theme='light'
# locale='en'
# show_email_subscription=false
# simple_view=true
# you can set multi row of footers like these
[[params.footer_rows]]
[[params.footer_rows.items]]
name = "Creative Commons Attribution 4.0 International"
url = "https://creativecommons.org/licenses/by/4.0/"
pre = "Copyright <a href=\"https://creativecommons.org/licenses/by/4.0/\">CC BY-4.0</a>"
[[params.footer_rows]]
[[params.footer_rows.items]]
name = "Hugo"
url = "https://gohugo.io"
pre = "Powered by <a href=\"https://gohugo.io\">Hugo</a>"
[[params.footer_rows.items]]
name = "theme flat"
url = "https://cgit.leafee98.com/hugo-theme-flat.git"
pre = "Theme <a href=\"https://git.leafee98.com/leafee98/hugo-theme-flat.git\">hugo-theme-flat</a>"
2022-04-27 13:52:45 +00:00
[[menus.main]]
2022-05-18 05:50:07 +00:00
name = "Posts"
2022-04-27 13:52:45 +00:00
url = "/posts/"
weight = 30
2022-05-18 05:50:07 +00:00
[[menus.main]]
name = "Essays"
url = "/essays/"
weight = 40
2022-04-27 13:52:45 +00:00
[[menus.main]]
pageref = "about"
name = "About"
weight = 80
# 2-level sub menus are supported
[[menus.main]]
name = "Services"
weight = 60
[[menus.main]]
parent = "Services"
name = "Service A"
url = "#"
[[menus.main]]
parent = "Services"
name = "Service B"
url = "#"
[security.exec]
allow = [ "^asciidoctor$" ]
[markup]
[markup.asciidocExt]
backend = 'html5'
extensions = []
failureLevel = 'fatal'
noHeaderOrFooter = true
preserveTOC = false
safeMode = 'unsafe'
sectionNumbers = false
trace = false
verbose = true
workingFolderCurrent = true
[markup.asciidocExt.attributes]