179 lines
3.2 KiB
YAML
179 lines
3.2 KiB
YAML
baseURL: "https://fukun.net/"
|
|
title: "FuKun.Net"
|
|
|
|
enableRobotsTXT: true
|
|
enableGitInfo: false
|
|
hasCJKLanguage: true
|
|
buildFuture: true
|
|
|
|
outputs:
|
|
home: [html]
|
|
page: [html]
|
|
section: [html, rss]
|
|
|
|
defaultContentLanguage: zh-cn
|
|
languages:
|
|
zh-cn:
|
|
label: 简体中文
|
|
locale: zh-CN
|
|
weight: 1
|
|
title: FuKun.Net
|
|
|
|
theme: hextra
|
|
|
|
markup:
|
|
highlight:
|
|
noClasses: false
|
|
goldmark:
|
|
renderer:
|
|
unsafe: true
|
|
extensions:
|
|
passthrough:
|
|
delimiters:
|
|
block: [['\[', '\]'], ["$$", "$$"]]
|
|
inline: [['\(', '\)']]
|
|
enable: true
|
|
|
|
enableInlineShortcodes: true
|
|
|
|
menu:
|
|
main:
|
|
- identifier: gallery
|
|
name: 相册
|
|
url: "https://gallery.fukun.net/share/mqmmlr4m"
|
|
weight: -1
|
|
- identifier: blog
|
|
name: 文章
|
|
pageRef: /blog
|
|
weight: 1
|
|
- identifier: about
|
|
name: 关于
|
|
pageRef: /about
|
|
weight: 2
|
|
- name: Search
|
|
weight: 3
|
|
params:
|
|
type: search
|
|
|
|
params:
|
|
# SEO
|
|
description: FuKun.Net — Tech notes & life
|
|
images:
|
|
- /images/logo.svg
|
|
|
|
# Favicon 由 Hextra 硬编码路径 static/favicon.svg
|
|
|
|
# 导航栏
|
|
navbar:
|
|
displayTitle: false
|
|
displayLogo: true
|
|
width: normal
|
|
logo:
|
|
path: /images/logo.svg
|
|
dark: /images/logo-dark.svg
|
|
link: /
|
|
width: 40
|
|
height: 40
|
|
|
|
# 主题
|
|
theme:
|
|
default: dark
|
|
displayToggle: true
|
|
|
|
# 页脚
|
|
footer:
|
|
enable: true
|
|
displayCopyright: true
|
|
displayPoweredBy: false
|
|
width: normal
|
|
icp: "粤ICP备2026061516号"
|
|
gongan: "粤公网安备44010602015963号"
|
|
columns:
|
|
- title: FuKun.Net
|
|
desc: |
|
|
晴耕雨读 心灯不夜
|
|
- title: 站点
|
|
links:
|
|
- name: 博客
|
|
url: /
|
|
- name: 相册
|
|
url: https://gallery.fukun.net/share/mqmmlr4m
|
|
- name: 密码管理
|
|
url: https://pwd.fukun.net
|
|
- name: Git 仓库
|
|
url: https://git.fukun.net
|
|
- title: 链接
|
|
links:
|
|
- name: GitHub
|
|
url: https://github.com/fukunee
|
|
- name: RSS
|
|
url: /blog/index.xml
|
|
|
|
# 日期
|
|
displayUpdatedDate: false
|
|
dateFormat: "2006-01-02"
|
|
|
|
# 搜索
|
|
search:
|
|
enable: true
|
|
type: flexsearch
|
|
flexsearch:
|
|
index: content
|
|
tokenize: forward
|
|
js: "js/flexsearch.bundle.min.js"
|
|
|
|
# 博客
|
|
blog:
|
|
list:
|
|
displayTags: false
|
|
sortBy: date
|
|
sortOrder: desc
|
|
pagerSize: 10
|
|
displayDate: true
|
|
displaySummary: true
|
|
article:
|
|
displayPagination: true
|
|
displayReadMore: true
|
|
|
|
# 目录
|
|
toc:
|
|
displayTags: false
|
|
|
|
# 页面
|
|
page:
|
|
width: normal
|
|
|
|
# 评论 (关闭)
|
|
comments:
|
|
enable: false
|
|
# type: giscus
|
|
# giscus:
|
|
# repo: your/repo
|
|
# repoId: xxx
|
|
# category: General
|
|
# categoryId: xxx
|
|
|
|
# RSS 定制
|
|
rss:
|
|
limit: 20
|
|
|
|
# 代码高亮增强
|
|
highlight:
|
|
copy:
|
|
enable: true
|
|
lineNumbers: false
|
|
|
|
# Mermaid 流程图(本地加载,避免 CDN 连接问题)
|
|
mermaid:
|
|
base: "https://unpkg.com/mermaid@11.4.1/dist"
|
|
lightTheme: neutral
|
|
darkTheme: dark
|
|
|
|
# Open Graph / SEO 增强
|
|
opengraph:
|
|
enable: true
|
|
|
|
# Schema.org 结构化数据
|
|
schema:
|
|
enable: true
|