...was actually quite easy!
today, i decided to migrate the site to jekyll for easing the process of managing this blog. honestly, it improved my workflow a lot, and the templating language is very nice.
when i first started using it, i thought using a theme was mandatory: that every jekyll site required a theme in order to work, and if you wanted to make your site your own, you needed to make your theme and publish it as a gem. as it turns out, no!
jekyll is actually very very extensible, and also very very minimal, which is a rare thing to see nowadays! if you want, you can ditch the theme system (and most systems, in fact) entirely: here is the entire configuration file for this blog as of now
| |
very very minimal, very very nice :D
before the migration, i needed to make sure that the pages were up to date with posts.json. this is no longer a neccesity! jekyll bundles content and metadata together into one file, which is in the markdown format (very nice!).
a file might look something like this:
| |
i also no longer have to make sure that each post is up to spec with a layout! jekyll has layout files via the _layouts directory so that i dont ever need to worry about those.
jekyll also has supports for includes where react has components. if you want to reuse a certain template, not for a whole page but for a simple part of it, you can just make an include file!
you can even pass parameters via the include variable provided automatically for you!