为页面自动添加二维码

Web Notes

2017.09.27

为页面自动添加二维码

很早之前我也在博客分享按钮里面添加过二维码,后来换了模板就舍弃了。这次修改这个博客主题,又尝试加回来,鼓捣鼓捣也可以扫一扫了!

简化博客部署

Web Notes

2017.09.24

简化博客部署

利用 GitLab CI 简化博客部署流程,和 GitHub Pages 加 Travis CI 的搭配一样,只需推送 git 即可部署到 Firebase。

Self-host comments in Jekyll, powered by Firebase real-time database

Tutorials / Web Notes

2017.03.25

Self-host comments in Jekyll, powered by Firebase real-time database

It's convenient to set up a comment system in Jekyll site with external social comment systems like Disqus or Duoshuo (多说). However, as you all know, Disqus was blocked in China and Duoshuo is going to shutdown. It's the time to rethink about the comment system (although I didn't get too many comments →_→), simple and controllable. And it becomes true with Firebase database.

Syntax highlight with Rouge in Jekyll

Web Notes / Tutorials

2017.03.18

Syntax highlight with Rouge in Jekyll

By default, Jekyll 3 and versions above integrated with Rouge, a pure Ruby syntax highlighter which supports over 100 languages. Since Rouge themes are compatible with Pygments's stylesheets, it’s nice for us to choose a favourable style.

Jekyll 中使用 KaTeX

Web Notes

2017.02.08

Jekyll 中使用 KaTeX

笔记中遇到公式在所难免,使用 MathJax 可以方便地在网页中渲染这些公式,可一旦公式较多,页面加载起来就很慢,于是使用 KaTeX 加速公式渲染。

Ads by Google
Ads by Google