emacs/var/elfeed/db/data/6b/6b21741e8f2c343d91fa00e72dab4f35f271ab13
2022-01-03 12:49:32 -06:00

92 lines
8.1 KiB
Plaintext
Raw Blame History

This file contains invisible Unicode characters

This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<p>2021 is the year of anniversaries for me:</p>
<ul>
<li>10 years since the <a href="https://metaredux.com/posts/2021/10/28/projectile-turns-10.html">creation of my first OSS project Projectile</a></li>
<li>10 years since the creation of my second OSS project <a href="https://github.com/bbatsov/prelude">Emacs Prelude</a></li>
<li>10 years of using <a href="https://batsov.com/articles/2011/05/11/zenburn-emacs/">Zenburn</a> as my Emacs color theme.</li>
<li>10 years since Ive <a href="https://batsov.com/articles/2011/06/11/linux-desktop-experience-killing-linux-on-the-desktop/">stopped using Linux</a> as my primary desktop operating system</li>
<li>10 years since I <a href="https://batsov.com/articles/2011/04/26/thoughts-on-the-kindle/">bought my first Kindle</a></li>
<li>10 years since Ive started <a href="https://batsov.com/articles/2011/04/23/moving-to-jekyll/">blogging like with a hacker</a> with Jekyll</li>
</ul>
<p>Probably Im forgetting some other important anniversaries, especially those that were not related to technology. 2011 was a really big year for me!</p>
<p>Today Id like to look back on my experience with Jekyll, the static site
generator (SSG) that Im using to publish this site and my other blogs <a href="https://metaredux.com">Meta
Redux</a> and <a href="https://emacsredux.com">Emacs Redux</a>. Back
in the day Jekyll was a trend-setter - it basically defined the SSG category and
every subsequent tool in it was compared to Jekyll. A lot has happened since
2011:</p>
<ul>
<li>Jekyll has a ton of great alternatives today (e.g. Hugo, Ghost, Cryogen, etc)</li>
<li>For a while <a href="https://batsov.com/articles/2011/11/11/blogging-like-a-hacker-evolution/">Octopress</a> was all the rage in the world of Jekyll (basically Octopress was a highly customized Jekyll setup that many people were using, including me)</li>
<li>Jekylls development lost momentum over time. For a while the project was supported by GitHub engineers directly, but I believe this is no longer the case.</li>
<li>Ruby was all the rage back then, now thats no longer the case. Part of the allure of the alternatives is that they are not based on Ruby and supposedly are easier to
use as you dont have to deal with <code class="language-plaintext highlighter-rouge">gems</code>, <code class="language-plaintext highlighter-rouge">Gemfile</code>s, etc.</li>
</ul>
<p>I definitely had a troubled relationship with Jekyll myself. Early on I was quite annoyed that you had to setup everything in Jekyll manually, even basic things like
an Atom feed or archive/tags pages. I was also frustrated that I had to fiddle with the themes a lot, as HTML and CSS were never my strong suites. If I recall correctly the early versions of Jekyll used some horrible Markdown parser that caused all sorts of problems for me. Still, for all its
shortcomings Jekyll was a huge win for me as it allowed me to do exactly what I wanted to do:</p>
<ul>
<li>Write my articles in Emacs using my beloved Markdown format.</li>
<li>Store my blog under version control and treat it like any other software project.</li>
<li>Host my blog for free on GitHub Pages.</li>
</ul>
<p>I guess the first point was the only important point, though. When it comes to writing theres a single tool I want to use everywhere and thats Emacs.
In hindsight I realize that Jekyll and Emacs are quite similar in some ways - they are both building material and not some end user products. Jekyll is
a framework for building sites and this requires you to invest a lot in tweaking the setup to your liking. Emacs is a framework for building the ultimate
editor. Weve already established numerous times thats a <a href="https://batsov.com/articles/2021/11/24/emacs-is-a-lifestyle/">life-long endeavor</a>.</p>
<p>Over the years I considered replacing Jekyll with something else a few times,
especially when Hugo was all the rage and I was still <a href="https://batsov.com/articles/2015/02/15/octopress-3-dot-0/">stuck with a semi-broken
Octopress setup</a>. I remember
playing with Hugo and thinking that its not really that different from
Jekyll. Sure, it generated sites faster, but I never cared much about
this. Frankly, I almost never run Jekyll locally - I simply write and push to GitHub when
I feel Ive written something thats already in a readable form. Production is
my preview - unlike with software I think for blogs thats fine. The fact that
Jekyll is written in Ruby is a problem for most people, but for me its a
feature. After all, I was a Ruby programmer back in 2011 and I still involved with Ruby to this day.</p>
<p>Most importantly, however, Jekyll is as simple as it gets. I guess pretty much everyone can setup a Jekyll blog in 5 minutes if they dont need to do customize
some theme. When it comes to writing the thing that truly matters is the content and not its appearance. The more time you spend on customizing your blogging
tool, the less time you have for the actual process of writing.<sup id="fnref:1"><a class="footnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fn:1" rel="footnote">1</a></sup> Jekyll gets the job done for me and I simply dont want to invest a lot of time to learn properly
another SSG (e.g. Hugo) when I can be writing new articles instead. Time is our most precious resource and the older I get the more I value it.</p>
<p>Dont get me wrong, though - Jekyll is not standing still and its certainly a more
capable tool than it used to be in 2011:</p>
<ul>
<li>Jekyll plugins simplified a lot of common tasks (e.g. Atom feeds, pagination, redirects)</li>
<li>Working with themes is much easier than it used to be. I think distributing themes
as gems (Ruby libraries) was a wonderful idea.</li>
<li><a href="https://kramdown.gettalong.org/">kramdown</a> has been the default Markdown parser for a while now and its great.</li>
</ul>
<p>I think those advancements essentially made it pointless to copy someone elses Jekyll setup to jump-start yours. And tools like Octopress were pretty much this - a solid Jekyll setup, that was conveniently packaged for easy reuse. Now that Jekyll is more mature they are just a remnant of the past.</p>
<p>Ive had a productive decade with Jekyll, sans the end of the Octopress era, and I think I wont be moving away from Jekyll any time soon.
Yeah, theres always some room for improvement and probably many of the newer tools do the job better in one area or another, but Jekyll covers well my
use-cases and thats what matters the most to me. I recall back in my Linux days I spent countless hours doing distro-hopping, with the misguided notion that
some Linux distro will be massively better than all the others. A classic example of missing the forest for the trees. At this point Im fairly certain that
no SSG is significantly better than the alternatives and the only practical differences for me are their communities and how much do I have to learn to use one
of them.</p>
<p>And thats a wrap. This happens to be the 132th article I publish here since adopting Jekyll. Ive also published exactly 280 articles on “Emacs Redux” and “Meta Redux”. Heres to the next 10 years of blogging with Jekyll and Emacs! I hope Ill do better this time around.<sup id="fnref:2"><a class="footnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fn:2" rel="footnote">2</a></sup></p>
<p><strong>P.S.</strong> The article has spawned an interesting discussion on <a href="https://news.ycombinator.com/item?id=29378307">HackerNews</a>.</p>
<div class="footnotes">
<ol>
<li id="fn:1">
<p>I guess thats why I always opted to use relatively simple Jekyll themes. Often I think that <code class="language-plaintext highlighter-rouge">minima</code> is the greatest theme ever invented. <a class="reversefootnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fnref:1">↩</a></p>
</li>
<li id="fn:2">
<p>In terms of quality, not quantity. <a class="reversefootnote" href="https://batsov.com/articles/2021/11/27/a-decade-with-jekyll/#fnref:2">↩</a></p>
</li>
</ol>
</div>