2023-08-12 16:45:00 +01:00
|
|
|
# Configuration
|
|
|
|
baseURL: "https://example.com/"
|
|
|
|
title: "Hextra"
|
|
|
|
|
|
|
|
enableRobotsTXT: true
|
2025-01-23 21:58:03 +01:00
|
|
|
# Parse Git commit
|
2023-08-12 16:45:00 +01:00
|
|
|
enableGitInfo: true
|
2023-08-23 01:00:36 +01:00
|
|
|
# enableEmoji: false
|
2023-08-30 16:35:04 -04:00
|
|
|
hasCJKLanguage: true
|
2023-08-12 16:45:00 +01:00
|
|
|
|
2023-10-30 19:48:48 -04:00
|
|
|
# services:
|
|
|
|
# googleAnalytics:
|
|
|
|
# ID: G-MEASUREMENT_ID
|
2023-09-21 08:03:35 +01:00
|
|
|
|
2023-08-12 16:45:00 +01:00
|
|
|
outputs:
|
|
|
|
home: [HTML]
|
|
|
|
page: [HTML]
|
|
|
|
section: [HTML, RSS]
|
|
|
|
|
|
|
|
defaultContentLanguage: en
|
|
|
|
languages:
|
|
|
|
en:
|
|
|
|
languageName: English
|
|
|
|
weight: 1
|
|
|
|
title: Hextra
|
2024-02-20 01:10:50 +03:30
|
|
|
fa:
|
|
|
|
languageName: فارسی
|
|
|
|
languageCode: fa
|
|
|
|
languageDirection: rtl
|
2024-12-31 01:01:56 +00:00
|
|
|
weight: 2
|
2024-02-20 01:10:50 +03:30
|
|
|
title: هگزترا
|
2024-12-31 01:01:56 +00:00
|
|
|
ja:
|
|
|
|
languageName: 日本語
|
|
|
|
languageCode: ja
|
|
|
|
weight: 3
|
|
|
|
title: Hextra
|
|
|
|
zh-cn:
|
|
|
|
languageName: 简体中文
|
|
|
|
languageCode: zh-CN
|
|
|
|
weight: 4
|
|
|
|
title: Hextra
|
2023-08-12 16:45:00 +01:00
|
|
|
|
|
|
|
module:
|
|
|
|
hugoVersion:
|
|
|
|
extended: true
|
2025-02-26 23:33:11 +00:00
|
|
|
min: "0.134.0"
|
2023-08-12 16:45:00 +01:00
|
|
|
|
|
|
|
workspace: hugo.work
|
|
|
|
imports:
|
2024-03-01 23:40:55 +00:00
|
|
|
- path: github.com/imfing/hextra
|
2023-08-12 16:45:00 +01:00
|
|
|
|
|
|
|
markup:
|
2024-12-30 23:13:23 +00:00
|
|
|
highlight:
|
|
|
|
noClasses: false
|
2023-08-12 16:45:00 +01:00
|
|
|
goldmark:
|
|
|
|
renderer:
|
|
|
|
unsafe: true
|
2024-12-30 23:13:23 +00:00
|
|
|
extensions:
|
|
|
|
passthrough:
|
|
|
|
delimiters:
|
|
|
|
block: [['\[', '\]'], ['$$', '$$']]
|
|
|
|
inline: [['\(', '\)']]
|
|
|
|
enable: true
|
2023-08-12 16:45:00 +01:00
|
|
|
|
2023-08-18 00:16:49 +01:00
|
|
|
enableInlineShortcodes: true
|
|
|
|
|
2023-08-12 16:45:00 +01:00
|
|
|
menu:
|
|
|
|
main:
|
2023-08-21 01:00:52 +01:00
|
|
|
- identifier: documentation
|
|
|
|
name: Documentation
|
2023-08-12 16:45:00 +01:00
|
|
|
pageRef: /docs
|
|
|
|
weight: 1
|
2023-09-24 15:30:17 +01:00
|
|
|
- identifier: showcase
|
|
|
|
name: Showcase
|
|
|
|
pageRef: /showcase
|
|
|
|
weight: 2
|
2023-08-21 01:00:52 +01:00
|
|
|
- identifier: blog
|
|
|
|
name: Blog
|
2023-08-12 16:45:00 +01:00
|
|
|
pageRef: /blog
|
2023-09-24 15:30:17 +01:00
|
|
|
weight: 3
|
2023-08-21 01:00:52 +01:00
|
|
|
- identifier: about
|
|
|
|
name: About
|
2023-08-12 16:45:00 +01:00
|
|
|
pageRef: /about
|
|
|
|
weight: 4
|
2023-09-24 15:30:17 +01:00
|
|
|
- name: Search
|
|
|
|
weight: 5
|
2023-08-12 16:45:00 +01:00
|
|
|
params:
|
|
|
|
type: search
|
|
|
|
- name: GitHub
|
2023-09-24 15:30:17 +01:00
|
|
|
weight: 6
|
2023-08-12 16:45:00 +01:00
|
|
|
url: "https://github.com/imfing/hextra"
|
|
|
|
params:
|
|
|
|
icon: github
|
|
|
|
|
|
|
|
sidebar:
|
2023-08-27 23:44:43 +01:00
|
|
|
- identifier: more
|
|
|
|
name: More
|
2023-08-12 16:45:00 +01:00
|
|
|
params:
|
|
|
|
type: separator
|
|
|
|
weight: 1
|
2023-08-27 23:44:43 +01:00
|
|
|
- identifier: about
|
|
|
|
name: "About"
|
2023-08-17 23:54:17 +01:00
|
|
|
pageRef: "/about"
|
|
|
|
weight: 2
|
2023-08-27 23:44:43 +01:00
|
|
|
- identifier: hugoDocs
|
|
|
|
name: "Hugo Docs ↗"
|
2023-08-12 16:45:00 +01:00
|
|
|
url: "https://gohugo.io/documentation/"
|
2023-08-17 23:54:17 +01:00
|
|
|
weight: 3
|
2023-08-12 16:45:00 +01:00
|
|
|
|
|
|
|
params:
|
2023-08-27 23:44:43 +01:00
|
|
|
description: Modern, responsive, batteries-included Hugo theme for creating beautiful static websites.
|
|
|
|
|
2023-08-20 20:34:01 +01:00
|
|
|
navbar:
|
|
|
|
displayTitle: true
|
|
|
|
displayLogo: true
|
|
|
|
logo:
|
|
|
|
path: images/logo.svg
|
|
|
|
dark: images/logo-dark.svg
|
|
|
|
# width: 40
|
|
|
|
# height: 20
|
2023-09-20 23:36:00 +01:00
|
|
|
# link: /
|
|
|
|
width: wide
|
|
|
|
|
|
|
|
page:
|
|
|
|
# full (100%), wide (90rem), normal (1280px)
|
|
|
|
width: normal
|
2023-08-20 20:34:01 +01:00
|
|
|
|
2023-10-21 17:18:04 -04:00
|
|
|
theme:
|
|
|
|
# light | dark | system
|
|
|
|
default: system
|
|
|
|
displayToggle: true
|
|
|
|
|
2023-08-14 21:56:26 +01:00
|
|
|
footer:
|
2023-10-29 11:19:31 -04:00
|
|
|
enable: true
|
2023-08-14 21:56:26 +01:00
|
|
|
displayCopyright: true
|
|
|
|
displayPoweredBy: true
|
2023-09-20 23:36:00 +01:00
|
|
|
width: normal
|
2023-08-14 21:56:26 +01:00
|
|
|
|
2025-01-23 21:58:03 +01:00
|
|
|
# Display the last modification date
|
2023-08-12 16:45:00 +01:00
|
|
|
displayUpdatedDate: true
|
|
|
|
dateFormat: "January 2, 2006"
|
2023-08-12 19:53:14 +01:00
|
|
|
|
2023-10-21 16:00:39 -04:00
|
|
|
# Search
|
|
|
|
# flexsearch is enabled by default
|
2023-08-12 19:53:14 +01:00
|
|
|
search:
|
2023-08-23 01:00:36 +01:00
|
|
|
enable: true
|
2023-10-21 16:00:39 -04:00
|
|
|
type: flexsearch
|
|
|
|
|
|
|
|
flexsearch:
|
|
|
|
# index page by: content | summary | heading | title
|
|
|
|
index: content
|
2024-04-02 09:52:26 +02:00
|
|
|
# full | forward | reverse | strict
|
2024-03-18 02:50:22 +08:00
|
|
|
# https://github.com/nextapps-de/flexsearch/#tokenizer-prefix-search
|
|
|
|
tokenize: forward
|
2023-08-12 22:48:41 +01:00
|
|
|
|
2023-08-12 19:53:14 +01:00
|
|
|
editURL:
|
2023-08-23 01:00:36 +01:00
|
|
|
enable: true
|
2023-08-20 20:34:01 +01:00
|
|
|
base: "https://github.com/imfing/hextra/edit/main/exampleSite/content"
|
2023-09-26 22:12:38 +01:00
|
|
|
|
2023-10-28 10:56:58 -04:00
|
|
|
blog:
|
|
|
|
list:
|
|
|
|
displayTags: true
|
2024-04-02 09:52:26 +02:00
|
|
|
# date | lastmod | publishDate | title | weight
|
|
|
|
sortBy: date
|
|
|
|
sortOrder: desc # or "asc"
|
2025-02-26 23:13:43 +00:00
|
|
|
|
|
|
|
article:
|
|
|
|
displayPagination: true
|
2023-10-28 10:56:58 -04:00
|
|
|
|
2024-07-07 14:33:12 +02:00
|
|
|
highlight:
|
|
|
|
copy:
|
|
|
|
enable: true
|
|
|
|
# hover | always
|
|
|
|
display: hover
|
|
|
|
|
2023-09-26 23:33:27 +01:00
|
|
|
comments:
|
2023-09-26 22:12:38 +01:00
|
|
|
enable: false
|
|
|
|
type: giscus
|
|
|
|
|
|
|
|
# https://giscus.app/
|
|
|
|
giscus:
|
2023-09-26 23:33:27 +01:00
|
|
|
repo: imfing/hextra
|
|
|
|
repoId: R_kgDOJ9fJag
|
|
|
|
category: General
|
|
|
|
categoryId: DIC_kwDOJ9fJas4CY7gW
|
|
|
|
# mapping: pathname
|
2023-09-26 22:12:38 +01:00
|
|
|
# strict: 0
|
|
|
|
# reactionsEnabled: 1
|
|
|
|
# emitMetadata: 0
|
2023-09-26 23:33:27 +01:00
|
|
|
# inputPosition: top
|
|
|
|
# lang: en
|
2024-12-26 21:29:21 +09:00
|
|
|
# theme: noborder_dark
|