-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6e2bbc4
commit 2b91564
Showing
2 changed files
with
36 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
--- | ||
layout: post | ||
title: "博客「装修」小记" | ||
date: 2024-03-14 14:44:37 +0800 | ||
categories: ["2024"] | ||
tags: [thought] | ||
--- | ||
|
||
有段时间没有更新文章了,打开网站忽然就有了换个主题的念头,当时选择 [White-Paper](https://github.com/vinitkumar/white-paper) 是因为考虑到它足够简单,毕竟「less is more」,但是在使用过程中发现它对中文的支持有些水土不服,总结来看主要存在以下问题: | ||
|
||
- h2,h3,h4 标题以及正文的中文大小显示差强人意 | ||
- 正文中列表显示效果差 | ||
- 正文中代码部分显示字体过小,且不提供粘贴按钮 | ||
- 文章的标签归档需要手动执行脚本生成 | ||
- 分页只提供了前后翻页两个按钮,文章数量增长的情况下使用体验不佳 | ||
- 展示的文章摘要只有正文首段文字,过于简短 | ||
- 最后一次代码提交已经是 3 年前 | ||
|
||
基于以下原因的考虑: | ||
|
||
- 页面保持整体简洁,我始终认为文章内容才是一个博客网站的重点 | ||
- 文章中的代码块样式风格显示舒服 | ||
- 支持标签分类,支持内容搜索 | ||
- 能够展示文章发布的时间轴 | ||
- 通用的文档编写规则,改造成本低,方便以后再迁移 | ||
|
||
从而将网站主题风格从 White-Paper 迁移到 [Chirpy](https://github.com/cotes2020/jekyll-theme-chirpy.git)。 | ||
|
||
在迁移的过程中同时也重新较订了以前发布的文章,使其符合 [中文文案排版指北](https://github.com/sparanoid/chinese-copywriting-guidelines/blob/master/README.zh-Hans.md) 规范。修改的时候一篇篇回顾自己以前写的文章,仿佛穿越回当时,回想起当时做的许多事情,从 OpenStack 到 Kubernetes,从上海到宁波…… | ||
|
||
这个博客从最初的 WordPress 迁移到现在的 Github Pages,几经磨难,丢失了许多文章也是难免的,比如这篇 [nova-rootwrap 的源码分析](https://www.cnblogs.com/feisky/p/3876159.html) 就被转载到 cnblogs 才得以幸存下来,自己十几年前写的内容能够在互联网的某个角落中留下点痕迹,想来也是蛮有趣的,这也是我当初想搞个自己域名搭网站写博客的原因。 | ||
|
||
最后,希望自己能够坚持下来,持续不断地多写一些。这样,等下一个十年再回过头来看的时候就能够回忆起更多有趣的事。 |