docs/hugo.yaml
2025-01-20 17:21:17 +01:00

127 lines
2.2 KiB
YAML

# Configuration
baseURL: "https://example.com/"
title: "Forkey Docs"
enableRobotsTXT: true
enableGitInfo: true
enableEmoji: true
hasCJKLanguage: true
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
defaultContentLanguage: en
languages:
en:
languageName: English
weight: 1
title: Forkey
module:
imports:
- path: github.com/imfing/hextra
markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true
extensions:
passthrough:
delimiters:
block: [['\[', '\]'], ['$$', '$$']]
inline: [['\(', '\)']]
enable: true
enableInlineShortcodes: true
menu:
main:
- identifier: documentation
name: Documentation
pageRef: /docs
weight: 1
- identifier: blog
name: Blog
pageRef: /blog
weight: 3
- identifier: about
name: About
pageRef: /about
weight: 4
- name: Search
weight: 5
params:
type: search
- name: Forgejo
weight: 6
url: "https://git.woem.men/woem.men/docs"
params:
icon: forgejo
sidebar:
- identifier: more
name: More
params:
type: separator
weight: 1
- identifier: about
name: "About"
pageRef: "/about"
weight: 2
- identifier: hugoDocs
name: "Misskey Docs ↗"
url: "https://misskey-hub.net/en/docs/"
weight: 3
params:
description: The forkey documentation site
navbar:
displayTitle: true
displayLogo: true
logo:
path: favicon.svg
dark: favicon.svg
# width: 40
# height: 20
# link: /
width: wide
page:
# full (100%), wide (90rem), normal (1280px)
width: normal
theme:
# light | dark | system
default: system
displayToggle: true
footer:
enable: true
displayCopyright: true
displayPoweredBy: true
width: normal
displayUpdatedDate: true
dateFormat: "January 2, 2006"
editURL:
enable: true
base: "https://git.woem.men/woem.men/docs"
blog:
list:
displayTags: true
# date | lastmod | publishDate | title | weight
sortBy: date
sortOrder: desc # or "asc"
highlight:
copy:
enable: true
# hover | always
display: hover