feat: Multi configs completed
This commit is contained in:
parent
7faef36062
commit
1c7941dd13
157
_config.materialis.yml
Normal file
157
_config.materialis.yml
Normal file
@ -0,0 +1,157 @@
|
|||||||
|
#欢迎使用 Materialis 主题
|
||||||
|
#主题作者:W-Can1425 system:error
|
||||||
|
#Comment 请选择一个
|
||||||
|
#---start---
|
||||||
|
comment:
|
||||||
|
service: twikoo # 可选: twikoo, waline, giscus
|
||||||
|
# 侧边栏配置
|
||||||
|
#---start---
|
||||||
|
sidebar:
|
||||||
|
# 用户信息
|
||||||
|
name: "system:error"
|
||||||
|
slogen: "不定期分享 IWB 小知识、软件、更新等内容"
|
||||||
|
avatar: "https://github.com/MacroMeng.png"
|
||||||
|
# 导航菜单
|
||||||
|
nav:
|
||||||
|
- name: "首页"
|
||||||
|
icon: "home"
|
||||||
|
url: "/"
|
||||||
|
|
||||||
|
- name: "文章归档"
|
||||||
|
icon: "article"
|
||||||
|
url: "/diary/"
|
||||||
|
|
||||||
|
- name: "分类"
|
||||||
|
icon: "category"
|
||||||
|
url: "/categories/"
|
||||||
|
|
||||||
|
- name: "标签"
|
||||||
|
icon: "tag"
|
||||||
|
url: "/tags/"
|
||||||
|
|
||||||
|
- name: "关于"
|
||||||
|
icon: "person"
|
||||||
|
url: "/about/"
|
||||||
|
|
||||||
|
- name: "友链"
|
||||||
|
icon: "link"
|
||||||
|
url: "/links/"
|
||||||
|
|
||||||
|
#---end---
|
||||||
|
#友链配置
|
||||||
|
#---start---
|
||||||
|
links:
|
||||||
|
use: 2 # 0关闭友链 1使用qexo友链 2使用主题友链
|
||||||
|
qexo:
|
||||||
|
url: https://qexo.blog.yizhixiaozhu.top #填写你qexo的地址
|
||||||
|
#---end---
|
||||||
|
#自定义代码
|
||||||
|
#---start---
|
||||||
|
# 自定义资源文件配置
|
||||||
|
custom:
|
||||||
|
# 自定义 CSS 文件
|
||||||
|
# css:
|
||||||
|
# - /css/custom.css
|
||||||
|
# - /css/user-style.css
|
||||||
|
# - https://cdn.example.com/external.css
|
||||||
|
|
||||||
|
# 自定义 JavaScript 文件
|
||||||
|
# js:
|
||||||
|
# - /js/custom.js
|
||||||
|
# - /js/user-script.js
|
||||||
|
# - https://cdn.example.com/external.js
|
||||||
|
|
||||||
|
# 自定义头部代码
|
||||||
|
# head: |
|
||||||
|
|
||||||
|
# <!-- 自定义 meta 标签或其他 head 内容 -->
|
||||||
|
# <meta name="custom-meta" content="value">
|
||||||
|
|
||||||
|
# 自定义底部代码
|
||||||
|
# footer: |
|
||||||
|
# <!-- 自定义统计代码等 -->
|
||||||
|
# <script>
|
||||||
|
# console.log('自定义脚本');
|
||||||
|
# </script>
|
||||||
|
#---end---
|
||||||
|
#字体设置
|
||||||
|
#---start---
|
||||||
|
font:
|
||||||
|
primary: pingfang # 只能选择一个: lxwk dingtalk pingfang 或者false
|
||||||
|
#---end---
|
||||||
|
#Footer
|
||||||
|
#---start---
|
||||||
|
# Footer 配置
|
||||||
|
footer:
|
||||||
|
# 版权信息
|
||||||
|
copyright: "以 CC-BY-NC-SA 4.0 开放在公开领域"
|
||||||
|
|
||||||
|
# 备案信息(中国用户)
|
||||||
|
beian:
|
||||||
|
icp: ""
|
||||||
|
ps: ""
|
||||||
|
|
||||||
|
# 主题名称
|
||||||
|
theme_name: "materialis"
|
||||||
|
|
||||||
|
# 自定义徽章
|
||||||
|
# badges:
|
||||||
|
# - text: "开源"
|
||||||
|
# variant: "small"
|
||||||
|
# icon: "code"
|
||||||
|
# href: "https://github.com/yourname/your-theme"
|
||||||
|
|
||||||
|
# - text: "v1.0.0"
|
||||||
|
# variant: "small"
|
||||||
|
# icon: "tag"
|
||||||
|
|
||||||
|
# - text: "在线"
|
||||||
|
# variant: "small"
|
||||||
|
# icon: "wifi"
|
||||||
|
#---end---
|
||||||
|
#说说
|
||||||
|
#---start---
|
||||||
|
shuoshuo:
|
||||||
|
use: 0 # 0关闭说说 1使用qexo说说 2使用主题说说
|
||||||
|
qexo:
|
||||||
|
url: https://qexo.blog.yizhixiaozhu.top #填写你qexo的地址
|
||||||
|
banner:
|
||||||
|
title: "OhMyIWB"
|
||||||
|
subtitle: "不定期分享 IWB 小知识、软件、更新等内容"
|
||||||
|
projects:
|
||||||
|
enable: false
|
||||||
|
items:
|
||||||
|
- name: "项目一"
|
||||||
|
desc: "项目一的描述"
|
||||||
|
icon: "code"
|
||||||
|
link: "https://github.com/yourusername/project1"
|
||||||
|
color: "primary" # primary, secondary, tertiary, error, info
|
||||||
|
- name: "项目二"
|
||||||
|
desc: "项目二的描述"
|
||||||
|
icon: "terminal"
|
||||||
|
link: "https://github.com/yourusername/project2"
|
||||||
|
color: "secondary"
|
||||||
|
#---end---
|
||||||
|
#纪念日设置
|
||||||
|
#---start---
|
||||||
|
memorial_days:
|
||||||
|
enable: false # 是否启用纪念日黑白效果
|
||||||
|
dates: # 纪念日日期列表 (月-日格式)
|
||||||
|
- 5-12
|
||||||
|
#---end---
|
||||||
|
#链接拦截器
|
||||||
|
#---start---
|
||||||
|
interceptor:
|
||||||
|
enable: flase # 是否启用链接拦截器功能
|
||||||
|
#---end---
|
||||||
|
index_generator:
|
||||||
|
path: ''
|
||||||
|
per_page: 10
|
||||||
|
order_by: -date
|
||||||
|
#date:按文章发布日期升序排列(从旧到新)
|
||||||
|
#-date:按文章发布日期降序排列(从新到旧)- 最常用
|
||||||
|
#updated:按文章更新日期升序排列
|
||||||
|
#-updated:按文章更新日期降序排列
|
||||||
|
#title:按文章标题字母顺序排列
|
||||||
|
#-title:按文章标题字母倒序排列
|
||||||
|
#random:随机排列
|
||||||
10
_config.yml
10
_config.yml
@ -8,17 +8,17 @@ subtitle: '不定期分享 IWB 知识/软件/更新/...的地方'
|
|||||||
description: ''
|
description: ''
|
||||||
keywords:
|
keywords:
|
||||||
author: MacrosMeng
|
author: MacrosMeng
|
||||||
language: zh-cn
|
language: zh-CN
|
||||||
timezone: ''
|
timezone: ''
|
||||||
|
|
||||||
# URL
|
# URL
|
||||||
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||||
url: http://example.com
|
url: http://ohmyiwb.mm666.qzz.io
|
||||||
permalink: :year/:month/:day/:title/
|
permalink: :year/:month/:day/:title/
|
||||||
permalink_defaults:
|
permalink_defaults:
|
||||||
pretty_urls:
|
pretty_urls:
|
||||||
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
|
trailing_index: false # Set to false to remove trailing 'index.html' from permalinks
|
||||||
trailing_html: true # Set to false to remove trailing '.html' from permalinks
|
trailing_html: false # Set to false to remove trailing '.html' from permalinks
|
||||||
|
|
||||||
# Directory
|
# Directory
|
||||||
source_dir: source
|
source_dir: source
|
||||||
@ -96,7 +96,7 @@ ignore:
|
|||||||
# Extensions
|
# Extensions
|
||||||
## Plugins: https://hexo.io/plugins/
|
## Plugins: https://hexo.io/plugins/
|
||||||
## Themes: https://hexo.io/themes/
|
## Themes: https://hexo.io/themes/
|
||||||
theme: landscape
|
theme: Materialis
|
||||||
|
|
||||||
# Deployment
|
# Deployment
|
||||||
## Docs: https://hexo.io/docs/one-command-deployment
|
## Docs: https://hexo.io/docs/one-command-deployment
|
||||||
|
|||||||
111
_config.yml.bak
Normal file
111
_config.yml.bak
Normal file
@ -0,0 +1,111 @@
|
|||||||
|
# Hexo Configuration
|
||||||
|
## Docs: https://hexo.io/docs/configuration.html
|
||||||
|
## Source: https://github.com/hexojs/hexo/
|
||||||
|
|
||||||
|
# Site
|
||||||
|
title: OhMyIWB
|
||||||
|
subtitle: '不定期分享 IWB 知识/软件/更新/...的地方'
|
||||||
|
description: ''
|
||||||
|
keywords:
|
||||||
|
author: MacrosMeng
|
||||||
|
language: zh-CN
|
||||||
|
timezone: ''
|
||||||
|
|
||||||
|
# URL
|
||||||
|
## Set your site url here. For example, if you use GitHub Page, set url as 'https://username.github.io/project'
|
||||||
|
url: http://ohmyiwb.mm666.qzz.io
|
||||||
|
permalink: :year/:month/:day/:title/
|
||||||
|
permalink_defaults:
|
||||||
|
pretty_urls:
|
||||||
|
trailing_index: true # Set to false to remove trailing 'index.html' from permalinks
|
||||||
|
trailing_html: true # Set to false to remove trailing '.html' from permalinks
|
||||||
|
|
||||||
|
# Directory
|
||||||
|
source_dir: source
|
||||||
|
public_dir: public
|
||||||
|
tag_dir: tags
|
||||||
|
archive_dir: archives
|
||||||
|
category_dir: categories
|
||||||
|
code_dir: downloads/code
|
||||||
|
i18n_dir: :lang
|
||||||
|
skip_render:
|
||||||
|
|
||||||
|
# Writing
|
||||||
|
new_post_name: :title.md # File name of new posts
|
||||||
|
default_layout: post
|
||||||
|
titlecase: false # Transform title into titlecase
|
||||||
|
external_link:
|
||||||
|
enable: true # Open external links in new tab
|
||||||
|
field: site # Apply to the whole site
|
||||||
|
exclude: ''
|
||||||
|
filename_case: 0
|
||||||
|
render_drafts: false
|
||||||
|
post_asset_folder: false
|
||||||
|
relative_link: false
|
||||||
|
future: true
|
||||||
|
syntax_highlighter: highlight.js
|
||||||
|
highlight:
|
||||||
|
line_number: true
|
||||||
|
auto_detect: false
|
||||||
|
tab_replace: ''
|
||||||
|
wrap: true
|
||||||
|
hljs: false
|
||||||
|
prismjs:
|
||||||
|
preprocess: true
|
||||||
|
line_number: true
|
||||||
|
tab_replace: ''
|
||||||
|
|
||||||
|
# Home page setting
|
||||||
|
# path: Root path for your blogs index page. (default = '')
|
||||||
|
# per_page: Posts displayed per page. (0 = disable pagination)
|
||||||
|
# order_by: Posts order. (Order by date descending by default)
|
||||||
|
index_generator:
|
||||||
|
path: ''
|
||||||
|
per_page: 10
|
||||||
|
order_by: -date
|
||||||
|
|
||||||
|
# Category & Tag
|
||||||
|
default_category: uncategorized
|
||||||
|
category_map:
|
||||||
|
tag_map:
|
||||||
|
|
||||||
|
# Metadata elements
|
||||||
|
## https://developer.mozilla.org/en-US/docs/Web/HTML/Element/meta
|
||||||
|
meta_generator: true
|
||||||
|
|
||||||
|
# Date / Time format
|
||||||
|
## Hexo uses Moment.js to parse and display date
|
||||||
|
## You can customize the date format as defined in
|
||||||
|
## http://momentjs.com/docs/#/displaying/format/
|
||||||
|
date_format: YYYY-MM-DD
|
||||||
|
time_format: HH:mm:ss
|
||||||
|
## updated_option supports 'mtime', 'date', 'empty'
|
||||||
|
updated_option: 'mtime'
|
||||||
|
|
||||||
|
# Pagination
|
||||||
|
## Set per_page to 0 to disable pagination
|
||||||
|
per_page: 10
|
||||||
|
pagination_dir: page
|
||||||
|
|
||||||
|
# Include / Exclude file(s)
|
||||||
|
## include:/exclude: options only apply to the 'source/' folder
|
||||||
|
include:
|
||||||
|
exclude:
|
||||||
|
ignore:
|
||||||
|
|
||||||
|
# Extensions
|
||||||
|
## Plugins: https://hexo.io/plugins/
|
||||||
|
## Themes: https://hexo.io/themes/
|
||||||
|
theme: landscape
|
||||||
|
|
||||||
|
# Deployment
|
||||||
|
## Docs: https://hexo.io/docs/one-command-deployment
|
||||||
|
deploy:
|
||||||
|
type: ''
|
||||||
|
|
||||||
|
feed:
|
||||||
|
type: atom,rss
|
||||||
|
path: feed.xml
|
||||||
|
limit: 20
|
||||||
|
content: true
|
||||||
|
order_by: -date
|
||||||
@ -9,7 +9,7 @@
|
|||||||
"server": "hexo server"
|
"server": "hexo server"
|
||||||
},
|
},
|
||||||
"hexo": {
|
"hexo": {
|
||||||
"version": ""
|
"version": "8.1.2"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"hexo": "^8.0.0",
|
"hexo": "^8.0.0",
|
||||||
|
|||||||
1944
pnpm-lock.yaml
generated
Normal file
1944
pnpm-lock.yaml
generated
Normal file
File diff suppressed because it is too large
Load Diff
2
pnpm-workspace.yaml
Normal file
2
pnpm-workspace.yaml
Normal file
@ -0,0 +1,2 @@
|
|||||||
|
allowBuilds:
|
||||||
|
hexo-util: set this to true or false
|
||||||
22
source/_posts/about.yml
Normal file
22
source/_posts/about.yml
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
name: "你的名字"
|
||||||
|
title: "前端开发者 & 博主"
|
||||||
|
description: "这里写关于我的详细介绍,可以写多行文字..."
|
||||||
|
|
||||||
|
skills:
|
||||||
|
- "Updates"
|
||||||
|
- "Skills"
|
||||||
|
- "Softwares"
|
||||||
|
- "More"
|
||||||
|
|
||||||
|
contacts:
|
||||||
|
- name: "STCN论坛帖子"
|
||||||
|
icon: "chat"
|
||||||
|
link: "https://forum.smart-teach.cn/d/1783"
|
||||||
|
- name: "联系我"
|
||||||
|
icon: "email"
|
||||||
|
link: "mailto:meng-yc@outook.com"
|
||||||
|
|
||||||
|
projects:
|
||||||
|
- name: "1145141919810"
|
||||||
|
description: "我是滚木"
|
||||||
|
link: "about:blank"
|
||||||
9
source/_posts/links.yml
Normal file
9
source/_posts/links.yml
Normal file
@ -0,0 +1,9 @@
|
|||||||
|
- name: STCN 论坛
|
||||||
|
url: https://forum.smart-teach.cn
|
||||||
|
avatar: https://forum.smart-teach.cn/assets/favicon-v4ksoaxf.png
|
||||||
|
desc: 智教联盟论坛 - 智教联盟致力于为教学辅助类应用提供全方面扶持与帮助。
|
||||||
|
|
||||||
|
- name: MacrosMeng
|
||||||
|
url: https://mm666.qzz.io
|
||||||
|
avatar: https://mm666.qzz.io/images/AvatarPic.png
|
||||||
|
desc: MacrosMeng 的个人网站
|
||||||
6
source/about/index.md
Normal file
6
source/about/index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: about
|
||||||
|
date: 2026-5-16 00:00:00
|
||||||
|
type: about
|
||||||
|
layout: about
|
||||||
|
---
|
||||||
6
source/categories/index.md
Normal file
6
source/categories/index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: categories
|
||||||
|
date: 2026-05-16 00:00:00
|
||||||
|
type: categories
|
||||||
|
layout: categories
|
||||||
|
---
|
||||||
6
source/diary/index.md
Normal file
6
source/diary/index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: diary
|
||||||
|
date: 2026-05-16 00:00:00
|
||||||
|
type: diary
|
||||||
|
layout: diary
|
||||||
|
---
|
||||||
6
source/links/index.md
Normal file
6
source/links/index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: links
|
||||||
|
date: 2026-05-16 00:00:00
|
||||||
|
type: friend
|
||||||
|
layout: friend
|
||||||
|
---
|
||||||
6
source/tags/index.md
Normal file
6
source/tags/index.md
Normal file
@ -0,0 +1,6 @@
|
|||||||
|
---
|
||||||
|
title: tags
|
||||||
|
date: 2026-05-16 00:00:00
|
||||||
|
type: tags
|
||||||
|
layout: tags
|
||||||
|
---
|
||||||
1
themes/Materialis
Submodule
1
themes/Materialis
Submodule
@ -0,0 +1 @@
|
|||||||
|
Subproject commit c1b939c4991f96446a3adbc93ebe2745706c796c
|
||||||
Loading…
x
Reference in New Issue
Block a user