A minimal, extendable, static blogger with templates.
Powered by Markdown, SCSS, Guard.
Example: example/
Usage:
git clone "https://github.com/ranmocy/smallest-blogger.git"
cd smallest-blogger/example
bundle
guard
Open in your browser http://localhost:8080.
We use YAML header for posts' meta information, as this:
---
title: Vim 公案
created_at: 2013-09-12T18:14:55-07:00
updated_at: 2013-09-12T18:34:04-07:00
---
Guardfile will monitor on your current folder, generate new version when you save files. And create a server to preview on http://localhost:8080.
Usage:
wget "https://raw.githubusercontent.com/ranmocy/smallest-blogger/master/Gemfile"
bundle
wget "https://raw.githubusercontent.com/ranmocy/smallest-blogger/master/Guardfile"
guard
Usage:
wget "https://raw.githubusercontent.com/ranmocy/smallest-blogger/master/Gemfile"
bundle
wget "https://raw.githubusercontent.com/ranmocy/smallest-blogger/master/Rakefile"
rake generate # Only generate the site
rake update # Only publish to remote by Git
rake publish # Both generate the site and publish to remote by Git
TODO
- Hackable
- Minimal
- Clear
If you can make the base code smaller or clearer, please fork and make a pull request.
If you can extend the functionality, I will put them to examples/
and update Howto section.