89 lines
2.2 KiB
TOML
89 lines
2.2 KiB
TOML
baseurl = "https://blog.b4tman.ru"
|
||
DefaultContentLanguage = "ru"
|
||
title = "b4tman.ru"
|
||
theme = "beautifulhugo"
|
||
metaDataFormat = "yaml"
|
||
pygmentsStyle = "trac"
|
||
pygmentsUseClasses = true
|
||
pygmentsCodeFences = true
|
||
pygmentsCodefencesGuessSyntax = true
|
||
#pygmentsUseClassic = true
|
||
#pygmentOptions = "linenos=inline"
|
||
#disqusShortname = "XXX"
|
||
#googleAnalytics = "XXX"
|
||
enableGitInfo = true
|
||
enableRobotsTXT = true
|
||
|
||
|
||
[Params]
|
||
# homeTitle = "Beautiful Hugo Theme" # Set a different text for the header on the home page
|
||
subtitle = " "
|
||
logo = "img/img.jpg" # Expecting square dimensions
|
||
favicon = "img/favicon.ico"
|
||
dateFormat = "January 2, 2006"
|
||
commit = "https://gitea.b4tman.ru/b4tman/blog.b4tman.ru/commit/"
|
||
rss = true
|
||
comments = true
|
||
readingTime = true
|
||
wordCount = true
|
||
useHLJS = true
|
||
selfHosted=true
|
||
socialShare = true
|
||
delayDisqus = true
|
||
showRelatedPosts = true
|
||
# gcse = "012345678901234567890:abcdefghijk" # Get your code from google.com/cse. Make sure to go to "Look and Feel" and change Layout to "Full Width" and Theme to "Classic"
|
||
|
||
[Params.author]
|
||
name = "Dmitry Belyaev"
|
||
website = "https://b4tman.ru"
|
||
email = "mail@b4tman.ru"
|
||
github = "b4tman"
|
||
gitlab = "b4tman"
|
||
mastodon = "social.v.b4tman.ru/@b4tman"
|
||
# bitbucket = "b4tman"
|
||
vk = "0xffff"
|
||
boosty="0xffff"
|
||
|
||
[[menu.main]]
|
||
name = "Блог"
|
||
url = ""
|
||
weight = 1
|
||
|
||
[[menu.main]]
|
||
name = "Git"
|
||
url = "https://gitea.b4tman.ru"
|
||
weight = 2
|
||
|
||
[[menu.main]]
|
||
name = "Вопросы"
|
||
url = "https://b4tman.ru/q/"
|
||
weight = 3
|
||
|
||
[[menu.main]]
|
||
name = "Календарь"
|
||
url = "https://b4tman.ru/calendar/"
|
||
weight = 3
|
||
|
||
#[[menu.main]]
|
||
# name = "обо мне"
|
||
# url = "page/about/"
|
||
# weight = 3
|
||
|
||
#[[menu.main]]
|
||
# name = "теги"
|
||
# url = "tags"
|
||
# weight = 3
|
||
|
||
[security]
|
||
enableInlineShortcodes = false
|
||
[security.exec]
|
||
allow = ['^dart-sass-embedded$', '^go$', '^git$', '^npx$', '^postcss$', '^pandoc$', '^nvim$']
|
||
osEnv = ['(?i)^(PATH|PATHEXT|APPDATA|TMP|TEMP|TERM)$']
|
||
|
||
[security.funcs]
|
||
getenv = ['^HUGO_']
|
||
|
||
[security.http]
|
||
methods = ['(?i)GET|POST']
|
||
urls = ['.*']
|