Skip to content

Commit 83b3be8

Browse files
committed
修改config文件
1 parent 7e73b48 commit 83b3be8

2 files changed

Lines changed: 33 additions & 8 deletions

File tree

‎_config.yml‎

Lines changed: 33 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,24 +1,49 @@
11
# 基本配置
2-
title: tyuecode's blog
3-
description: This is an ordinary blog
2+
title: "TY的博客"
3+
description: "分享编程和生活"
44
baseurl: "" # 如果部署在子路径,填写子路径
55
url: "https://tyuecode.github.io"
66

77
# 作者信息
88
author:
9-
name: tyue
9+
name: TY
1010
email: 1252107428@qq.com
11-
github: tyuecode
11+
avatar: "/asset/MiLogal.jpg" # 作者头像路径
1212

1313
# 主题设置(根据主题不同而异)
1414
theme: minima # 或你的主题名称
1515

16+
# 构建设置
17+
markdown: kramdown # 使用的Markdown解析器
18+
highlighter: rouge # 代码高亮引擎
19+
timezone: "Asia/Shanghai" # 时区设置
20+
21+
source: "." # 源文件目录(通常是项目根目录)
22+
destination: "_site" # 构建输出目录
23+
layouts_dir: "_layouts" # 布局模板目录
24+
includes_dir: "_includes" # 包含文件目录(header、footer等)
25+
26+
27+
# 默认设置
28+
defaults:
29+
- scope:
30+
path: "" # 空表示所有路径
31+
type: "posts" # 仅对posts类型的文件生效
32+
values:
33+
layout: "post" # 默认使用post布局
34+
comments: true # 默认开启评论
35+
share: true # 默认开启分享
36+
37+
- scope:
38+
path: "pages" # 对pages目录下的文件生效
39+
values:
40+
layout: "page" # 默认使用page布局
1641
# 插件
1742
plugins:
18-
- jekyll-feed
19-
- jekyll-seo-tag
20-
21-
# 评论系统(可选)
43+
- jekyll-feed # 生成RSS/Atom订阅源
44+
- jekyll-sitemap # 生成sitemap.xml
45+
- jekyll-seo-tag # SEO优化标签
46+
- jekyll-paginate # 分页功能
2247
# 推荐:Gitalk, Utterances, Disqus
2348
comments:
2449
provider: utterances

‎assets/MiLogal.jpg‎

58.3 KB
Loading

0 commit comments

Comments
 (0)