website/hugo.yaml

183 lines
3.9 KiB
YAML

baseURL: https://bebrashield.net/
title: Bebrashield
theme: hextra
enableRobotsTXT: true
# enableGitInfo: true
hasCJKLanguage: true
# services:
# googleAnalytics:
# ID: G-MEASUREMENT_ID
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
defaultContentLanguage: uk
defaultContentLanguageInSubdir: true
languages:
uk:
languageName: 🇺🇦 Українська
languageCode: uk
weight: 10
title: Бебрашилд
menu:
main:
- identifier: docs
name: Головна
pageRef: /docs/info
weight: 10
- identifier: blog
name: Новини
pageRef: /blog
weight: 20
- name: Пошук
weight: 50
params:
type: search
- name: Discord
weight: 60
url: "https://discord.gg/xsyy7d8RfG"
params:
icon: discord
- name: Telegram
weight: 61
url: "https://t.me/+h28WP38F2_RjZjg6"
params:
icon: telegram
# sidebar:
# - identifier: more
# name: More
# params:
# type: separator
# weight: 1
# - identifier: about
# name: "About"
# pageRef: "/about"
# weight: 2
# - identifier: hugoDocs
# name: "Hugo Docs ↗"
# url: "https://gohugo.io/documentation/"
# weight: 3
ru:
languageName: 🇷🇺 Русский
languageCode: ru
weight: 20
title: Бебрашилд
menu:
main:
- identifier: docs
name: Главная
pageRef: /docs/info
weight: 10
- identifier: blog
name: Новости
pageRef: /blog
weight: 20
- name: Поиск
weight: 50
params:
type: search
markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true
extensions:
passthrough:
delimiters:
block: [['\[', '\]'], ['$$', '$$']]
inline: [['\(', '\)']]
enable: true
enableInlineShortcodes: true
params:
# description: Modern, responsive, batteries-included Hugo theme for creating beautiful static websites.
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo-128x128.svg
dark: images/logo-128x128.svg
width: 30
height: 15
width: wide
page:
# full (100%), wide (90rem), normal (1280px)
width: wide
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: true
displayCopyright: false
displayPoweredBy: false
width: wide
# Display the last modification date
displayUpdatedDate: true
dateFormat: "02-01-2006"
# Search
# flexsearch is enabled by default
search:
enable: true
type: flexsearch
flexsearch:
# index page by: content | summary | heading | title
index: content
# full | forward | reverse | strict
# https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search
tokenize: forward
# editURL:
# enable: false
# base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"
blog:
list:
displayTags: false
# date | lastmod | publishDate | title | weight
sortBy: date
sortOrder: desc # or "asc"
article:
displayPagination: true
highlight:
copy:
enable: true
# hover | always
display: hover
# comments:
# enable: false
# type: giscus
#
# # https://giscus.app/
# giscus:
# repo: imfing/hextra
# repoId: R_kgDOJ9fJag
# category: General
# categoryId: DIC_kwDOJ9fJas4CY7gW
# # mapping: pathname
# # strict: 0
# # reactionsEnabled: 1
# # emitMetadata: 0
# # inputPosition: top
# # lang: en
# # theme: noborder_dark