It’s Christmas again. The renewed blog has seen the comeback of the whitey snow.
Find it in the side bar and try it out!
Wee waa ra vit rre hymmnos coall here
It’s Christmas again. The renewed blog has seen the comeback of the whitey snow.
Find it in the side bar and try it out!
Wee waa ra vit rre hymmnos coall here
GitHub Pages 是 GitHub 不知道在哪一年推出的网站托管服务。用户将网站内容放在一个 GitHub 仓库中(无论仓库是公共还是私有的),然后喝口水的功夫,网站就建立起来了。
GitHub Pages 有如下几个好处:
用户可以通过如下的几种方式部署 GitHub Pages:
<username/org name>.github.io
的仓库作为网站的根目录 (webroot)master
或 gh-pages
分支作为网站的根目录master
分支的 docs/
文件夹作为网站的根目录在方式 1 下,默认可以通过<username/org name>.github.io
访问建立的网站;而在方式 2 和 3 下,默认通过 <username/org name>.github.io/<repo name>
进行访问。
除了给定的域名,GitHub Pages 还提供了自定义域名的选项,支持 example.com
和 www.example.com
形式的域名。具体看 wiki 。
通常来说,建一个博客需要如下几个部分:
使用网页托管服务,相当于用户交出了对服务器的完全控制,这有其两面性:用户可以不管什么阿帕奇,什么引擎X,但用户在服务器层面上能有多大的自由,完全取决于托管服务商的支持。
在 GitHub Pages 为例,用户失去了:
其实没怎么。
由于上一篇博客中做的修改,现在的 RSS 变成了一个到中文 RSS Feed 的 HTTP 重定向。用 GitHub Pages 会使得无法重定向,导致 RSS 订阅会掉。
另外一个没有提及的问题是 GitHub Pages 的罪恶连锁:
不使用
.github.io -> 自定义域名不能使用 CNAME -> 自定义域名使用 A 记录 -> 每次部署的时候报警
以及
不使用
.github.io -> 自定义域名不能使用 CNAME -> 自定义域名使用 A 记录 -> 随机 302
其中第二个问题是由于 GitHub 方面需要平衡负载而导致的。
再说。
借助 hexo generator multilingual feed 的帮助,本站的 RSS feed 实现了语言的隔离。
中文文章的 RSS feed RSS feed of English posts
当然 原来的 RSS feed 还是任何语言都会有的。
本来想实现 post 的隔离,但既不会又不想去学。所以就搁置啦!
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.
A progamer.
Student(probably)