Smallest-blogger

With Markdown and Guard

View the Project on GitHub ranmocy/smallest-blogger

Smallest Blogger

A minimal, extendable, static blogger with templates.

Powered by Markdown, SCSS, Guard.

Quick example

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.

Post header

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
---

Guard version

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

Rake version

Rakefile

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

Howto

TODO

Philosophy

  1. Hackable
  2. Minimal
  3. Clear

Contribution

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.