hugo-theme-stack/exampleSite/hugo.yaml
2024-10-30 20:40:51 +03:00

257 lines
6.2 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

baseurl: https://buliway.ru
languageCode: ru-RU
# languageCode: en-us
theme: hugo-theme-stack
paginate: 10
title: Buliway
copyright: Buliway
# Theme i18n support
# Available values: ar, bn, ca, de, el, en, es, fr, hu, id, it, ja, ko, nl, pt-br, th, uk, zh-cn, zh-hk, zh-tw
DefaultContentLanguage: ru
# Set hasCJKLanguage to true if DefaultContentLanguage is in [zh-cn ja ko]
# This will make .Summary and .WordCount behave correctly for CJK languages.
hasCJKLanguage: false
languages:
ru:
languageName: Russian
weight: 1
timeZone: Europe/Moscow
params:
description: Блог о программировании, Linux, эргономике и ЗОЖ # Это описание сайта, а не языка
sidebar:
subtitle: Люблю программирование, Linux, эргономику и ЗОЖ.
en:
languageName: English
weight: 2
params:
description: Blog about programming, Linux, ergonomics and healthy lifestyle
sidebar:
subtitle: I love programming, Linux, ergonomics and healthy lifestyle.
permalinks:
post: /p/:slug/
page: /:slug/
params:
mainSections:
- post
featuredImageField: image
rssFullContent: true
favicon: # Это иконка сайта. Сначала создаём `static/favicon.ico`, потом пишем в это поле `/favicon.ico` (/ обязателен)
footer:
since: 2024
customText:
sidebar:
# emoji: 🍥
# subtitle: Текст под сайтом
avatar:
enabled: true
local: true
src: img/avatar.png
article:
math: false
toc: true
readingTime: true
license:
enabled: true
default: Licensed under CC BY-NC-SA 4.0
comments:
enabled: false
provider: remark42
disqusjs:
shortname:
apiUrl:
apiKey:
admin:
adminLabel:
utterances:
repo:
issueTerm: pathname
label:
beaudar:
repo:
issueTerm: pathname
label:
theme:
remark42:
host:
site:
locale:
vssue:
platform:
owner:
repo:
clientId:
clientSecret:
autoCreateIssue: false
# Waline client configuration see: https://waline.js.org/en/reference/component.html
waline:
serverURL:
lang:
pageview:
emoji:
- https://unpkg.com/@waline/emojis@1.0.1/weibo
requiredMeta:
- name
- email
- url
locale:
admin: Admin
placeholder:
twikoo:
envId:
region:
path:
lang:
# See https://cactus.chat/docs/reference/web-client/#configuration for description of the various options
cactus:
defaultHomeserverUrl: "https://matrix.cactus.chat:8448"
serverName: "cactus.chat"
siteName: "" # You must insert a unique identifier here matching the one you registered (See https://cactus.chat/docs/getting-started/quick-start/#register-your-site)
giscus:
repo:
repoID:
category:
categoryID:
mapping:
lightTheme:
darkTheme:
reactionsEnabled: 1
emitMetadata: 0
gitalk:
owner:
admin:
repo:
clientID:
clientSecret:
cusdis:
host:
id:
widgets:
homepage:
- type: search
- type: categories
params:
limit: 10
- type: tag-cloud
params:
limit: 20
- type: archives
params:
limit: 5
page:
- type: toc
opengraph:
twitter:
# Your Twitter username
site:
# Available values: summary, summary_large_image
card: summary_large_image
defaultImage:
opengraph:
enabled: false
local: false
src:
colorScheme:
# Display toggle
toggle: true
# Available values: auto, light, dark
default: dark
imageProcessing:
cover:
enabled: true
content:
enabled: true
### Custom menu
### See https://stack.jimmycai.com/config/menu
### To remove about, archive and search page menu item, remove `menu` field from their FrontMatter
menu:
main: []
social:
- identifier: github
name: GitHub
url: https://github.com/Buliway/
params:
icon: brand-github
- identifier: discord
name: Discord
url: https://discord.gg/MwKdpYujYh
params:
icon: brand-discord
- identifier: telegram
name: Telegram
url: https://t.me/+q6STihSO6XQ4Mzhi
params:
icon: brand-telegram
- identifier: email
name: Email
url: mailto:example@example.com
params:
icon: mail
# - identifier: youtube
# name: YouTube
# url: https://www.youtube.com/channel/UCR49QW1nWAAQ27CzOV8a3tw
# params:
# icon: brand-youtube
related:
includeNewer: true
threshold: 60
toLower: false
indices:
- name: tags
weight: 100
- name: categories
weight: 200
markup:
goldmark:
renderer:
## Set to true if you have HTML content inside Markdown
unsafe: true
tableOfContents:
endLevel: 4
ordered: true
startLevel: 2
highlight:
noClasses: false
codeFences: true
guessSyntax: true
lineNoStart: 1
lineNos: true
lineNumbersInTable: true
tabWidth: 4
#enableGitInfo: true