hextra/exampleSite/hugo.yaml
Xin 04a5c7378a feat: add rss template
feat: enhance sidebar on mobile
chore: simplify settings by having defaults
chore: update footer template
2023-08-23 01:00:36 +01:00

104 lines
1.7 KiB
YAML

# Configuration
baseURL: "https://example.com/"
title: "Hextra"
enableRobotsTXT: true
enableGitInfo: true
# enableEmoji: false
# hasCJKLanguage: true
outputs:
home: [HTML]
page: [HTML]
section: [HTML, RSS]
defaultContentLanguage: en
languages:
en:
languageName: English
weight: 1
title: Hextra
ja:
languageName: 日本語
weight: 2
title: "Hextra テーマ"
module:
hugoVersion:
extended: true
min: "0.111.0"
workspace: hugo.work
imports:
path: github.com/imfing/hextra
markup:
goldmark:
renderer:
unsafe: true
highlight:
noClasses: false
enableInlineShortcodes: true
menu:
main:
- identifier: documentation
name: Documentation
pageRef: /docs
weight: 1
- identifier: blog
name: Blog
pageRef: /blog
weight: 2
- identifier: about
name: About
pageRef: /about
weight: 3
- name: Search
weight: 4
params:
type: search
- name: GitHub
weight: 5
url: "https://github.com/imfing/hextra"
params:
icon: github
sidebar:
- name: More
params:
type: separator
weight: 1
- name: "About"
pageRef: "/about"
weight: 2
- name: "Hugo Docs ↗"
url: "https://gohugo.io/documentation/"
weight: 3
params:
navbar:
displayTitle: true
displayLogo: true
logo:
path: images/logo.svg
dark: images/logo-dark.svg
# link: /
# width: 40
# height: 20
footer:
displayCopyright: true
displayPoweredBy: true
displayUpdatedDate: true
dateFormat: "January 2, 2006"
search:
enable: true
editURL:
enable: true
base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"