Markdown table sucks. Let’s use jekyll’s data files instead

Creating a table in markdown sucks, especially if the table is quite big with some styled elements. Back before knowing data files, I came up with a plugin to help with this. First, I create folder to keep my JSON data files. I wrapped it in a simple plugin to generate inline javascript call (AJAX) to render the table upon finish loading. {% jsontable myjsonfilename %} This works as expected but it’s only feasible for simple table structure.
Read more →

Incremental regeneration in latest jekyll build

Incremental regeneration is now available in jekyll. Build speed is faster than before.
Read more →

Create a contact form with jekyll

Simpleast way to create a contact form on jekyll
Read more →

Using AngularJS with jekyll

How to make AngularJS works with jekyll since both are using double curly braces syntax
Read more →

Using GitHub issue tracker as comment system for your static blog

Using GitHub issue tracker as comment system for your static blog
Read more →

A better sitemap for jekyll

jekyll sitemap use site.time for lastmod so it doesn’t really reflect the actual last modified date of the post but the last updated date of the site instead. I’m not so sure if lastmod attribute has much effect on Google’s crawl rate/SEO to your site since it’s optional but I’m a little picky even when it comes to small thing like this. Since last modified date is available from the source file, it should be generated automatically from that.
Read more →

Localization with jekyll

Learn how to easily create a multilingual jekyll site without the need of installing any plugin
Read more →

Post scheduling with jekyll

Easiest way to setup post scheduling with jekyll using cronjob.
Read more →

jekyll full-text search without jQuery or plugin

Adding full-text search on top of your jekyll websites without using jQuery or plugin
Read more →

jekyll plugin directory

An attempt to create a complete jekyll plugin directory. Submit yours now.
Read more →

Make your jekyll blog a little bit more SEO-friendly

Content is the king but making the site a bit more SEO-friendly (or should I say Google-friendly?) doesn’t hurt. Load speed # Relevant link: Optimize the hell out of your website for PageSpeed. Sitemap # Help Google’s bots crawl your site better. jekyll provides it as a plugin. Structure data markup # Use Google’s structure data markup helper to generate structure data markup code. Use [structure data testing tool](Structured Data Testing Tool) to verify it afterward.
Read more →

Paginated post plugin for jekyll

I was wondering if anyone has created one like this before and stumbled across this issue on octopress repo. imathis came up with this proposition for paginated post. The primary page would be the standard post url. Successive pages would be at post-url/2/index.html, etc. The atom feed will still show the full un-broken post. A unified post will live at post-url/all/index.html containing a print-friendly, un-broken version of the post.
Read more →

How to use jekyll plugins with GitHub Pages

A trick to use any kind of plugin you want with GitHub Pages
Read more →

Writing your first jekyll plugin

Tutorial on how to write your first jekyll plugin.
Read more →

Embedding Liquid code snippet with jekyll

If you want to share some Liquid code snippet or say some Django code, jekyll would try to process it as it looks like valid Liquid template and throw some weird errors. The solution is to use raw tag. Again, I cannot use raw tag nested inside raw tag. Though, you would probably never have to do it, unless writing a blog post about something like this. {% raw %}
Read more →

Monthly/yearly post archive generator plugin for jekyll

A jekyll plugin to generate monthly/yearly archive so you can access them via URL like example.org/2014/08/.
Read more →

Blogging with jekyll

I started using jekyll with Github Pages few years back but Github Pages didn’t allow plugins at the time and I do want to hack a bit around jekyll for my needs so I gradually move to self-hosting. As for static blog doesn’t require much resource, I opted for the lowest package on RamNode which goes for $15 a year (a bit over a buck a month for a 128MB RAM VPS).
Read more →

BetterTube - A jekyll plugin for embedding YouTube videos

BetterTube is a jekyll plugin for embedding YouTube videos. It’s responsive and PageSpeed-friendly by making use of defer iframe loading.
Read more →

Static assets combine with jekyll

Make use of static assets combine (bundling) to reduce number of requests, making your site loads significantly faster.
Read more →

Setup custom error page for jekyll on nginx

How to setup custom error page for jekyll on nginx.
Read more →

Speed up jekyll site generation with rsync

A little trick to help speeding up jekyll site generation process by skipping certain static files during generation and sync using rsync instead.
Read more →

How to group posts by month in Jekyll archive page

Read more →

Link Post in Jekyll

Link post is nothing but the post’s title linking to another url instead of the post url. You need to specify where it points to. I use link here but you can just use any name you feel like using. And then in post.html layout and index.html homepage. You just need to check if link is set; change the title’s href to the link variable of the post. You may need to change page variable to post when looping inside your index.
Read more →