This is a static blog generator. Click here for a live demo.
There are approximately 1 trillion other projects using an unfathomable amount of different libraries that do more or less the same as this humble thing.
This uses Ruby (more specifically, the excellent Nanoc lib) to generate static HTML pages from Markdown or other HTML files.
Pure CSS is sparingly used to help with layouts and such. I recommend that you don't look at the CSS, just trust that it works most times.
- Zero amount of Javascript;
- Basic blogging functionalities (a page that lists all posts, a page to show the actual post, tagging etc);
- Syntax highlighting;
- Readable on any device known to mankind (actually I tested only on my monitor and smartphone);
- A page that shows posts by year;
- A page that shows posts by tag;
- A helper for images;
- A rake task that helps set up a new post;
- Small: the entire output of this skeleton is like 100KB (images excluded);
- Has stupid emojis 🎨 (okay that's just your browser);
- That's about it.
The master
branch is used only to show content in Github Pages. Check out the development
branch for the actual input files.
There's a convenience script for Github Pages deployment.
Why not?
Okay, here's a longer answer.