OhMyIWB/_config.materialis.yml
2026-05-16 03:57:11 +08:00

159 lines
3.6 KiB
YAML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

#欢迎使用 Materialis 主题
#主题作者W-Can1425 system:error
#Comment 请选择一个
#---start---
comment:
service: nothing # 可选: twikoo, waline, giscus
# 侧边栏配置
#---start---
sidebar:
# 用户信息
name: "OhMyIWB"
slogen: "不定期分享 IWB 小知识、软件、更新等内容"
avatar: "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: "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: lxwk # 只能选择一个: lxwk dingtalk pingfang 或者false
#---end---
#Footer
#---start---
# Footer 配置
footer:
# 版权信息
copyright: "以 CC-BY-NC-SA 4.0 开放在公开领域"
# 备案信息(中国用户)
beian:
icp: ""
ps: ""
# 主题名称
theme_name: "materialis"
# 自定义徽章
badges:
- text: "由 MacrosMeng 用♥️制作"
variant: "small"
icon: "volunteer_activism"
href: "/"
# - 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随机排列
data:
about:
name: "OhMyIWB"
title: "不定期分享 IWB 小知识、软件、更新等内容"
description: "你好👋这里是OMI"