leafee98-blog/config.toml
leafee98 57c8040aa8
All checks were successful
ci/woodpecker/push/deploy Pipeline was successful
edit menu and about page
2023-07-28 15:11:56 +08:00

70 lines
1.6 KiB
TOML

title = "Leafee98's Blog"
theme = "hugo-theme-flat"
enableRobotsTXT = true
hasCJKLanguage = true
paginate = 6
baseURL = "https://blog.leafee98.com/"
# 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]
description = "I blog here, mostly about playing with computers and the internet. Sometimes I also share what I just learned."
mainSections = [ 'posts' ]
[params.remark42]
host='https://remark42.leafee98.com'
site_id='blog'
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://git.leafee98.com/leafee98/hugo-theme-flat"
pre = "Theme <a href=\"https://git.leafee98.com/leafee98/hugo-theme-flat\">hugo-theme-flat</a>"
[[menus.main]]
name = "Posts"
url = "/posts/"
weight = 20
[[menus.main]]
name = "Essays"
url = "/essays/"
weight = 30
[[menus.main]]
pageref = "about"
name = "About"
weight = 80
[security.exec]
allow = [ "^asciidoctor$" ]