添加文档

修改主题配置
This commit is contained in:
xzh
2025-03-27 18:29:25 +08:00
parent 185e180f09
commit f45ac97711
18 changed files with 1406 additions and 190 deletions

View File

@@ -37,67 +37,67 @@ nav:
# Menu
# 菜单
menu:
首页: / # name: link
文库: # name
全部文章: /archives/ || fas fa-folder-closed # item name: link || icon
全部分类: /categories/ || fas fa-clone
全部标签: /tags/ || fas fa-tags
友链:
朋友圈: /moments/ || fas fa-wifi
友情链接: /links/ || fas fa-user-group
宝藏博主: javascript:travelling() || fas fa-gift
关于:
我的装备: /equipment/ || fas fa-laptop
在线工具: /tlink/ || fas fa-toolbox
音乐馆: /music/ || fas fa-music
# 首页: / # name: link
文库: # name
全部文章: /archives/ || fas fa-folder-closed # item name: link || icon
全部分类: /categories/ || fas fa-clone
全部标签: /tags/ || fas fa-tags
友链:
朋友圈: /moments/ || fas fa-wifi
友情链接: /links/ || fas fa-user-group
宝藏博主: javascript:travelling() || fas fa-gift
关于:
我的装备: /equipment/ || fas fa-laptop
在线工具: /tlink/ || fas fa-toolbox
音乐馆: /music/ || fas fa-music
# Right button
# 右侧按钮
right:
random: false # Random article / 随机文章按钮
custom:
# - name: 开往 # 名字
# url: https://www.travellings.cn/go.html # 跳转链接
# icon: fas fa-train # 图标
# onclick: # 点击事件
# id: travellings_button # id
# - name: 开往 # 名字
# url: https://www.travellings.cn/go.html # 跳转链接
# icon: fas fa-train # 图标
# onclick: # 点击事件
# id: travellings_button # id
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
# Home Top Banner
# 首页顶部
hometop:
enable: false
enable: true
banner:
title: 分享技术<br >与科技生活 # 大字
desc:
一个热爱生活的人 # 小字
# - 我只是一个普通的程序员
# - 但我有一个不平凡的梦想
# - 我希望能够改变世界
# - 我希望能够改变世界
icon:
# HTML: # name
# img: https://i.postimg.cc/vBWVnY8q/html.png # url
# color: "#e9572b" # color
# JS:
# img: https://i.postimg.cc/3N10Ltv2/js.png
# color: "#f7cb4f"
# Docker:
# img: https://i.postimg.cc/8Pk6Fg24/docker.png
# color: "#57b6e6"
# Flutter:
# img: https://i.postimg.cc/hPC7T3gB/flutter.png
# color: "#ffffff"
# WebPack:
# img: https://i.postimg.cc/dVLZBmtT/webpack.png
# color: "#2e3a41"
# Git:
# img: https://i.postimg.cc/nhgjwjCS/git.png
# color: "#df5b40"
HTML: # name
img: https://i.postimg.cc/vBWVnY8q/html.png # url
color: "#e9572b" # color
JS:
img: https://i.postimg.cc/3N10Ltv2/js.png
color: "#f7cb4f"
Docker:
img: https://i.postimg.cc/8Pk6Fg24/docker.png
color: "#57b6e6"
Flutter:
img: https://i.postimg.cc/hPC7T3gB/flutter.png
color: "#ffffff"
WebPack:
img: https://i.postimg.cc/dVLZBmtT/webpack.png
color: "#2e3a41"
Git:
img: https://i.postimg.cc/nhgjwjCS/git.png
color: "#df5b40"
group:
# 热门: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37)
# 热门: /tags/Fire/ || fas fa-fire || linear-gradient(to right,#f65,#ffbf37)
recommendList:
enable: true
enable: false
sup: 置顶
title: Solitude 官方文档
url: https://solitude.js.org/
@@ -148,9 +148,9 @@ aside:
night: 早点休息
goodnight: 晚安 😴
witty_words:
# - 你可以的
# - 你一定可以的
# - 祝你好运,陌生人
# - 你可以的
# - 你一定可以的
# - 祝你好运,陌生人
# social
# 社交信息图标
information:
@@ -175,7 +175,7 @@ aside:
limit: 20 # Number of tags displayed
# Highlighted tags
highlight_list:
# - Hexo
# - Hexo
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -200,7 +200,7 @@ aside:
runtimeenable: true
# Format: yyyy-MM-dd hh-mm-ss
# 格式: yyyy-MM-dd hh-mm-ss
runtime: "2023-04-20 00:00:00"
runtime: "2020-08-01 00:00:00"
# --------------------------- end ---------------------------
# --------------------------- end ---------------------------
@@ -226,7 +226,7 @@ page:
# Default image when no cover is set
# 未设置封面时的默认图片
cover:
# - /img/default.png # 默认图片 / default cover
# - /img/default.png # 默认图片 / default cover
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -237,14 +237,14 @@ post:
# Default image when no cover is set
# 未设置封面时的默认图片
cover:
# - # 默认图片 / default cover
# - # 默认图片 / default cover
# Location
# 位置
locate: China
locate: 成都
# Copyright
# 版权
copyright:
enable: true
enable: false
author: /img/logo.png # url
# License
# 许可证
@@ -255,30 +255,30 @@ post:
# Article Local AI
# 文章本地AI
ai:
enable: false
enable: true
modelName: 小七 GPT
# Article meta information
# 文章元信息
meta:
# Release date
# 发布日期
date: false
date: true
# Update date
# 更新日期
updated: false
updated: true
# Location
# 位置
locate: false
locate: true
# Number of words
# 字数
wordcount: false
wordcount: true
# uv
readtime: false
readtime: true
# pv
pv: false
pv: true
# Comment count
# 评论数
comment: false
comment: true
# Reward
# 打赏
award:
@@ -291,25 +291,25 @@ post:
# Reward list
# 打赏列表
list:
# - name: Github Sponsor
# qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color
# url: https://github.com/sponsors/everfu
# color: var(--efu-black)
# - name: Github Sponsor
# qcode: https://s3.qjqq.cn/47/661ba900c4bc1.webp!color
# url: https://github.com/sponsors/everfu
# color: var(--efu-black)
# Share icon
# 分享图标
share:
enable: false
list:
# - qq
# - weibo
# - twitter
# - facebook
# - telegram
# - whatsapp
# - linkedin
# - link
# - qrcode
# - qq
# - weibo
# - twitter
# - facebook
# - telegram
# - whatsapp
# - linkedin
# - link
# - qrcode
rss: # /atom.xml
# Article reading progress
# 文章封面取色
@@ -378,7 +378,7 @@ background:
# When the user exits the page, modify the title
# 当用户退出页面时,修改标题
lure:
enable: true
enable: false
jump: 404 Not Found
back: ヾ(≧∇≦*)ゝHey, hey, you fell for it.
# --------------------------- end ---------------------------
@@ -390,8 +390,8 @@ expire:
enable: true
time: 30 # days
position: top # top / bottom
text_prev: "This article expired "
text_next: " day ago, if the content does not match, please contact the webmaster to update it."
text_prev: "本文已过期 "
text_next: " 天前,如果内容不匹配,请联系站长进行更新。"
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -421,31 +421,31 @@ right_menu:
enable: true
# Whether to display the hot comment switch.
# 是否显示热门评论开关
commentBarrage: false
commentBarrage: true
# Whether to display the browser's context menu when hold Ctrl key.
# 是否在按住 Ctrl 键时显示浏览器右键菜单
ctrlOriginalMenu: false
ctrlOriginalMenu: true
# Simplified and Traditional Chinese translation.
# 简繁体转换
translate: false
translate: true
# Custom list
# 自定义列表
custom_list:
# - name: 随机文章
# click: toRandomPost()
# id: menu-randomPost
# class:
# icon: fas fa-tower-broadcast
# - name: 全部分类
# click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content.
# id:
# class:
# icon: fas fa-clone
# - name: 全部标签
# click: pjax.loadUrl('/tags/')
# id:
# class:
# icon: fas fa-tags
- name: 随机文章
click: toRandomPost()
id: menu-randomPost
class:
icon: fas fa-tower-broadcast
- name: 全部分类
click: pjax.loadUrl('/categories/') # External links with window.open, pjax can not request cross-domain content.
id:
class:
icon: fas fa-clone
- name: 全部标签
click: pjax.loadUrl('/tags/')
id:
class:
icon: fas fa-tags
# --------------------------- end -----------------------
# --------------------------- start ---------------------------
@@ -529,48 +529,48 @@ footer:
information:
author: false # img url / false
left:
# Github: https://github.com/everfu || fab fa-github # 名称: 链接 || 图标
# Mail: mailto:o@everfu.org || far fa-envelope
# Github: https://github.com/everfu || fab fa-github # 名称: 链接 || 图标
# Mail: mailto:o@everfu.org || far fa-envelope
right:
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
# Bilibili: https://space.bilibili.com/1329819902 || fab fa-bilibili
# Douyin: https://v.douyin.com/iJsLc8jt/ || fab fa-tiktok
# 友情链接
group:
# 导航:
# Archives: /archives/
# Categories: /categories/
# Tags: /tags/
# 排列:
# Cookies: /cookies/
# Privacy: /privacy/
# Copyright: /copyright/
# 导航:
# Archives: /archives/
# Categories: /categories/
# Tags: /tags/
# 排列:
# Cookies: /cookies/
# Privacy: /privacy/
# Copyright: /copyright/
# 随机友链
randomlink: false # 随机友链
# 备案
beian:
- name: 蜀ICP备2022000018号
icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png
url: https://beian.mps.gov.cn/#/query/webSearch
- name: 蜀ICP备2022000018号-1
icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png
url: https://beian.miit.gov.cn/
- name: 蜀ICP备2022000018号
icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png
url: https://beian.miit.gov.cn/
# - name: 蜀ICP备2022000018号-1
# icon: https://beian.mps.gov.cn/img/logo01.dd7ff50e.png
# url: https://beian.miit.gov.cn/
# 页脚信息文字
links:
# - name: RSS
# url: /atom.xml
# - name: License
# url: https://github.com/everfu/hexo-theme-solitude/blob/main/LICENSE
# icon:
# - fas fa-copyright
# - fab fa-creative-commons-by
# - fab fa-creative-commons-nc
# - fab fa-creative-commons-nd
# - name: boringbay
# url: https://boringbay.com/
# img: https://boringbay.com/api/badge/www.efu.me
# - name: RSS
# url: /atom.xml
# - name: License
# url: https://github.com/everfu/hexo-theme-solitude/blob/main/LICENSE
# icon:
# - fas fa-copyright
# - fab fa-creative-commons-by
# - fab fa-creative-commons-nc
# - fab fa-creative-commons-nd
# - name: boringbay
# url: https://boringbay.com/
# img: https://boringbay.com/api/badge/www.efu.me
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -613,18 +613,18 @@ capsule:
keyboard:
enable: false
list:
# - name: 关闭快捷菜单
# key: K
# func: keyboard
# - name: 打开控制台
# key: A
# sco: showConsole
# - name: 播放/暂停音乐
# key: M
# sco: musicToggle
# - name: 打开友链
# key: L
# url: /links/
# - name: 关闭快捷菜单
# key: K
# func: keyboard
# - name: 打开控制台
# key: A
# sco: showConsole
# - name: 播放/暂停音乐
# key: M
# sco: musicToggle
# - name: 打开友链
# key: L
# url: /links/
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -703,13 +703,13 @@ memorial:
OpenGraph:
enable: false
options:
# twitter_card:
# twitter_image:
# twitter_id:
# twitter_site:
# google_plus:
# fb_admins:
# fb_app_id:
# twitter_card:
# twitter_image:
# twitter_id:
# twitter_site:
# google_plus:
# fb_admins:
# fb_app_id:
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -738,10 +738,10 @@ katex:
# verification
# 验证
verify_site:
# - name: google-site-verification
# content: xxxxxx
# - name: baidu-site-verification
# content: xxxxxxx
# - name: google-site-verification
# content: xxxxxx
# - name: baidu-site-verification
# content: xxxxxxx
# --------------------------- end ---------------------------
# --------------------------- start ---------------------------
@@ -787,27 +787,27 @@ pwa:
comment:
# Which commenting system to use(e.g. waline or waline,twikoo)
# 使用哪个评论系统(例如: waline or waline,twikoo
use: # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
use: twikoo # waline, twikoo, valine, artalk, giscus # Up to two comment systems can be turned on at the same time
# Whether to display the hot comment switch.
# 是否显示热门评论开关
commentBarrage: false
commentBarrage: true
# Lazy load
# 懒加载评论区
lazyload: false
lazyload: true
# Whether to display the comment count
# 显示评论数
count: false
count: true
# Sidebar displays the total number of comments
# Sidebar 显示总评论数
sidebar: false
sidebar: true
# PV
pv: false
pv: true
# Avatar
avatar: https://gravatar.com/avatar
# Hot comment tips
# 热评提示
hot_tip:
enable: false
enable: true
# Number of hot comments
count: 3
# recent comments(⚠️ Comments need to be configured first.)
@@ -857,19 +857,19 @@ giscus:
# --------------------------- start ---------------------------
# Search
search:
enable: false
type: # local / algolia / docsearch
enable: true
type: local # local / algolia / docsearch
tags:
# - Solitude
# - Hexo
# - Solitude
# - Hexo
# Algolia
algolia:
# hits:
# per_page: 6
# hits:
# per_page: 6
# Local search
local:
preload: false
preload: true
CDN: # url: search.xml
# DocSearch
@@ -978,34 +978,34 @@ CDN:
custom_format: https://fastly.jsdelivr.net/npm/${name}@${version}/${min_file} # 自定义格式
# 直接覆盖默认 CDN 链接(优先级最高)
options:
# algolia_search:
# aplayer_css:
# aplayer_js:
# artalk_css:
# artalk_js:
# blueimp_md5:
# busuanzi_js:
# chart_js:
# color_thief:
# fancyapps_css:
# fancyapps_ui:
# fontawesome:
# instantsearch:
# katex:
# katex_copytex:
# lazyload:
# medium_zoom:
# mermaid_js:
# meting_js:
# pace_js:
# pjax:
# qrcode:
# snackbar:
# swiper_css:
# swiper_js:
# twikoo:
# typeit_js:
# valine:
# waline_css:
# waline_js:
# algolia_search:
# aplayer_css:
# aplayer_js:
# artalk_css:
# artalk_js:
# blueimp_md5:
# busuanzi_js:
# chart_js:
# color_thief:
# fancyapps_css:
# fancyapps_ui:
# fontawesome:
# instantsearch:
# katex:
# katex_copytex:
# lazyload:
# medium_zoom:
# mermaid_js:
# meting_js:
# pace_js:
# pjax:
# qrcode:
# snackbar:
# swiper_css:
# swiper_js:
# twikoo:
# typeit_js:
# valine:
# waline_css:
# waline_js:
# --------------------------- end ---------------------------