Tips for Jekyll development
Continuing the WordPress to Jekyll series,
I've decided to give a few Jekyll tips that I've learned in the process of converting my website.Jekyll serve at the speed of light
Over 5 years, I've written quite a few posts, over 500 posts.
To test Jekyll out (for development) you have to run the following command:However, with 500+ posts, it takes about 70-90 seconds to build, which is annoying if you're making small tweaks,1
jekyll serve
that take minutes to compile.
There's a cool little trick to make compilation happen a lot quicker, by limiting the number of posts:This will only compile the last 3 posts, which is enough for 99% of test cases anyways.1
jekyll serve --limit_posts=3
The average compilation time with the limit_posts parameter is about 3-4 seconds.
This is a great trick especially if you have a bigger blog with 1000+ posts.Posted in TechnologyMoving from WordPress to Jekyll
Since last week you may have noticed something different about the website.
Maybe it seems to load quicker, or it looks a tiny bit different, or perhaps you've noticed that the footer is much slimmer.
The reason is: KidsIL has once again been transformed!Posted in Technology- Previous Page: 1 of 1 Next