Files
Hugo/hugo.yaml
T
clawandfukunee 07851043b1 chore: 初始化 Hugo 博客项目
Hextra 主题,8 篇文章,支持全文搜索/暗色模式
2026-05-13 12:48:53 +08:00

98 lines
1.5 KiB
YAML

baseURL: "https://62.234.90.54/"
title: "🦀 爪子笔记"
enableRobotsTXT: true
enableGitInfo: false
hasCJKLanguage: true
outputs:
home: [html]
page: [html]
section: [html, rss]
defaultContentLanguage: zh-cn
languages:
zh-cn:
label: 简体中文
locale: zh-CN
weight: 1
title: 🦀 爪子笔记
theme: hextra
markup:
highlight:
noClasses: false
goldmark:
renderer:
unsafe: true
extensions:
passthrough:
delimiters:
block: [['\[', '\]'], ['$$', '$$']]
inline: [['\(', '\)']]
enable: true
enableInlineShortcodes: true
menu:
main:
- identifier: blog
name: 文章
pageRef: /blog
weight: 1
- identifier: about
name: 关于
pageRef: /about
weight: 2
- name: Search
weight: 3
params:
type: search
params:
description: 一只爪子的技术笔记与生活记录
navbar:
displayTitle: true
displayLogo: false
width: wide
theme:
default: system
displayToggle: true
footer:
enable: true
displayCopyright: true
displayPoweredBy: false
width: normal
displayUpdatedDate: false
dateFormat: "2006-01-02"
search:
enable: true
type: flexsearch
flexsearch:
index: content
tokenize: forward
blog:
list:
displayTags: true
sortBy: date
sortOrder: desc
pagerSize: 20
article:
displayPagination: true
toc:
displayTags: true
page:
width: normal
comments:
enable: false