mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-05 14:22:15 +00:00
Update Theme
This commit is contained in:
parent
a212477863
commit
d47be661bd
212 changed files with 13069 additions and 8406 deletions
|
@ -4,14 +4,16 @@
|
|||
min = "0.62.0"
|
||||
|
||||
[params]
|
||||
# site default theme ("auto", "light", "dark")
|
||||
# 网站默认主题 ("auto", "light", "dark")
|
||||
# site default theme ["auto", "light", "dark"]
|
||||
# 网站默认主题 ["auto", "light", "dark"]
|
||||
defaultTheme = "auto"
|
||||
# public git repo url only then enableGitInfo is true
|
||||
# 公共 git 仓库路径,仅在 enableGitInfo 设为 true 时有效
|
||||
gitRepo = ""
|
||||
# which hash function used for SRI, when empty, no SRI is used ("sha256", "sha384", "sha512", "md5")
|
||||
# 哪种哈希函数用来 SRI, 为空时表示不使用 SRI ("sha256", "sha384", "sha512", "md5")
|
||||
# which hash function used for SRI, when empty, no SRI is used
|
||||
# ["sha256", "sha384", "sha512", "md5"]
|
||||
# 哪种哈希函数用来 SRI, 为空时表示不使用 SRI
|
||||
# ["sha256", "sha384", "sha512", "md5"]
|
||||
fingerprint = ""
|
||||
# date format
|
||||
# 日期格式
|
||||
|
@ -29,11 +31,11 @@
|
|||
# Header config
|
||||
# 页面头部导航栏配置
|
||||
[params.header]
|
||||
# desktop header mode ("fixed", "normal", "auto")
|
||||
# 桌面端导航栏模式 ("fixed", "normal", "auto")
|
||||
# desktop header mode ["fixed", "normal", "auto"]
|
||||
# 桌面端导航栏模式 ["fixed", "normal", "auto"]
|
||||
desktopMode = "fixed"
|
||||
# mobile header mode ("fixed", "normal", "auto")
|
||||
# 移动端导航栏模式 ("fixed", "normal", "auto")
|
||||
# mobile header mode ["fixed", "normal", "auto"]
|
||||
# 移动端导航栏模式 ["fixed", "normal", "auto"]
|
||||
mobileMode = "auto"
|
||||
# Header title config
|
||||
# 页面头部导航栏标题配置
|
||||
|
@ -132,8 +134,8 @@
|
|||
# 搜索配置
|
||||
[params.search]
|
||||
enable = false
|
||||
# type of search engine ("lunr", "algolia")
|
||||
# 搜索引擎的类型 ("lunr", "algolia")
|
||||
# type of search engine ["lunr", "algolia"]
|
||||
# 搜索引擎的类型 ["lunr", "algolia"]
|
||||
type = "lunr"
|
||||
# max index length of the chunked content
|
||||
# 文章内容最长索引长度
|
||||
|
@ -177,8 +179,8 @@
|
|||
# title shown in home page (HTML format is supported)
|
||||
# 主页显示的网站标题 (支持 HTML 格式)
|
||||
title = ""
|
||||
# subtitle shown in home page
|
||||
# 主页显示的网站副标题
|
||||
# subtitle shown in home page (HTML format is supported)
|
||||
# 主页显示的网站副标题 (允许 HTML 格式)
|
||||
subtitle = "This is my cool site"
|
||||
# whether to use typeit animation for subtitle
|
||||
# 是否为副标题显示打字机动画
|
||||
|
@ -261,7 +263,18 @@
|
|||
XMPP = ""
|
||||
Matrix = ""
|
||||
Bilibili = ""
|
||||
Discord = ""
|
||||
DiscordInvite = ""
|
||||
Lichess = ""
|
||||
ORCID = ""
|
||||
Pleroma = ""
|
||||
Kaggle = ""
|
||||
MediaWiki= ""
|
||||
Plume = ""
|
||||
HackTheBox = ""
|
||||
RootMe= ""
|
||||
Email = ""
|
||||
Phone = ""
|
||||
RSS = ""
|
||||
|
||||
# Page global config
|
||||
|
@ -314,7 +327,7 @@
|
|||
copy = true
|
||||
# the maximum number of lines of displayed code by default
|
||||
# 默认展开显示的代码行数
|
||||
maxShownLines = 10
|
||||
maxShownLines = 50
|
||||
# KaTeX mathematical formulas config (KaTeX https://katex.org/)
|
||||
# KaTeX 数学公式配置 (KaTeX https://katex.org/)
|
||||
[params.page.math]
|
||||
|
@ -413,6 +426,8 @@
|
|||
avatar = "mp"
|
||||
meta= ""
|
||||
pageSize = 10
|
||||
# automatically adapt the current theme i18n configuration when empty
|
||||
# 为空时自动适配当前主题 i18n 配置
|
||||
lang = ""
|
||||
visitor = true
|
||||
recordIP = true
|
||||
|
@ -420,15 +435,15 @@
|
|||
enableQQ = false
|
||||
serverURLs = ""
|
||||
# emoji data file name, default is "google.yml"
|
||||
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
|
||||
# located in "themes/LoveIt/assets/data/emoji/" directory
|
||||
# ["apple.yml", "google.yml", "facebook.yml", "twitter.yml"]
|
||||
# located in "themes/LoveIt/assets/lib/valine/emoji/" directory
|
||||
# you can store your own data files in the same path under your project:
|
||||
# "assets/data/emoji/"
|
||||
# "assets/lib/valine/emoji/"
|
||||
# emoji 数据文件名称, 默认是 "google.yml"
|
||||
# ("apple.yml", "google.yml", "facebook.yml", "twitter.yml")
|
||||
# 位于 "themes/LoveIt/assets/data/emoji/" 目录
|
||||
# ["apple.yml", "google.yml", "facebook.yml", "twitter.yml"]
|
||||
# 位于 "themes/LoveIt/assets/lib/valine/emoji/" 目录
|
||||
# 可以在你的项目下相同路径存放你自己的数据文件:
|
||||
# "assets/data/emoji/"
|
||||
# "assets/lib/valine/emoji/"
|
||||
emoji = ""
|
||||
# Facebook comment config (https://developers.facebook.com/docs/plugins/comments)
|
||||
# Facebook 评论系统设置 (https://developers.facebook.com/docs/plugins/comments)
|
||||
|
@ -437,6 +452,8 @@
|
|||
width = "100%"
|
||||
numPosts = 10
|
||||
appId = ""
|
||||
# automatically adapt the current theme i18n configuration when empty
|
||||
# 为空时自动适配当前主题 i18n 配置
|
||||
languageCode = ""
|
||||
# Telegram comments config (https://comments.app/)
|
||||
# Telegram comments 评论系统设置 (https://comments.app/)
|
||||
|
@ -453,8 +470,8 @@
|
|||
# Commento comment 评论系统设置 (https://commento.io/)
|
||||
[params.page.comment.commento]
|
||||
enable = false
|
||||
# Utterances comment config (https://utteranc.es/)
|
||||
# Utterances comment 评论系统设置 (https://utteranc.es/)
|
||||
# utterances comment config (https://utteranc.es/)
|
||||
# utterances comment 评论系统设置 (https://utteranc.es/)
|
||||
[params.page.comment.utterances]
|
||||
enable = false
|
||||
# owner/repo
|
||||
|
@ -463,6 +480,26 @@
|
|||
label = ""
|
||||
lightTheme = "github-light"
|
||||
darkTheme = "github-dark"
|
||||
# giscus comment config (https://giscus.app/)
|
||||
# giscus comment 评论系统设置 (https://giscus.app/zh-CN)
|
||||
[params.page.comment.giscus]
|
||||
# You can refer to the official documentation of giscus to use the following configuration.
|
||||
# 你可以参考官方文档来使用下列配置
|
||||
enable = false
|
||||
repo = ""
|
||||
repoId = ""
|
||||
category = "Announcements"
|
||||
categoryId = ""
|
||||
# automatically adapt the current theme i18n configuration when empty
|
||||
# 为空时自动适配当前主题 i18n 配置
|
||||
lang = ""
|
||||
mapping = "pathname"
|
||||
reactionsEnabled = "1"
|
||||
emitMetadata = "0"
|
||||
inputPosition = "bottom"
|
||||
lazyLoading = false
|
||||
lightTheme = "light"
|
||||
darkTheme = "dark"
|
||||
# Third-party library config
|
||||
# 第三方库配置
|
||||
[params.page.library]
|
||||
|
@ -539,6 +576,12 @@
|
|||
# server url for your tracker if you're self hosting
|
||||
# 自行托管追踪器时的主机路径
|
||||
server = ""
|
||||
# Plausible Analytics
|
||||
[params.analytics.plausible]
|
||||
dataDomain = ""
|
||||
# Yandex Metrica
|
||||
[params.analytics.yandexMetrica]
|
||||
id = ""
|
||||
|
||||
# Cookie consent config
|
||||
# Cookie 许可配置
|
||||
|
@ -555,12 +598,12 @@
|
|||
# 第三方库文件的 CDN 设置
|
||||
[params.cdn]
|
||||
# CDN data file name, disabled by default
|
||||
# ("jsdelivr.yml")
|
||||
# ["jsdelivr.yml"]
|
||||
# located in "themes/LoveIt/assets/data/cdn/" directory
|
||||
# you can store your own data files in the same path under your project:
|
||||
# "assets/data/cdn/"
|
||||
# CDN 数据文件名称, 默认不启用
|
||||
# ("jsdelivr.yml")
|
||||
# ["jsdelivr.yml"]
|
||||
# 位于 "themes/LoveIt/assets/data/cdn/" 目录
|
||||
# 可以在你的项目下相同路径存放你自己的数据文件:
|
||||
# "assets/data/cdn/"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue