As you can see, I left WordPress and moved to jekyll! Even if I really like the name, discarding WordPress was on my schedule for quite some time.
The main reasons for leaving WordPress:
- I do not like software that calls home without asking me. Sure, it’s convenient for some people, but I hate such a behavior. And it makes me skeptic. No idea what is transferred exactly, but I’m almost sure they have my mail address..
There are some more reasons, but those two were sufficient to make me move.
Where to go?
Recently, Micha pointed me to jekyll. Jekyll is a software to generate websites. You can simply write your stuff using MarkDown and jekyll will build your page. Jekyll is really very simple. The generated page is static. And Jekyll is blog-aware.
I of course had a look at some other static-page-generators, but jekyll indeed seems to be the most convenient (and maybe sophisticated?) software.
Basically, building a jekyll blog is dead easy.
You need to have
ruby-dev installed, the just call:
gem install jekyll
Not you can create a new website using
jekyll new my-site
A bit trickier than installing: You need to think.. ;-)
Posts go to
_posts and should always be named
YYYY-MM-DD-identifier.md. They always have a preamble (so-called front matter) which looks like:
layout: post title: Your title goes here.
But that’s it. Now you can start writing. Read more about posting.
Pages just live in the root of your jekyll instance. They will just be copy-translated. Thus, if you create a file
about.html in the root jekyll will just translate included markdown and then copies it to
Yes, of course, I didn’t want to start from scratch. So I was looking for tools to convert my WordPress stuff to markdown for jekyll. That was more or less successfull. There are tons of approaches. But non of them really met my needs. So I decided to extend on of those and forked a php-based wordpress-to-jekyll converted from davidwinter.
After a few commits the converter now exports posts, pages, and comments. It also distinguishes between published and draft. And downloads the attachments. Just give it a try and tell me if you experience any trouble.
You’re right. Comments on a static page is a bit contradictory. But not impossible.. ;-)
I saw some blogs using the crap of Disqus and Facebook and stuff. Not my world, obviously..
But there is also a static comment pluglin for jekyll. I forked it to implement my changes. I do not need the PHP stuff, to submit a comment for my blog you can use one of the following three options. I will then decide whether I’m going to include the comment in my blog. I guess that is the ultimate way to fight Spam..
Submit a comment
- Send me an email with your comment. Do not forget to mention the article you want to comment. And optionally include a website and a name to sign the comment.
- I am maintaining a feedback site. It is meant to receive feedback in general, for presentations, for my work, code, for the coffee that I serve to guests. Stuff, precisely. It is also available through the TOR network, so you can make sure you’re really anonymously. You can use this website to also create comments. Every page contains a link submit a comment through the feedback page, which brings you to that page. Just make sure to mention the article, and if you want me to give you the credits also add include your name and a mail address; and optionally a website.
- You can simply fork the blog’s repository and create a comment yourself in the
_commentsdirectory. Just have a look at the other comments. Send me a pull request and I’ll have a look at it :)
Converting images from WordPress was a bit trickier. There they use code similar to this:
_includes/image.html (see GitHub) creates something that’s similar to the caption environment of WordPress. Some more CSS and everything worked like a charm! :)
I think that’s it for the moment. Moving to jekyll was not that difficult. And I now have a static website that’s hopefully changing from time to time…
- blog (16) ,
- media (58) ,
- private (28) ,
- wordpress (15) ,
- jekyll (2) ,
- explained (36) ,
- simplification (16)