Skip to content

Commit de22e1c

Browse files
author
makergyt
committed
optimize
1 parent e2d93a7 commit de22e1c

File tree

5 files changed

+232
-507
lines changed

5 files changed

+232
-507
lines changed

LICENSE

100644100755
File mode changed.

README.md

100644100755
Lines changed: 27 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,35 @@
11
# cnblogs-theme-next
2-
next-theme博客园论文主题
2+
next-theme博客园主题,使用论文格式设计,专注阅读体验
3+
4+
## 特性
5+
- 高度还原[next-theme](https://theme-next.js.org/)
6+
- 响应式设计
7+
- 支持目录
8+
- 论文规范排版
9+
- 与博客园既有特性融合
310

411
## 预览
12+
### 截图
13+
![](https://static01.imgkr.com/temp/8afda14ed79b4a6393fd07026520c96e.gif)
14+
![](https://static01.imgkr.com/temp/4e9579bc084e4740873687ef112722f5.gif)
15+
16+
### 样例
517
[我的博客](https://www.cnblogs.com/makergyt)
618

719
## 使用
820
打开[后台](https://i.cnblogs.com/settings)
921
1. 选择博客皮肤为custom,勾选禁用模板css
10-
2. 将三个文件内容分别复制入相应区域
11-
3.[选项中](https://i.cnblogs.com/preference)勾选**首页仅列出标题与摘要**,**启用数学公式支持**,默认编辑器markdown,控件显示**公告**
12-
4. 通过[随笔](https://i.cnblogs.com/posts)写文章,填写摘要和标签后发布。
22+
2. 将三个文件内容分别复制入相应区域(页首、页尾、定制css)
23+
3.[选项中](https://i.cnblogs.com/preference)勾选**首页仅列出标题与摘要**,控件显示勾选**公告**
24+
4. 通过[随笔](https://i.cnblogs.com/posts)写文章,填写摘要和标签后发布。
25+
5. (可选),由于无法在首页获取头像,如需正常显示,手动在`foot.html`头部配置`avatar`;其他可配置部分如下
26+
- github:右上角跳转github用户名,默认为本仓库链接
27+
- author:作者,默认取后台设置
28+
- siteTitle:网站标题默认取后台设置标题
29+
30+
## 开发
31+
原则
32+
- 能通过脚本获取的信息,如用户已经在管理后台设置的信息,就无需再次配置
33+
- 不应该完全自定义而脱离博客园设置,比如个人信息应该以默认设置为主,尽可能作为补充而不冲突
34+
- 专注于阅读体验而非花里胡哨
35+
- 不必苛求完全与next原主题一致,毕竟该主题也一般需要改动,适合、可用即可。

0 commit comments

Comments
 (0)