blog.b4tman.ru/config.toml

89 lines
2.2 KiB
TOML
Raw Permalink Normal View History

2019-08-13 13:23:48 +00:00
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"
2019-09-09 10:55:10 +00:00
enableGitInfo = true
2020-06-16 08:50:33 +00:00
enableRobotsTXT = true
2019-09-09 10:55:10 +00:00
2019-08-13 13:23:48 +00:00
[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"
2020-03-25 20:16:12 +00:00
commit = "https://gitea.b4tman.ru/b4tman/blog.b4tman.ru/commit/"
2019-08-13 13:23:48 +00:00
rss = true
comments = true
readingTime = true
wordCount = true
useHLJS = true
2019-08-13 16:24:53 +00:00
selfHosted=true
2019-08-13 13:23:48 +00:00
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"
2024-09-10 06:37:56 +00:00
[Params.author]
2019-08-13 13:23:48 +00:00
name = "Dmitry Belyaev"
website = "https://b4tman.ru"
2021-10-05 18:40:16 +00:00
email = "mail@b4tman.ru"
2019-08-13 13:23:48 +00:00
github = "b4tman"
gitlab = "b4tman"
2024-02-17 20:52:26 +00:00
mastodon = "social.v.b4tman.ru/@b4tman"
2019-08-13 16:45:52 +00:00
# bitbucket = "b4tman"
2019-08-13 13:23:48 +00:00
vk = "0xffff"
2024-10-10 19:56:32 +00:00
boosty="0xffff"
2019-08-13 13:23:48 +00:00
[[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
2019-08-14 06:57:22 +00:00
#[[menu.main]]
# name = "обо мне"
# url = "page/about/"
# weight = 3
2019-08-13 13:23:48 +00:00
2019-08-14 06:57:22 +00:00
#[[menu.main]]
# name = "теги"
# url = "tags"
# weight = 3
2024-10-07 17:13:19 +00:00
[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 = ['.*']