2022-06-09 21:55:00 +08:00
|
|
|
|
# ===============================================================
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 根据如下的配置说明完善自己的站点配置,建议另外拷贝进行调整避免冲突
|
|
|
|
|
# Improve your site configuration according to the following
|
|
|
|
|
# configuration instructions. It is recommended to make
|
|
|
|
|
# additional copies for adjustment to avoid conflicts
|
2022-06-09 21:55:00 +08:00
|
|
|
|
# ===============================================================
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Hugo 引擎的基础配置
|
|
|
|
|
# Basic configure for Hugo engine
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 站点域名,比如: https://hugo-next.eu.org
|
|
|
|
|
# Website domain, eg: https://hugo-next.eu.org
|
|
|
|
|
baseURL: /
|
|
|
|
|
# 站点标题
|
|
|
|
|
# Website title
|
|
|
|
|
title: Hugo NexT
|
|
|
|
|
# 主题名称
|
|
|
|
|
# Theme name
|
2022-05-21 17:47:26 +08:00
|
|
|
|
theme: hugo-theme-next
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 站点默认的语言和代码
|
|
|
|
|
# Default laguage & code for website
|
|
|
|
|
defaultContentLanguage: zh-cn
|
|
|
|
|
languageCode: zh-CN
|
2025-01-25 11:15:11 +08:00
|
|
|
|
# 多语言配置
|
|
|
|
|
# Multi-language settings
|
2025-01-26 09:32:47 +08:00
|
|
|
|
languages:
|
|
|
|
|
zh-cn:
|
|
|
|
|
languageCode: zh-CN
|
|
|
|
|
languageDirection: ltr
|
|
|
|
|
languageName: "简体中文"
|
|
|
|
|
weight: 1
|
|
|
|
|
en-us:
|
|
|
|
|
languageCode: en-US
|
|
|
|
|
languageDirection: ltr
|
|
|
|
|
languageName: English
|
|
|
|
|
weight: 2
|
|
|
|
|
menus:
|
|
|
|
|
main:
|
|
|
|
|
- identifier: home
|
|
|
|
|
name: Home
|
|
|
|
|
pageref: /
|
|
|
|
|
pre: home
|
|
|
|
|
weight: 1
|
|
|
|
|
- identifier: about
|
|
|
|
|
name: About
|
|
|
|
|
pageref: /about.html
|
|
|
|
|
pre: user
|
|
|
|
|
weight: 2
|
|
|
|
|
- identifier: flinks
|
|
|
|
|
name: Friend's Links
|
|
|
|
|
pageref: /flinks.html
|
|
|
|
|
pre: thumbs-up
|
|
|
|
|
weight: 3
|
|
|
|
|
- identifier: example
|
|
|
|
|
name: Example
|
|
|
|
|
pre: angles-down
|
|
|
|
|
weight: 4
|
|
|
|
|
- identifier: flow-charts
|
|
|
|
|
name: Flow Charts
|
|
|
|
|
pageref: /post/mermaid-charts.html
|
|
|
|
|
weight: 1
|
|
|
|
|
parent: example
|
|
|
|
|
- identifier: math
|
|
|
|
|
name: Math Formula
|
|
|
|
|
pageref: /post/math-formula.html
|
|
|
|
|
weight: 2
|
|
|
|
|
parent: example
|
|
|
|
|
parent: example
|
|
|
|
|
- identifier: syntax
|
|
|
|
|
name: Syntax Highlighting
|
|
|
|
|
pageref: /post/syntax-highlighting.html
|
|
|
|
|
weight: 3
|
|
|
|
|
parent: example
|
|
|
|
|
- identifier: archives
|
|
|
|
|
name: Archives
|
|
|
|
|
pageref: /archives
|
|
|
|
|
pre: archive
|
|
|
|
|
weight: 5
|
|
|
|
|
- identifier: commonweal
|
|
|
|
|
name: Commonweal404
|
|
|
|
|
url: /404.html
|
|
|
|
|
pre: heartbeat
|
|
|
|
|
weight: 6
|
|
|
|
|
params:
|
|
|
|
|
yearFormat: "2006"
|
|
|
|
|
monthFormat: "01/02"
|
|
|
|
|
dateFormat: "2006/01/02"
|
|
|
|
|
timeFormat: "2006/01/02 15:04:05 -07:00"
|
|
|
|
|
|
|
|
|
|
author: NexT Theme
|
|
|
|
|
subtitle: Build for Hugo Theme
|
|
|
|
|
description: Keep it simple, keep it powerful.
|
|
|
|
|
keywords: Hugo,NexT,theme,simple,powerful
|
|
|
|
|
|
|
|
|
|
linksSets:
|
|
|
|
|
title: Links
|
|
|
|
|
|
|
|
|
|
footer:
|
|
|
|
|
beian:
|
|
|
|
|
enable: false
|
|
|
|
|
|
|
|
|
|
postFooter:
|
|
|
|
|
endLineTip: "~ End Line ~"
|
2025-01-29 21:29:33 +08:00
|
|
|
|
|
|
|
|
|
rewardSets:
|
|
|
|
|
comment: '<i class="fa-solid fa-mug-hot"></i> How about you buy me a coffee?ヾ(^▽^*)))'
|
2025-01-26 09:32:47 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否包含中文,日语,韩文
|
|
|
|
|
# Whether contains Chinese, Japanese and Korean
|
|
|
|
|
hasCJKLanguage: true
|
|
|
|
|
# 每页显示文章数量
|
|
|
|
|
# Display items per page
|
2024-12-08 17:01:27 +08:00
|
|
|
|
pagination:
|
|
|
|
|
pagerSize: 10
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启支持表情符号
|
|
|
|
|
# Enable Emoji support
|
2022-06-08 14:51:30 +08:00
|
|
|
|
enableEmoji: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 让 Makedown 文档支持 HTML 语法,高亮,文章目录等功能
|
|
|
|
|
# Make markdown content support HTML syntax, highlight, toc etc.
|
2022-06-03 22:37:33 +08:00
|
|
|
|
markup:
|
|
|
|
|
goldmark:
|
|
|
|
|
renderer:
|
|
|
|
|
unsafe: true
|
2025-01-21 20:44:34 +08:00
|
|
|
|
# 高亮代码的样式
|
|
|
|
|
# Highlight style of code
|
2022-06-09 22:05:13 +08:00
|
|
|
|
highlight:
|
2022-09-12 16:43:24 +08:00
|
|
|
|
anchorLineNos: true
|
2022-06-09 22:05:13 +08:00
|
|
|
|
codeFences: true
|
2022-09-12 16:43:24 +08:00
|
|
|
|
guessSyntax: true
|
2025-01-21 20:44:34 +08:00
|
|
|
|
lineNos: true
|
|
|
|
|
lineNumbersInTable: true
|
|
|
|
|
noClasses: false
|
2022-10-01 22:06:47 +08:00
|
|
|
|
tableOfContents:
|
|
|
|
|
# 开始/结束标题级别:1-6 (建议从2开始)
|
|
|
|
|
# Heading title level of start or end: 1-6
|
|
|
|
|
# Recommand start at 2
|
|
|
|
|
startLevel: 2
|
|
|
|
|
endLevel: 4
|
2022-05-22 19:40:41 +08:00
|
|
|
|
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 站点文章导航文件
|
|
|
|
|
# Site map of all articles
|
|
|
|
|
sitemap:
|
|
|
|
|
filename: "sitemap.xml"
|
|
|
|
|
changefreq: "weekly"
|
|
|
|
|
priority: 0.5
|
|
|
|
|
|
|
|
|
|
outputFormats:
|
|
|
|
|
RSS:
|
|
|
|
|
baseName: "rss"
|
|
|
|
|
# 自定义生成本地搜索文件
|
|
|
|
|
# Custom file of indexes for local search
|
2022-08-06 16:15:15 +08:00
|
|
|
|
LocalIndexes:
|
2022-08-01 17:14:22 +08:00
|
|
|
|
mediaType: application/xml
|
|
|
|
|
baseName: searchindexes
|
|
|
|
|
isPlainText: true
|
|
|
|
|
notAlternative: true
|
|
|
|
|
# 生成 Algolia 索引文件
|
|
|
|
|
# Build indexes of Aloglia
|
|
|
|
|
AlgoliaIndexes:
|
|
|
|
|
mediaType: application/json
|
|
|
|
|
baseName: algolia
|
2022-07-31 11:02:55 +08:00
|
|
|
|
isPlainText: true
|
|
|
|
|
notAlternative: true
|
|
|
|
|
|
2022-08-13 14:32:56 +08:00
|
|
|
|
# 默认使用本地搜索,如切换到 Algolia 搜索引擎,
|
|
|
|
|
# 请将下面的 LocalIndexes 替换成 AlgoliaIndexes
|
|
|
|
|
# By default use local search, before switch to Algolia engine
|
|
|
|
|
# Please replace LocalIndexes with AlgoliaIndexes
|
2022-07-31 11:02:55 +08:00
|
|
|
|
outputs:
|
2022-08-06 16:15:15 +08:00
|
|
|
|
home: ["HTML", "RSS", "LocalIndexes"]
|
2022-07-31 11:02:55 +08:00
|
|
|
|
|
2022-08-13 16:27:15 +08:00
|
|
|
|
# 输出 robots 文件支持爬虫扫描
|
|
|
|
|
# Enable robots with support crawler scan
|
2022-08-13 14:32:56 +08:00
|
|
|
|
enableRobotsTXT: true
|
|
|
|
|
|
2022-09-12 16:43:24 +08:00
|
|
|
|
# 强制输出时压缩文件
|
|
|
|
|
# Compress all files when output
|
|
|
|
|
minify:
|
2022-10-30 16:54:38 +08:00
|
|
|
|
minifyOutput: true
|
2022-09-12 16:43:24 +08:00
|
|
|
|
|
2022-05-25 15:44:10 +08:00
|
|
|
|
#--------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 菜单配置说明
|
|
|
|
|
# identifier : 唯一标识不可重复
|
|
|
|
|
# name : 菜单显示名称
|
|
|
|
|
# pageref : 本站点链接地址,与 URL 选其一
|
|
|
|
|
# url : 站点外部链接地址,以 http 或者 https 开头
|
|
|
|
|
# pre : 菜单小图标
|
|
|
|
|
# weight : 显示顺序,字数越小越靠前
|
|
|
|
|
#
|
2022-05-25 15:44:10 +08:00
|
|
|
|
# Menus Settings
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# identifier : Unique ID cannot be repeated
|
|
|
|
|
# name : Menu name
|
|
|
|
|
# pageref : Link of webiste and not appeare same time with url
|
|
|
|
|
# url : Exteneral link out of website and start with http or https
|
|
|
|
|
# pre : Icon of menu
|
|
|
|
|
# weight : Order number and smaller is top
|
2022-05-25 15:44:10 +08:00
|
|
|
|
# -------------------------------------
|
|
|
|
|
menus:
|
|
|
|
|
main:
|
|
|
|
|
- identifier: home
|
|
|
|
|
name: 首页
|
2022-06-24 19:12:08 +08:00
|
|
|
|
pageref: /
|
2022-05-25 15:44:10 +08:00
|
|
|
|
pre: home
|
|
|
|
|
weight: 1
|
|
|
|
|
- identifier: about
|
|
|
|
|
name: 关于
|
2022-06-24 19:12:08 +08:00
|
|
|
|
pageref: /about.html
|
2022-05-25 15:44:10 +08:00
|
|
|
|
pre: user
|
|
|
|
|
weight: 2
|
2022-08-06 16:15:15 +08:00
|
|
|
|
- identifier: flinks
|
2024-02-18 16:42:01 +08:00
|
|
|
|
name: 站点示例
|
2022-08-06 16:15:15 +08:00
|
|
|
|
pageref: /flinks.html
|
|
|
|
|
pre: thumbs-up
|
|
|
|
|
weight: 3
|
2022-05-25 15:44:10 +08:00
|
|
|
|
- identifier: archives
|
|
|
|
|
name: 归档
|
2022-07-26 22:18:43 +08:00
|
|
|
|
pageref: /archives
|
2022-05-25 15:44:10 +08:00
|
|
|
|
pre: archive
|
2024-02-18 16:42:01 +08:00
|
|
|
|
weight: 4
|
2022-05-25 15:44:10 +08:00
|
|
|
|
- identifier: commonweal
|
|
|
|
|
name: 公益 404
|
|
|
|
|
url: /404.html
|
|
|
|
|
pre: heartbeat
|
2024-02-18 16:42:01 +08:00
|
|
|
|
weight: 5
|
2022-05-25 15:44:10 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
#-----------------------------------------
|
|
|
|
|
# Hugo NexT 主题参数配置
|
|
|
|
|
# Configure Settings for Hugo NexT theme
|
|
|
|
|
#-----------------------------------------
|
2022-05-21 17:47:26 +08:00
|
|
|
|
params:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 需要显示文章的部分,即content目录下的文件夹名称
|
|
|
|
|
# Sections for show in home & archive page
|
|
|
|
|
# and it's forlder name which under content
|
2022-07-26 22:18:43 +08:00
|
|
|
|
mainSections: ["post"]
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 年,月,日及时间的格式化样式
|
|
|
|
|
# Format style for year,month,date & time
|
2022-06-07 18:16:40 +08:00
|
|
|
|
yearFormat: "2006"
|
|
|
|
|
monthFormat: "01-02"
|
2022-06-01 17:06:27 +08:00
|
|
|
|
dateFormat: "2006-01-02"
|
2024-11-30 20:38:49 +08:00
|
|
|
|
timeFormat: "2006-01-02 15:04:05 -07:00"
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 页面模式
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Schemes
|
2022-05-21 18:43:01 +08:00
|
|
|
|
#scheme: Muse
|
2022-05-21 17:47:26 +08:00
|
|
|
|
#scheme: Mist
|
|
|
|
|
#scheme: Pisces
|
2022-05-21 18:43:01 +08:00
|
|
|
|
scheme: Gemini
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启暗模式
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Dark Mode
|
2022-05-22 19:40:41 +08:00
|
|
|
|
darkmode: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 站点基本信息
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Site Information Settings
|
2022-05-22 19:40:41 +08:00
|
|
|
|
author: NexT 主题
|
|
|
|
|
subtitle: 为 Hugo 打造的主题
|
|
|
|
|
description: 保持简单的易用性和强大的功能。
|
2022-06-02 12:13:16 +08:00
|
|
|
|
keywords: Hugo,NexT,主题,简单,强大
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 不同尺寸站点图标
|
|
|
|
|
# Different size of favicon
|
2022-05-21 17:47:26 +08:00
|
|
|
|
favicon:
|
2022-05-22 19:40:41 +08:00
|
|
|
|
icon: /imgs/icons/favicon.ico
|
|
|
|
|
small: /imgs/icons/favicon_16x16_next.png
|
|
|
|
|
medium: /imgs/icons/favicon_32_32_next.png
|
|
|
|
|
appleTouchIcon: /imgs/icons/apple_touch_icon_next.png
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 自定义 Logo (目前只支持 Mist 页面模式)
|
2022-07-08 10:09:23 +08:00
|
|
|
|
# Custom Logo (Warning: Only support scheme Mist)
|
2022-05-24 23:14:02 +08:00
|
|
|
|
customLogo: #/imgs/hugo_next_logo.png
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-09-10 21:41:33 +08:00
|
|
|
|
# 用户自定义文件配置
|
|
|
|
|
# Define custom file paths.
|
2025-01-29 21:29:33 +08:00
|
|
|
|
customFilePath:
|
|
|
|
|
sidebar: custom_sidebar.html
|
|
|
|
|
footer: custom_footer.html
|
|
|
|
|
style: /css/custom_style.css
|
2022-09-10 21:41:33 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 知识共享国际许可 4.0
|
|
|
|
|
# 更多信息: https://creativecommons.org/about/cclicenses/
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Creative Commons 4.0 International License.
|
|
|
|
|
# See: https://creativecommons.org/about/cclicenses/
|
2022-05-21 21:48:27 +08:00
|
|
|
|
creativeCommons:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 可选配置: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | cc-zero
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Available values: by | by-nc | by-nc-nd | by-nc-sa | by-nd | by-sa | cc-zero
|
|
|
|
|
license: by-nc-sa
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 可选配置: big | small
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Available values: big | small
|
2022-05-27 16:25:56 +08:00
|
|
|
|
size: big
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏显示
|
|
|
|
|
# Show in sidebar
|
2022-05-27 16:25:56 +08:00
|
|
|
|
sidebar: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 文章底部显示
|
|
|
|
|
# Show in post footer
|
2022-06-03 22:37:33 +08:00
|
|
|
|
post: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# OG SEO 配置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Open graph settings
|
2022-05-22 19:40:41 +08:00
|
|
|
|
openGraph:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
enable: true
|
2022-05-31 21:50:35 +08:00
|
|
|
|
#twitter:
|
|
|
|
|
#creator: <twitter:creator>
|
|
|
|
|
#image: <twitter:image>
|
|
|
|
|
#site: <twitter:site>
|
|
|
|
|
#googlePlus: <g+:profile_link>
|
|
|
|
|
#facebook:
|
|
|
|
|
# admins: <fb:admin_id>
|
|
|
|
|
# app_id: <fb:app_id>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启菜单的图标及动画效果,数字徽章显示
|
|
|
|
|
# Enable / Disable menu icons & animation / item badges.
|
2022-05-21 21:48:27 +08:00
|
|
|
|
menuSets:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
icons: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
transition: true
|
2022-05-25 15:44:10 +08:00
|
|
|
|
badges: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Sidebar Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
sidebar:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏位置,可选: left | right
|
|
|
|
|
# Sidebar Position: left | right
|
2022-06-04 10:43:00 +08:00
|
|
|
|
position: left
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 自定义侧边栏的宽度,默认配置如下
|
|
|
|
|
# Muse | Mist: 320
|
|
|
|
|
# Pisces | Gemini: 240
|
|
|
|
|
#
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Manual define the sidebar width. If commented, will be default for:
|
|
|
|
|
# Muse | Mist: 320
|
|
|
|
|
# Pisces | Gemini: 240
|
2022-05-27 16:25:56 +08:00
|
|
|
|
width: 256
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏的显示方式,可选值:
|
|
|
|
|
# - post 默认在文章页面展开显示
|
|
|
|
|
# - always 在所有页面展开显示
|
|
|
|
|
# - hide 点击侧边栏按钮才显示
|
|
|
|
|
# - remove 完全不显示侧边栏
|
|
|
|
|
#
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Sidebar Display (only for Muse | Mist), available values:
|
|
|
|
|
# - post expand on posts automatically. Default.
|
|
|
|
|
# - always expand for all pages automatically.
|
|
|
|
|
# - hide expand only when click on the sidebar toggle icon.
|
|
|
|
|
# - remove totally remove sidebar including sidebar toggle.
|
|
|
|
|
display: post
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏内部填充像素大小
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Sidebar padding in pixels.
|
|
|
|
|
padding: 18
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏与顶部菜单栏的偏移像素大小(仅作用于 Pisces | Gemini 页面模式)
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Sidebar offset from top menubar in pixels (only for Pisces | Gemini).
|
|
|
|
|
offset: 12
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边栏头像
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Sidebar Avatar
|
|
|
|
|
avatar:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 设置显示头像的相对路径
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Replace the default image and set the url here.
|
2022-05-27 16:25:56 +08:00
|
|
|
|
url: /imgs/hugo_next_avatar.png
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启头像的圆形显示效果
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# If true, the avatar will be displayed in circle.
|
2022-05-27 16:25:56 +08:00
|
|
|
|
rounded: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启头像随鼠标转动动画
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# If true, the avatar will be rotated with the cursor.
|
2022-05-27 16:25:56 +08:00
|
|
|
|
rotated: true
|
2022-09-12 16:43:24 +08:00
|
|
|
|
siteState:
|
|
|
|
|
# 是否在侧边栏显示文章、分类、标签信息
|
|
|
|
|
# Posts / Categories / Tags in sidebar.
|
|
|
|
|
basic: true
|
|
|
|
|
# 站点访问信息
|
2023-04-02 17:07:29 +08:00
|
|
|
|
# Site's view information
|
|
|
|
|
views:
|
2022-09-12 16:43:24 +08:00
|
|
|
|
enable: true
|
|
|
|
|
# 组件类型,可选值为: 51la, busuanzi
|
2023-04-02 17:07:29 +08:00
|
|
|
|
# 使用51la时需要注册账号:https://invite.51.la/
|
2022-10-30 16:54:38 +08:00
|
|
|
|
# Plguin value is: 51la, busuanzi
|
2022-09-13 19:29:00 +08:00
|
|
|
|
plugin: busuanzi
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 社交链接地址
|
|
|
|
|
# 用法: `Key: 名称 || 链接地址 || 图标`
|
|
|
|
|
# Key 用于排序建议从0开始
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Social Links
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Usage: `Key: name || permalink || icon`
|
|
|
|
|
# Key is the link label order.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Value before `||` delimiter is the target permalink, value after `||` delimiter is the name of Font Awesome icon.
|
2022-05-27 16:25:56 +08:00
|
|
|
|
socials:
|
|
|
|
|
social0: Github || https://github.com/elkan1788 || fab fa-github
|
|
|
|
|
#social1: E-Mail || mailto:yourname@gmail.com || fa fa-envelope
|
|
|
|
|
social2: 知乎 || https://www.zhihu.com/people/lisenhui || fa fa-book
|
2022-05-21 17:47:26 +08:00
|
|
|
|
#Google: https://plus.google.com/yourname || fab fa-google
|
|
|
|
|
#Twitter: https://twitter.com/yourname || fab fa-twitter
|
|
|
|
|
#FB Page: https://www.facebook.com/yourname || fab fa-facebook
|
|
|
|
|
#StackOverflow: https://stackoverflow.com/yourname || fab fa-stack-overflow
|
|
|
|
|
#YouTube: https://youtube.com/yourname || fab fa-youtube
|
|
|
|
|
#Instagram: https://instagram.com/yourname || fab fa-instagram
|
|
|
|
|
#Skype: skype:yourname?call|chat || fab fa-skype
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 社交链接图标设置
|
|
|
|
|
# Social icon setting
|
2022-05-21 20:34:09 +08:00
|
|
|
|
socialIcons:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否支持图标显示
|
|
|
|
|
# Enable icon display
|
2022-05-21 17:47:26 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 只显示图标
|
|
|
|
|
# Only show icon
|
2022-05-21 20:34:09 +08:00
|
|
|
|
iconsOnly: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启动画效果
|
|
|
|
|
# Enable animation
|
2022-05-27 16:25:56 +08:00
|
|
|
|
transition: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 友情链接设置
|
|
|
|
|
# Friend links setting
|
2022-05-21 21:48:27 +08:00
|
|
|
|
linksSets:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Fontawsome图标名称
|
|
|
|
|
# Icon name in Font Awesome
|
|
|
|
|
# See: https://fontawesome.com/
|
2022-05-21 17:47:26 +08:00
|
|
|
|
icon: fa fa-globe
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 显示标题
|
|
|
|
|
# Show title
|
2022-05-27 16:25:56 +08:00
|
|
|
|
title: 友情链接
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 可选值: block | inline
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Available values: block | inline
|
2022-05-27 16:25:56 +08:00
|
|
|
|
layout: inline
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 友情链接地址
|
|
|
|
|
# 用法: `Key: 显示名称 || 链接地址`
|
|
|
|
|
# Links of your friends
|
|
|
|
|
# Usage: `Key: name || permalink`
|
2022-05-27 16:25:56 +08:00
|
|
|
|
links:
|
|
|
|
|
link0: Hugo-NexT || https://gitee.com/hugo-next/hugo-theme-next
|
|
|
|
|
link1: 凡梦星尘空间站 || https://lisenhui.cn
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 文章目录显示
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Table of Contents in the Sidebar
|
|
|
|
|
# Front-matter variable (nonsupport wrap expand_all).
|
|
|
|
|
toc:
|
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 自动设置列表的数字
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Automatically add list number to toc.
|
|
|
|
|
number: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启自动换行显示
|
|
|
|
|
# If true, all words will placed on next lines
|
|
|
|
|
# if header width longer then sidebar width.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
wrap: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 自动展开子列表
|
|
|
|
|
# If true, all level of TOC in a post will be displayed,
|
|
|
|
|
# rather than the activated part of it.
|
2022-05-21 20:34:09 +08:00
|
|
|
|
expandAll: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 最大的列表深度,建议不要超过3层
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Maximum heading depth of generated toc.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
maxDepth: 3
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 站点底部设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Footer Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
2025-01-25 11:15:11 +08:00
|
|
|
|
footer:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 站点开始年份,默认为当下时间的年份
|
|
|
|
|
# Specify the year when the site was setup.
|
|
|
|
|
# If not defined, current year will be used.
|
2022-05-28 12:53:13 +08:00
|
|
|
|
since: 2010
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 年份和版权信息之间的图标
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Icon between year and copyright info.
|
|
|
|
|
icon:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 图标名称
|
|
|
|
|
# Icon name in Font Awesome.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
name: fa fa-heart
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启图标动画效果
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# If you want to animate the icon, set it to true.
|
2022-05-28 12:53:13 +08:00
|
|
|
|
animated: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 使用16进制设置图标的颜色
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Change the color of icon, using Hex Code.
|
|
|
|
|
color: "#ff0000"
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 版权信息,如不设置将会使用 `author` 变量
|
|
|
|
|
# If not defined, `author` from site information will be used.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
copyright:
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 显示 Hugo 和 NexT 支持
|
|
|
|
|
# Powered by Hugo & NexT
|
2022-05-21 17:47:26 +08:00
|
|
|
|
powered: true
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 国内 ICP 备案和公安网备信息
|
|
|
|
|
# Beian ICP and gongan information for Chinese users.
|
|
|
|
|
# See: https://beian.miit.gov.cn, http://www.beian.gov.cn
|
2022-05-21 17:47:26 +08:00
|
|
|
|
beian:
|
2022-06-01 14:37:40 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# ICP 备案的具体信息
|
2022-06-09 22:05:13 +08:00
|
|
|
|
icp: 粤ICP备 18047355-1 号
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 公安网备的省份简称
|
2022-06-01 14:37:40 +08:00
|
|
|
|
provinceAbbr: 沪
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 公安网备案号
|
2022-06-09 22:05:13 +08:00
|
|
|
|
gonganNum: 31011402009770
|
2022-06-30 10:02:22 +08:00
|
|
|
|
|
|
|
|
|
# 站点支持供应商列表
|
|
|
|
|
# Vendors list who support website.
|
2022-06-12 14:54:12 +08:00
|
|
|
|
vendors:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
enable: true
|
|
|
|
|
# 支持说明
|
|
|
|
|
# Some support information description.
|
2022-06-12 14:54:12 +08:00
|
|
|
|
title: 提供CDN/云资源支持
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 供应商列表,请将带有图标的供应商放在前面
|
|
|
|
|
# Vendors list, remember that who with logo image need put in top.
|
2022-06-12 14:54:12 +08:00
|
|
|
|
list:
|
|
|
|
|
- name: Vercel
|
2022-06-21 09:19:12 +08:00
|
|
|
|
image:
|
|
|
|
|
url: /imgs/vendors/vercel.svg
|
|
|
|
|
width: 50
|
2022-06-12 14:54:12 +08:00
|
|
|
|
link: https://vercel.com
|
|
|
|
|
- name: 又拍云
|
2022-06-21 09:19:12 +08:00
|
|
|
|
image:
|
|
|
|
|
url: /imgs/vendors/upyun.png
|
|
|
|
|
width: 43
|
2022-06-12 14:54:12 +08:00
|
|
|
|
link: https://upyun.com
|
2024-07-22 22:21:18 +08:00
|
|
|
|
- name: Github
|
|
|
|
|
link: https://github.com
|
|
|
|
|
image:
|
|
|
|
|
url: /imgs/vendors/github.svg
|
|
|
|
|
width: 14
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 文章参数设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Post Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
|
|
|
|
# 将文章的描述内容用于首页展示(暂时未实现)
|
|
|
|
|
# Automatically excerpt description in homepage
|
|
|
|
|
# as preamble text (not implemented by now).
|
|
|
|
|
excerptDesc: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否显示阅读更多按钮
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Read more button
|
|
|
|
|
# If true, the read more button will be displayed in excerpt section.
|
2022-05-31 17:10:01 +08:00
|
|
|
|
readMoreBtn: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启文章头部元素显示
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Post meta display settings
|
2022-05-21 21:48:27 +08:00
|
|
|
|
postMeta:
|
2023-06-28 16:33:02 +08:00
|
|
|
|
# 是否开启各元素的文字显示
|
2022-05-21 21:48:27 +08:00
|
|
|
|
itemText: true
|
|
|
|
|
created: true
|
|
|
|
|
updated:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
enable: true
|
2022-05-21 21:48:27 +08:00
|
|
|
|
anotherDay: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
categories: true
|
2022-06-01 17:06:27 +08:00
|
|
|
|
wordCount: true
|
|
|
|
|
readTime: true
|
2023-04-05 12:16:05 +08:00
|
|
|
|
# 是否开启评论数显示
|
|
|
|
|
comments:
|
|
|
|
|
enable: true
|
2024-08-03 18:56:01 +08:00
|
|
|
|
# 评论统计插件,暂只支持waline和waline3
|
|
|
|
|
# Comment counter plugin, only support waline and waline3
|
2023-04-05 12:16:05 +08:00
|
|
|
|
plugin: waline
|
|
|
|
|
# 是否开启页面访问数显示
|
|
|
|
|
views:
|
|
|
|
|
enable: true
|
2024-08-03 18:56:01 +08:00
|
|
|
|
# 页面访问统计插件,支持busuanzi, waline, waline3
|
|
|
|
|
# Page views counter plugin, support: busuanzi, waline, waline3
|
2023-06-24 16:37:33 +08:00
|
|
|
|
plugin: busuanzi
|
2025-01-03 20:48:41 +08:00
|
|
|
|
# 是否开启过期提示
|
|
|
|
|
# Expired tip
|
|
|
|
|
expired: false
|
2025-01-18 22:06:49 +08:00
|
|
|
|
# 是否开启摘要显示
|
|
|
|
|
# Enable summary
|
2025-01-30 09:20:03 +08:00
|
|
|
|
summary: true
|
2025-01-03 20:48:41 +08:00
|
|
|
|
|
|
|
|
|
# 文章内容中的提示信息设置
|
|
|
|
|
# Alert settings in post content
|
|
|
|
|
postAlerts:
|
|
|
|
|
info:
|
|
|
|
|
icon: "circle-info"
|
|
|
|
|
color: "#4A90E2"
|
|
|
|
|
note:
|
|
|
|
|
icon: "bell"
|
|
|
|
|
color: "#17A2B8"
|
|
|
|
|
help:
|
|
|
|
|
icon: "circle-question"
|
|
|
|
|
color: "#967ADC"
|
|
|
|
|
error:
|
|
|
|
|
icon: "circle-xmark"
|
|
|
|
|
color: "#DC3545"
|
|
|
|
|
warning:
|
|
|
|
|
icon: "triangle-exclamation"
|
|
|
|
|
color: "#F39C12"
|
|
|
|
|
success:
|
|
|
|
|
icon: "circle-check"
|
|
|
|
|
color: "#32CD32"
|
|
|
|
|
important:
|
|
|
|
|
icon: "circle-plus"
|
|
|
|
|
color: "#007BFF"
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 文章底部的设置
|
|
|
|
|
# Post footer settings
|
2022-06-04 20:50:30 +08:00
|
|
|
|
postFooter:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 通过线条将文章和捐赠等信息隔开,并在线条上添加提示信息
|
|
|
|
|
# Use line to separate post and reward etc other information
|
|
|
|
|
# and add tip title on line.
|
2022-06-04 20:50:30 +08:00
|
|
|
|
endLineTip: "~ 我可是有底线的哟 ~"
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否使用小图标,默认使用 # 符号表示标签
|
|
|
|
|
# Use icon instead of the symbol # to indicate the tag
|
2022-06-04 20:50:30 +08:00
|
|
|
|
tagIcon: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 捐赠信息设置
|
|
|
|
|
# Donate (Sponsor) settings.
|
2022-05-21 21:48:27 +08:00
|
|
|
|
rewardSets:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否开启捐赠按钮,开启后将在每个文章页面底部显示
|
|
|
|
|
# If true, a donate button will be displayed
|
|
|
|
|
# in every article by default.
|
2022-06-04 16:15:35 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否开启捐赠方式的动画效果
|
|
|
|
|
# If true, the donate type title will with animation.
|
2022-06-04 16:15:35 +08:00
|
|
|
|
animation: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 捐赠信息的描述,支持 HTML 语法
|
|
|
|
|
# Comment for donate and suppport HTML syntax
|
2022-06-04 16:15:35 +08:00
|
|
|
|
comment: '<i class="fa-solid fa-mug-hot"></i>请我喝杯咖啡吧 ヾ(^▽^*)))'
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 捐赠方式
|
|
|
|
|
# 用例: `名称:图像地址`
|
|
|
|
|
# Donate type
|
|
|
|
|
# Usage: `name:image url`
|
|
|
|
|
reward:
|
|
|
|
|
wechatpay: /imgs/wechat-pay.png
|
|
|
|
|
alipay: /imgs/ali-pay.png
|
|
|
|
|
#paypal: /images/paypal.png
|
|
|
|
|
#bitcoin: /images/bitcoin.png
|
|
|
|
|
|
|
|
|
|
# 提供其它订阅站点文章的方式
|
|
|
|
|
# 用例: `key: 名称 || 链接(图像地址)|| icon名称`
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Subscribe through Telegram Channel, Twitter, etc.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Usage: `Key: name || permalink || icon` (Font Awesome)
|
2022-05-21 21:48:27 +08:00
|
|
|
|
followMe:
|
2022-06-04 11:03:09 +08:00
|
|
|
|
#channel0: Twitter || https://twitter.com/username || fab fa-twitter
|
|
|
|
|
#channel1: Telegram || https://t.me/channel_name || fab fa-telegram
|
|
|
|
|
channel2: WeChat || /images/wechat_channel.jpg || fab fa-weixin
|
|
|
|
|
channel3: RSS || /atom.xml || fa fa-rss
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 文章的在线编辑
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Post edit
|
|
|
|
|
# Easily browse and edit blog source code online.
|
2022-05-21 21:48:27 +08:00
|
|
|
|
postEdit:
|
2022-06-04 10:43:00 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
url: https://github.com/user-name/repo-name/tree/branch-name/subdirectory-name/
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 设置文本的对齐方式
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Set the text alignment in posts / pages.
|
2022-05-21 20:34:09 +08:00
|
|
|
|
textAlign:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 可选值: start | end | left | right | center | justify | justify-all | match-parent
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Available values: start | end | left | right | center | justify | justify-all | match-parent
|
|
|
|
|
desktop: justify
|
|
|
|
|
mobile: justify
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 在手机端显示减少填充和边距
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Reduce padding / margin indents on devices with narrow width.
|
2022-06-18 19:53:09 +08:00
|
|
|
|
mobileLayoutEconomy: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 顶部面板在不同模式下的颜色
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Browser header panel color.
|
2022-05-21 18:43:01 +08:00
|
|
|
|
themeColor:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
light: "#222"
|
|
|
|
|
dark: "#222"
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO 暂时不支持
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Override browsers' default behavior.
|
2022-05-21 20:48:41 +08:00
|
|
|
|
bodyScrollbar:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Place the scrollbar over the content.
|
|
|
|
|
overlay: false
|
|
|
|
|
# Present the scrollbar even if the content is not overflowing.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
stable: true
|
|
|
|
|
|
|
|
|
|
# 代码块的设置
|
|
|
|
|
# Codeblock settings
|
|
|
|
|
codeblock:
|
|
|
|
|
# 支持样式类型: default | flat | mac
|
|
|
|
|
# Available values: default | flat | mac
|
|
|
|
|
style: mac
|
|
|
|
|
# 在代码块上添加拷贝按钮
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Add copy button on codeblock
|
2022-06-30 10:02:22 +08:00
|
|
|
|
copyBtn: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 返回顶部设置
|
|
|
|
|
# Backtop settings
|
2022-05-21 21:48:27 +08:00
|
|
|
|
backTop:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启返回顶部按钮显示
|
|
|
|
|
# If true, will display backtop button in buttom.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 在侧边栏显示返回顶部按钮
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Back to top in sidebar.
|
|
|
|
|
sidebar: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 在返回按钮上显示进度
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Scroll percent label in b2t button.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
scrollpercent: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 读取进度条设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Reading progress bar
|
2022-05-21 19:18:19 +08:00
|
|
|
|
readingProgress:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否显示读取进度条
|
|
|
|
|
# If true, will display the read progress bar.
|
2022-05-28 15:48:52 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 进度条开始位置: left | right
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Available values: left | right
|
2022-05-21 19:18:19 +08:00
|
|
|
|
start: left
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 进度条显示位置: top | bottom
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Available values: top | bottom
|
2022-06-30 10:02:22 +08:00
|
|
|
|
position: top
|
|
|
|
|
# 是否反向显示进度
|
|
|
|
|
# If true, the read progress will be reversed.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
reversed: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 用16进制设置进度条颜色
|
|
|
|
|
# Change the color of progress bar, using Hex Code.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
color: "#37c6c0"
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 进度条的高度
|
|
|
|
|
# Hight of the read progress bar.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
height: 3px
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 书签功能
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Bookmark Support
|
|
|
|
|
bookmark:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启书签功能
|
|
|
|
|
# If true, will display bookmark in all page.
|
2022-05-28 15:48:52 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 自定义书签显示颜色
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Customize the color of the bookmark.
|
|
|
|
|
color: "#222"
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 支持方式: auto | manual
|
|
|
|
|
# auto: 当关闭页面或点击书签按钮时,会自动保存当前的阅读进度
|
|
|
|
|
# manual: 只有当点击书签按钮时才会保存阅读进度
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# If auto, save the reading progress when closing the page or clicking the bookmark-icon.
|
|
|
|
|
# If manual, only save it by clicking the bookmark-icon.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
save: manual
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 右上角在 Github 上面关注我的横幅
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# `Follow me on GitHub` banner in the top-right corner.
|
2022-05-21 20:34:09 +08:00
|
|
|
|
githubBanner:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 是否开启显示
|
|
|
|
|
# If true, will display banner.
|
2022-05-28 15:48:52 +08:00
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 你的 Github 仓库地址
|
|
|
|
|
# Your repository url on Github.
|
2022-07-20 18:29:31 +08:00
|
|
|
|
permalink: https://github.com/hugo-next
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 关注说明
|
|
|
|
|
# Show this title when cursor move on.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
title: Follow me on GitHub
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
|
|
|
|
# 字体设置(暂时未实现)
|
|
|
|
|
# Font Settings (not implemented by now)
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Find fonts on Google Fonts (https://fonts.google.com)
|
|
|
|
|
# All fonts set here will have the following styles:
|
|
|
|
|
# light | light italic | normal | normal italic | bold | bold italic
|
|
|
|
|
# Be aware that setting too much fonts will cause site running slowly
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
# Web Safe fonts are recommended for `global` (and `title`):
|
|
|
|
|
# Arial | Tahoma | Helvetica | Times New Roman | Courier New | Verdana | Georgia | Palatino | Garamond | Comic Sans MS | Trebuchet MS
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
font:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
enable: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
# Uri of fonts host, e.g. https://fonts.googleapis.com (Default).
|
|
|
|
|
host:
|
|
|
|
|
|
|
|
|
|
# Font options:
|
|
|
|
|
# `external: true` will load this font family from `host` above.
|
|
|
|
|
# `family: Times New Roman`. Without any quotes.
|
|
|
|
|
# `size: x.x`. Use `em` as unit. Default: 1 (16px)
|
|
|
|
|
|
|
|
|
|
# Global font settings used for all elements inside <body>.
|
|
|
|
|
global:
|
|
|
|
|
external: true
|
|
|
|
|
family: Lato
|
|
|
|
|
size:
|
|
|
|
|
|
|
|
|
|
# Font settings for site title (.site-title).
|
|
|
|
|
title:
|
|
|
|
|
external: true
|
|
|
|
|
family:
|
|
|
|
|
size:
|
|
|
|
|
|
|
|
|
|
# Font settings for headlines (<h1> to <h6>).
|
|
|
|
|
headings:
|
|
|
|
|
external: true
|
|
|
|
|
family:
|
|
|
|
|
size:
|
|
|
|
|
|
|
|
|
|
# Font settings for posts (.post-body).
|
|
|
|
|
posts:
|
|
|
|
|
external: true
|
|
|
|
|
family:
|
|
|
|
|
|
|
|
|
|
# Font settings for <code> and code blocks.
|
|
|
|
|
codes:
|
|
|
|
|
external: true
|
|
|
|
|
family:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# SEO 设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# SEO Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 给所有外部链接添加新标签打开
|
|
|
|
|
# Automatically add `target='_blank'` attribute in external URL.
|
2022-06-19 14:53:12 +08:00
|
|
|
|
exturl:
|
|
|
|
|
enable: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 给所有外部链接加上图标
|
|
|
|
|
# If true, an icon will be attached to each external URL
|
2022-06-19 14:53:12 +08:00
|
|
|
|
icon: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 谷歌站点验证
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Google Webmaster tools verification.
|
|
|
|
|
# See: https://developers.google.com/search
|
2022-06-30 10:02:22 +08:00
|
|
|
|
googleSiteVerification: #<verify_code>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 微软 Bing 站验证
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Bing Webmaster tools verification.
|
|
|
|
|
# See: https://www.bing.com/webmasters
|
2022-06-30 10:02:22 +08:00
|
|
|
|
bingSiteVerification: #<verify_code>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Yandex 站点验证
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Yandex Webmaster tools verification.
|
|
|
|
|
# See: https://webmaster.yandex.ru
|
2022-06-30 10:02:22 +08:00
|
|
|
|
yandexSiteVerification: #<verify_code>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 百度站点验证
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Baidu Webmaster tools verification.
|
|
|
|
|
# See: https://ziyuan.baidu.com/site
|
2022-06-30 10:02:22 +08:00
|
|
|
|
baiduSiteVerification: #<verify_code>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 第三方插件和服务设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Third Party Plugins & Services Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-09-11 11:14:54 +08:00
|
|
|
|
# 数学公式渲染支持,可选值: mathjax, katex
|
|
|
|
|
# 注意这里全局配置,意味着所有页面都会加载数学公式脚本
|
|
|
|
|
# Math Formulas Render Support, options: mathjax, katex
|
|
|
|
|
# Warning: It's global settings then will load scripts in every page.
|
|
|
|
|
#math: mathjax
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
|
|
|
|
# FancyBox is a tool that offers a nice and elegant way
|
|
|
|
|
# to add zooming functionality for images.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# For more information: https://fancyapps.com/fancybox/
|
|
|
|
|
fancybox: false
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Vanilla JavaScript plugin for lazyloading images.
|
|
|
|
|
# For more information: https://apoorv.pro/lozad.js/demo/
|
|
|
|
|
lazyload: false
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Pangu Support
|
|
|
|
|
# For more information: https://github.com/vinta/pangu.js
|
|
|
|
|
# Server-side plugin: https://github.com/next-theme/hexo-pangu
|
|
|
|
|
pangu: false
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Quicklink Support
|
|
|
|
|
# For more information: https://getquick.link
|
|
|
|
|
# Front-matter variable (nonsupport home archive).
|
|
|
|
|
quicklink:
|
|
|
|
|
enable: false
|
|
|
|
|
|
|
|
|
|
# Home page and archive page can be controlled through home and archive options below.
|
|
|
|
|
# This configuration item is independent of `enable`.
|
|
|
|
|
home: false
|
|
|
|
|
archive: false
|
|
|
|
|
|
|
|
|
|
# Default (true) will initialize quicklink after the load event fires.
|
|
|
|
|
delay: true
|
|
|
|
|
# Custom a time in milliseconds by which the browser must execute prefetching.
|
|
|
|
|
timeout: 3000
|
|
|
|
|
# Default (true) will attempt to use the fetch() API if supported (rather than link[rel=prefetch]).
|
|
|
|
|
priority: true
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 评论功能设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Comments Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 评论组件设置,最多支持2个显示
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Multiple Comment System Support
|
|
|
|
|
comments:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 开启评论组件
|
|
|
|
|
# If true, will show comment component in post end.
|
2022-09-13 19:29:00 +08:00
|
|
|
|
enable: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 设置默认使用的评论插件
|
|
|
|
|
# 可选值:livere | waline | utterances | artalk | giscus
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Choose a comment system to be displayed by default.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Available values: livere | waline | utterances | artalk | giscus
|
|
|
|
|
active: giscus
|
|
|
|
|
# 让用户自己选择使用评论插件留言
|
|
|
|
|
# 如果设置为 false,将采用 active 参数的那个插件
|
|
|
|
|
# Setting `true` means remembering the comment system selected by
|
|
|
|
|
# the visitor, otherwise use the `active` setting comment system.
|
2022-05-21 17:47:26 +08:00
|
|
|
|
storage: true
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Lazyload all comment systems.
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# lazyload: false
|
|
|
|
|
# 设置你要显示的2个评论插件,`weight` 数字越小越靠前
|
2024-08-03 18:56:01 +08:00
|
|
|
|
# `name` 参数名可选值:livere | waline | waline3 | utterances | artalk | giscus
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Modify texts or order for any naves, here are some examples.
|
|
|
|
|
nav:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
- name: waline
|
2022-06-05 16:14:17 +08:00
|
|
|
|
title: Waline
|
|
|
|
|
color: "#27ae60"
|
2024-06-07 18:36:43 +08:00
|
|
|
|
weight: 1
|
2022-06-30 10:02:22 +08:00
|
|
|
|
- name: giscus
|
|
|
|
|
title: Giscus
|
2022-06-21 09:19:12 +08:00
|
|
|
|
color: "#886ce4"
|
2024-06-07 18:36:43 +08:00
|
|
|
|
weight: 2
|
2022-06-05 16:14:17 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Waline 评论插件
|
|
|
|
|
# 更多配置信息请参考:https://waline.js.org/
|
|
|
|
|
# Waline comments system
|
|
|
|
|
# More info seee: https://waline.js.org/
|
2022-06-05 16:14:17 +08:00
|
|
|
|
waline:
|
2022-10-01 18:21:35 +08:00
|
|
|
|
placeholder: "请文明发言哟 ヾ(≧▽≦*)o"
|
|
|
|
|
sofa: "快来发表你的意见吧 (≧∀≦)ゞ"
|
2022-06-05 16:14:17 +08:00
|
|
|
|
emoji: false
|
|
|
|
|
imgUploader: false
|
|
|
|
|
wordLimit: 200
|
|
|
|
|
requiredMeta: ['nick', 'mail']
|
2022-10-01 18:21:35 +08:00
|
|
|
|
reaction: true
|
|
|
|
|
reactionText: [ '点赞', '踩一下', '得意', '不屑', '尴尬', '睡觉']
|
|
|
|
|
reactionTitle: "你认为这篇文章怎么样?"
|
2022-06-21 09:19:12 +08:00
|
|
|
|
serverURL: #<your waline server url>
|
2024-08-03 18:56:01 +08:00
|
|
|
|
# Waline(2) 与 Waline3 无法兼容只能是二选一
|
|
|
|
|
# Waline3 采用的是ES模块开发,需要更高版本的浏览器才能支持,如考虑兼容性建议可优先选用Waline2
|
|
|
|
|
# waline3:
|
|
|
|
|
# placeholder: "请文明发言哟 ヾ(≧▽≦*)o"
|
|
|
|
|
# sofa: "快来发表你的意见吧 (≧∀≦)ゞ"
|
|
|
|
|
# emoji: false
|
2024-08-03 23:07:03 +08:00
|
|
|
|
# search: true
|
2024-08-03 18:56:01 +08:00
|
|
|
|
# imgUploader: false
|
|
|
|
|
# wordLimit: 200
|
|
|
|
|
# requiredMeta: ['nick', 'mail']
|
|
|
|
|
# reaction: true
|
|
|
|
|
# reactionText: [ '点赞', '踩一下', '得意', '不屑', '尴尬', '睡觉']
|
|
|
|
|
# reactionTitle: "你认为这篇文章怎么样?"
|
|
|
|
|
# serverURL: #<your waline server url>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Artalk 评论插件
|
2022-07-02 22:22:46 +08:00
|
|
|
|
# 更多配置信息请参考:https://artalk.js.org
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Artalk comments system
|
|
|
|
|
# More info see: https://artalk.js.org
|
2022-07-20 18:29:31 +08:00
|
|
|
|
# artalk:
|
|
|
|
|
# site: "默认站点"
|
|
|
|
|
# placeholder: "请文明发言,谢谢!"
|
|
|
|
|
# server: #<your artalk server url>
|
2022-06-30 10:02:22 +08:00
|
|
|
|
|
|
|
|
|
# Artalk 评论插件
|
|
|
|
|
# 更多配置信息请参考:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# LiveRe comments system
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# You can get your uid from https://livere.com/
|
2022-07-20 18:29:31 +08:00
|
|
|
|
# livere:
|
|
|
|
|
# uid: # <your_uid>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Utterances 评论插件
|
|
|
|
|
# 更多配置信息请参考:https://utteranc.es
|
|
|
|
|
# Utterances comments system
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# For more information: https://utteranc.es
|
2022-07-20 18:29:31 +08:00
|
|
|
|
# utterances:
|
|
|
|
|
# # Github 仓库地址,格式:用户名/仓库名称
|
|
|
|
|
# # Github repository owner and name
|
|
|
|
|
# repo: username/repo-name
|
|
|
|
|
# # 问题标题的模式,可选值:pathname | url | title | og:title
|
|
|
|
|
# # Available values: pathname | url | title | og:title
|
|
|
|
|
# issueTerm: pathname
|
|
|
|
|
# # 问题的标签分类
|
|
|
|
|
# # Label flag for Github issues
|
|
|
|
|
# label: comments
|
|
|
|
|
# # 主题可选值: github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light
|
|
|
|
|
# # Available values: github-light | github-dark | preferred-color-scheme | github-dark-orange | icy-dark | dark-blue | photon-dark | boxy-light
|
|
|
|
|
# theme: preferred-color-scheme
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Giscus 评论插件
|
|
|
|
|
# 更多配置信息请参考:https://giscus.app
|
|
|
|
|
# Giscus comments system
|
|
|
|
|
# For more information: https://giscus.app
|
|
|
|
|
giscus:
|
|
|
|
|
# Github 仓库地址,格式:用户名/仓库名称
|
|
|
|
|
# Github repository owner and name
|
2022-07-20 18:29:31 +08:00
|
|
|
|
repo: username/repo-name
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# Giscus 生成的仓库 Id
|
|
|
|
|
# Generate repository Id from Giscus
|
2022-07-20 18:29:31 +08:00
|
|
|
|
repoId: #<repo-id>
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 讨论区的分类名称
|
|
|
|
|
# Github discussions category
|
2022-07-20 18:29:31 +08:00
|
|
|
|
category: Comments
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 讨论区分类 ID
|
|
|
|
|
# Generate category Id from Giscus
|
2022-07-20 18:29:31 +08:00
|
|
|
|
categoryId: #<category-id>
|
2022-07-07 09:00:07 +08:00
|
|
|
|
# 帖子上的反应将会显示在评论前
|
|
|
|
|
# The reactions for post will be shown before the comments
|
|
|
|
|
reactions: false
|
|
|
|
|
# 将元数据定期被发送到父页面(被嵌入的页面或控制台,用于调试)
|
|
|
|
|
# Metadata will be sent periodically to the parent window
|
|
|
|
|
emit: false
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 评论输入框的位置,可选值: top | bottom
|
|
|
|
|
# Aavilable value: top | bottom
|
2022-07-20 18:29:31 +08:00
|
|
|
|
# 讨论区帖子标题,可选值: pathname | url | title | og:title | 自定义
|
|
|
|
|
# Available values: pathname | url | title | og:title | custom
|
|
|
|
|
mapping: title
|
|
|
|
|
# 评论输入框的位置,可选值: top | bottom
|
|
|
|
|
# Aavilable value: top | bottom
|
2022-06-30 10:02:22 +08:00
|
|
|
|
inputPosition: top
|
|
|
|
|
# 主题可选值: light | light_high_contrast | light_protanopia | light_tritanopia | dark | dark_high_contrast | dark_protanopia | dark_tritanopia | dark_dimmed | transparent_dark | preferred_color_scheme
|
|
|
|
|
# Available values: light | light_high_contrast | light_protanopia | light_tritanopia | dark | dark_high_contrast | dark_protanopia | dark_tritanopia | dark_dimmed | transparent_dark | preferred_color_scheme
|
|
|
|
|
theme: preferred_color_scheme
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 文章小组件和分享服务设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Post Widgets & Content Sharing Services
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
|
|
|
|
# 文章评级功能(暂未支持)
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Star rating support to each article.
|
|
|
|
|
# To get your ID visit https://widgetpack.com
|
|
|
|
|
rating:
|
|
|
|
|
enable: false
|
|
|
|
|
id: # <app_id>
|
|
|
|
|
color: "#fc6423"
|
|
|
|
|
|
2024-08-05 20:38:20 +08:00
|
|
|
|
# 文章分享功能
|
|
|
|
|
share:
|
|
|
|
|
enable: true
|
|
|
|
|
# 更多信息与配置,请参考:https://sharethis.com
|
|
|
|
|
# For more information and configuration, please refer to:https://sharethis.com
|
|
|
|
|
# sharethis:
|
|
|
|
|
# id: #<sharethis_id>
|
|
|
|
|
# 简单的在线分享,没有统计数据功能,更多信息可参考:https://www.addtoany.com/
|
|
|
|
|
# Simple online sharing without statistical data function.
|
|
|
|
|
# For more information, please refer to: https://www.addtoany.com/
|
|
|
|
|
addtoany:
|
|
|
|
|
locale: zh-CN
|
|
|
|
|
num_services: 8
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 站点统计功能
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Statistics and Analytics
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-07-02 22:22:46 +08:00
|
|
|
|
analytics:
|
|
|
|
|
# 51La 站点统计
|
|
|
|
|
# 更多信息请参考:https://invite.51.la/1NUfGTS1?target=V6
|
|
|
|
|
# 51La Analytics
|
|
|
|
|
# See: https://invite.51.la/1NUfGTS1?target=V6
|
2022-09-13 19:29:00 +08:00
|
|
|
|
#laId: #<anaytics_id>
|
2022-09-11 18:33:41 +08:00
|
|
|
|
# 百度统计
|
|
|
|
|
# Baidu Analytics
|
|
|
|
|
#baidu: #<anaytics_id>
|
|
|
|
|
# 谷歌统计
|
|
|
|
|
# Google Analytics
|
|
|
|
|
#google: #<anaytics_id>
|
|
|
|
|
# 不蒜子统计
|
|
|
|
|
# Show Views / Visitors of the website / page with busuanzi.
|
|
|
|
|
# For more information: http://ibruce.info/2015/04/04/busuanzi/
|
|
|
|
|
busuanzi:
|
|
|
|
|
visitorsIcon: fa fa-user
|
|
|
|
|
viewsIcon: fa fa-eye
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-07-31 18:01:57 +08:00
|
|
|
|
# 内容搜索服务
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Search Services
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# Algolia Search
|
|
|
|
|
# For more information: https://www.algolia.com
|
2022-05-21 19:18:19 +08:00
|
|
|
|
algoliaSearch:
|
2022-08-06 16:15:15 +08:00
|
|
|
|
enable: false
|
2022-07-31 18:01:57 +08:00
|
|
|
|
appId: #<algolia app id>
|
|
|
|
|
apiKey: #<algolia api key>
|
|
|
|
|
indexName: #<algolia index name>
|
2022-05-21 17:47:26 +08:00
|
|
|
|
hits:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
perPage: 10
|
2023-06-28 16:33:02 +08:00
|
|
|
|
# 索引生成内容长度字数限制
|
|
|
|
|
# Index generation content length word count limit.
|
|
|
|
|
limit: 1000
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 本地搜索
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Local Search
|
2022-05-21 19:18:19 +08:00
|
|
|
|
localSearch:
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 是否开启搜索功能
|
|
|
|
|
# Enable search function
|
2022-05-25 15:44:10 +08:00
|
|
|
|
enable: true
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 搜索索引文件路径
|
|
|
|
|
# Indexes file path for search
|
2022-09-17 21:54:36 +08:00
|
|
|
|
path: /searchindexes.xml
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 是立即搜索当输入关键字时,可选值: auto | manual
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# If auto, trigger search by changing input.
|
|
|
|
|
# If manual, trigger search by pressing enter key or search button.
|
|
|
|
|
trigger: auto
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 显示头部的搜索记录,-1 表示显示所有搜索结果
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Show top n results per article, show all results by setting to -1
|
2022-07-31 11:02:55 +08:00
|
|
|
|
topNPerArticle: -1
|
|
|
|
|
# 将 html 字符串转换为可读字符串
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Unescape html strings to the readable one.
|
|
|
|
|
unescape: false
|
2022-07-31 11:02:55 +08:00
|
|
|
|
# 页面加载时是否要重新载入索引文件
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Preload the search data when the page loads.
|
|
|
|
|
preload: false
|
2023-06-28 16:33:02 +08:00
|
|
|
|
# 索引生成内容长度字数限制
|
|
|
|
|
# Index generation content length word count limit.
|
|
|
|
|
limit: 1000
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 在线聊天服务
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Chat Services
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# A button to open designated chat widget in sidebar.
|
|
|
|
|
# Firstly, you need to enable and configure the chat service.
|
|
|
|
|
chat:
|
|
|
|
|
enable: false
|
|
|
|
|
icon: fa fa-comment # Icon name in Font Awesome, set false to disable icon.
|
|
|
|
|
text: Chat # Button text, change it as you wish.
|
|
|
|
|
|
|
|
|
|
# Gitter Support
|
|
|
|
|
# For more information: https://gitter.im
|
|
|
|
|
gitter:
|
2022-06-16 10:00:36 +08:00
|
|
|
|
enable: true
|
|
|
|
|
room: hugo-next/community
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
|
|
|
|
# 标签设置(暂时未实现)
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Tags Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
|
|
|
|
# Note tag (bootstrap callout)
|
|
|
|
|
note:
|
|
|
|
|
# Note tag style values:
|
|
|
|
|
# - simple bootstrap callout old alert style. Default.
|
|
|
|
|
# - modern bootstrap callout new (v2-v3) alert style.
|
|
|
|
|
# - flat flat callout style with background, like on Mozilla or StackOverflow.
|
|
|
|
|
# - disabled disable all CSS styles import of note tag.
|
|
|
|
|
style: simple
|
2023-12-31 08:20:09 +08:00
|
|
|
|
icons: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Offset lighter of background in % for modern and flat styles (modern: -12 | 12; flat: -18 | 6).
|
|
|
|
|
# Offset also applied to label tag variables. This option can work with disabled note tag.
|
2022-05-21 18:43:01 +08:00
|
|
|
|
lightBgOffset: 0
|
2022-05-21 17:47:26 +08:00
|
|
|
|
|
|
|
|
|
# Tabs tag
|
|
|
|
|
tabs:
|
|
|
|
|
# Make the nav bar of tabs with long content stick to the top.
|
|
|
|
|
sticky: false
|
|
|
|
|
transition:
|
|
|
|
|
tabs: false
|
|
|
|
|
labels: true
|
|
|
|
|
|
|
|
|
|
# PDF tag
|
|
|
|
|
# NexT will try to load pdf files natively, if failed, pdf.js will be used.
|
|
|
|
|
# So, you have to install the dependency of pdf.js if you want to use pdf tag and make it available to all browsers.
|
|
|
|
|
# Dependencies: https://github.com/next-theme/theme-next-pdf
|
|
|
|
|
pdf:
|
|
|
|
|
enable: false
|
|
|
|
|
# Default height
|
|
|
|
|
height: 500px
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 动画效果设置
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Animation Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 通过 Animate.css 实现对整站的动画效果
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Use Animate.css to animate everything.
|
|
|
|
|
# For more information: https://animate.style
|
|
|
|
|
motion:
|
2022-07-05 22:01:48 +08:00
|
|
|
|
enable: true
|
2022-06-18 16:09:08 +08:00
|
|
|
|
async: true
|
2022-05-21 17:47:26 +08:00
|
|
|
|
transition:
|
|
|
|
|
# All available transition variants: https://theme-next.js.org/animate/
|
2022-05-21 21:48:27 +08:00
|
|
|
|
postBlock: fadeIn
|
|
|
|
|
postHeader: fadeInDown
|
|
|
|
|
postBody: fadeInDown
|
|
|
|
|
collHeader: fadeInLeft
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# 侧边样效果 只有在 Pisces | Gemini 模式下才支持
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Only for Pisces | Gemini.
|
|
|
|
|
sidebar: fadeInUp
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Progress bar in the top during page loading.
|
|
|
|
|
# For more information: https://github.com/CodeByZach/pace
|
|
|
|
|
pace:
|
2022-06-30 10:02:22 +08:00
|
|
|
|
enable: false
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# All available colors:
|
|
|
|
|
# black | blue | green | orange | pink | purple | red | silver | white | yellow
|
|
|
|
|
color: blue
|
|
|
|
|
# All available themes:
|
|
|
|
|
# big-counter | bounce | barber-shop | center-atom | center-circle | center-radar | center-simple
|
|
|
|
|
# corner-indicator | fill-left | flat-top | flash | loading-bar | mac-osx | material | minimal
|
|
|
|
|
theme: minimal
|
|
|
|
|
|
2022-06-30 10:02:22 +08:00
|
|
|
|
# TODO
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Canvas ribbon
|
|
|
|
|
# For more information: https://github.com/hustcc/ribbon.js
|
2022-06-30 10:02:22 +08:00
|
|
|
|
canvasRibbon:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
enable: false
|
|
|
|
|
size: 300 # The width of the ribbon
|
|
|
|
|
alpha: 0.6 # The transparency of the ribbon
|
|
|
|
|
zIndex: -1 # The display level of the ribbon
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
# ---------------------------------------------------------------
|
2024-07-21 19:52:40 +08:00
|
|
|
|
# CDN 服务
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# CDN Settings
|
|
|
|
|
# ---------------------------------------------------------------
|
2024-07-22 22:21:18 +08:00
|
|
|
|
vendors:
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# The CDN provider of NexT internal scripts.
|
2024-07-21 19:52:40 +08:00
|
|
|
|
# Available values: local | cdn
|
2022-05-21 17:47:26 +08:00
|
|
|
|
internal: local
|
|
|
|
|
# The default CDN provider of third-party plugins.
|
2024-07-21 19:52:40 +08:00
|
|
|
|
# Available values: local | cdnjs | unpkg | jsdelivr | staticfile | bootcdn | 7ed | zstatic | zeyao | custom
|
|
|
|
|
plugins: local
|
2022-05-21 17:47:26 +08:00
|
|
|
|
# Custom CDN URL
|
|
|
|
|
# For example:
|
|
|
|
|
# custom_cdn_url: https://cdn.jsdelivr.net/npm/${npm_name}@${version}/${minified}
|
2024-07-21 19:52:40 +08:00
|
|
|
|
# custom_cdn_url: https://cdnjs.cloudflare.com/ajax/libs/${cdnjs_name}/${version}/${cdnjs_file}
|