mirror of
https://github.com/idanoo/m2.nz
synced 2025-07-05 06:12:15 +00:00
Update Theme
This commit is contained in:
parent
a212477863
commit
d47be661bd
212 changed files with 13069 additions and 8406 deletions
|
@ -1,7 +1,5 @@
|
|||
baseURL = "https://example.com"
|
||||
# determines default content language [en, zh-cn, fr, pl, ...]
|
||||
# 设置默认的语言 [en, zh-cn, fr, pl, ...]
|
||||
defaultContentLanguage = "en"
|
||||
|
||||
# theme
|
||||
# 主题
|
||||
theme = "LoveIt"
|
||||
|
@ -13,20 +11,27 @@ themesDir = "../.."
|
|||
# 网站标题
|
||||
title = "LoveIt"
|
||||
|
||||
# language code [en, zh-CN, fr, pl, ...]
|
||||
# 网站语言, 仅在这里 CN 大写 [en, zh-CN, fr, pl, ...]
|
||||
# determines default content language ["en", "zh-cn", "fr", "pl", ...]
|
||||
# 设置默认的语言 ["en", "zh-cn", "fr", "pl", ...]
|
||||
defaultContentLanguage = "en"
|
||||
# language code ["en", "zh-CN", "fr", "pl", ...]
|
||||
# 网站语言, 仅在这里 CN 大写 ["en", "zh-CN", "fr", "pl", ...]
|
||||
languageCode = "en"
|
||||
# language name [English, 简体中文, Français, Polski, ...]
|
||||
# 语言名称 [English, 简体中文, Français, Polski, ...]
|
||||
# language name ["English", "简体中文", "Français", "Polski", ...]
|
||||
# 语言名称 ["English", "简体中文", "Français", "Polski", ...]
|
||||
languageName = "English"
|
||||
# whether to include Chinese/Japanese/Korean
|
||||
# 是否包括中日韩文字
|
||||
hasCJKLanguage = false
|
||||
|
||||
# default amount of posts in each pages
|
||||
# 默认每页列表显示的文章数目
|
||||
paginate = 12
|
||||
# [UA-XXXXXXXX-X] google analytics code
|
||||
# google analytics code [UA-XXXXXXXX-X]
|
||||
# 谷歌分析代号 [UA-XXXXXXXX-X]
|
||||
googleAnalytics = ""
|
||||
# copyright description used only for seo schema
|
||||
# 版权描述,仅仅用于 SEO
|
||||
copyright = ""
|
||||
|
||||
# whether to use robots.txt
|
||||
|
@ -39,6 +44,10 @@ enableGitInfo = true
|
|||
# 是否使用 emoji 代码
|
||||
enableEmoji = true
|
||||
|
||||
# ignore some build errors
|
||||
# 忽略一些构建错误
|
||||
ignoreErrors = ["error-remote-getjson", "error-missing-instagram-accesstoken"]
|
||||
|
||||
# Author config
|
||||
# 作者配置
|
||||
[author]
|
||||
|
@ -81,14 +90,16 @@ enableEmoji = true
|
|||
title = ""
|
||||
|
||||
[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 = "https://github.com/dillonzq/LoveIt"
|
||||
# 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
|
||||
# 日期格式
|
||||
|
@ -106,11 +117,11 @@ enableEmoji = true
|
|||
# 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
|
||||
# 页面头部导航栏标题配置
|
||||
|
@ -209,8 +220,8 @@ enableEmoji = true
|
|||
# 搜索配置
|
||||
[params.search]
|
||||
enable = true
|
||||
# type of search engine ("lunr", "algolia")
|
||||
# 搜索引擎的类型 ("lunr", "algolia")
|
||||
# type of search engine ["lunr", "algolia"]
|
||||
# 搜索引擎的类型 ["lunr", "algolia"]
|
||||
type = "algolia"
|
||||
# max index length of the chunked content
|
||||
# 文章内容最长索引长度
|
||||
|
@ -254,8 +265,8 @@ enableEmoji = true
|
|||
# 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 = "A Clean, Elegant but Advanced Hugo Theme"
|
||||
# whether to use typeit animation for subtitle
|
||||
# 是否为副标题显示打字机动画
|
||||
|
@ -338,6 +349,16 @@ enableEmoji = true
|
|||
XMPP = ""
|
||||
Matrix = ""
|
||||
Bilibili = ""
|
||||
Discord = ""
|
||||
DiscordInvite = ""
|
||||
Lichess = ""
|
||||
ORCID = ""
|
||||
Pleroma = ""
|
||||
Kaggle = ""
|
||||
MediaWiki= ""
|
||||
Plume = ""
|
||||
HackTheBox = ""
|
||||
RootMe= ""
|
||||
Email = ""
|
||||
RSS = ""
|
||||
|
||||
|
@ -391,7 +412,7 @@ enableEmoji = true
|
|||
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]
|
||||
|
@ -490,6 +511,8 @@ enableEmoji = true
|
|||
avatar = "mp"
|
||||
meta= ""
|
||||
pageSize = 10
|
||||
# automatically adapt the current theme i18n configuration when empty
|
||||
# 为空时自动适配当前主题 i18n 配置
|
||||
lang = ""
|
||||
visitor = true
|
||||
recordIP = true
|
||||
|
@ -497,15 +520,15 @@ enableEmoji = true
|
|||
enableQQ = false
|
||||
serverURLs = "https://leancloud.hugoloveit.com"
|
||||
# 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)
|
||||
|
@ -514,6 +537,8 @@ enableEmoji = true
|
|||
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/)
|
||||
|
@ -530,8 +555,8 @@ enableEmoji = true
|
|||
# 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
|
||||
|
@ -540,6 +565,26 @@ enableEmoji = true
|
|||
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]
|
||||
|
@ -616,6 +661,12 @@ enableEmoji = true
|
|||
# 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 许可配置
|
||||
|
@ -632,12 +683,12 @@ enableEmoji = true
|
|||
# 第三方库文件的 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/"
|
||||
|
@ -734,6 +785,8 @@ enableEmoji = true
|
|||
taxonomy = ["HTML", "RSS"]
|
||||
taxonomyTerm = ["HTML"]
|
||||
|
||||
# Multilingual
|
||||
# 多语言
|
||||
[languages]
|
||||
[languages.en]
|
||||
weight = 1
|
||||
|
@ -815,7 +868,6 @@ enableEmoji = true
|
|||
typeit = true
|
||||
social = true
|
||||
disclaimer = ""
|
||||
# Social config in home page
|
||||
[languages.en.params.social]
|
||||
GitHub = "xxxx"
|
||||
Twitter = "xxxx"
|
||||
|
@ -823,6 +875,7 @@ enableEmoji = true
|
|||
Facebook = "xxxx"
|
||||
Telegram = "xxxx"
|
||||
Youtubelegacy = "xxxx"
|
||||
Phone = "555-555-555"
|
||||
Email = "xxxx@xxxx.com"
|
||||
RSS = true
|
||||
[languages.en.params.social.Mastodon]
|
||||
|
@ -917,4 +970,5 @@ enableEmoji = true
|
|||
Devto = "xxxx"
|
||||
Bilibili = "xxxx"
|
||||
Email = "xxxx@xxxx.com"
|
||||
Phone = "555-555-555"
|
||||
RSS = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue