Maciej Janicki's website

2019-03-29 blog

Hello world!

This is the first post on this website. I used Jekyll to create it and I must say that I’m quite impressed!

Jekyll is like writing plain HTML and Markdown, but without code duplication. I’m in full control of what’s happening and making a primitive website like this one is actually simple. That should be obvious, but it’s not: I also had a quick look at another static webpage generator, Hugo. After I read that the first thing I need to do was “install a theme”, I went on looking for something else. It looked like I would have had to pick up a ton of bloat first, and then clean it up myself.

The thing is, I am using a page generator to reduce the redundancy and be able to write in Markdown. Nevertheless, I want the generated pages to contain only the HTML code that I wrote myself, so that I know what is in there and can keep track of it. And this is the case with Jekyll: I started by making my own layout just as I would write a plain simple HTML website - which is all I need.

Jekyll’s ten-step tutorial for getting started is also great. It took me less than an hour to complete and after that I already had quite the result that I was aiming at.

The site is already online, but it is still under construction, so don’t be surprised if something is missing.

Now, let’s test some things that I will need in later posts.

LaTeX (static rendering, no JavaScript!):

Code:

for i in range(10):
    print(i**2)