logo

generated by autopages

Archives :: Jekyll

Self-host comments in Jekyll, powered by Firebase real-time database
most recent
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.
2017-03-25

get more
Syntax highlight with Rouge in Jekyll
Syntax highlight with Rouge in Jekyll

By default, Jekyll 3 and above versions comes with Rouge, a pure Ruby syntax highlighter which supports 98 languages. Since Rouge themes are compatible with Pygments’s stylesheets, it’s nice for us to choose the favourable styles.
2017-03-18

Figure caption for images on Jekyll sites - single line with Markdown
Figure caption for images on Jekyll sites - single line with Markdown

Markdown makes writing blog posts simple and fast, but sometimes that simplicity comes with limitations. Recently on updating this blog theme, I'm intend to include images in the post with captions, and there wasn’t a straightforward way using Markdown. While adding an img tag is very easy with Markdown, I would have to do some fiddling to inset the caption.
2016-09-22

Using Liquid in Jekyll - live with demos
Using Liquid in Jekyll - live with demos

Liquid is a simple templating language that Jekyll uses to process pages on your site. With Liquid you can output an modify variables, have logic statements inside your pages and loop over content.
2016-08-20

Related posts in Jekyll
Related posts in Jekyll

Jekyll features a simple “Related posts” variable per post page with site.related_posts, which contains the 10 most recent posts in default. However, it only works perfectly when lsi (latent semantic indexing) option was enabled. The Liquid tags might be helpful here.
2016-07-13

Host Jekyll Site on Google Firebase with free SSL
Host Jekyll Site on Google Firebase with free SSL

Firebase Hosting is a developer focused static web hosting provider that is super fast, secure and reliable. You can quickly and easily deploy your static websites to a global content-delivery network (CDN) with a single command.
2016-07-02

Install Jekyll on Windows
Install Jekyll on Windows

In this installation guide we’ll be using Windows 10. These instructions should work for older versions of Windows but they have not but tested.
2016-06-25

journal index

Looking for other categories or post? Way back to the jounral index page.

back
twitter github weibo linkedin
to top