Sancho
is static site generator for Github Pages. Site content should
to be written in Markdown or Pandoc
Markdown. And it will be rendered with Pandoc
Run
$ bundle add sancho --git https://github.com/nvoynov/sancho.git
Require it in the Rakefile
require "sancho"
= Sancho.tasks
source, folders Rake.application.rake_require source, folders
Install pandoc
To initialize site content, run the initialization task
$ rake sancho:init
Configure the site content by customizing sancho.yml
Render HTML content from markdown sources
$ rake sancho:docs
Serve it locally by
$ rake sancho:serve
Template
You can provide your own HTML template by placing
_layouts/template.html
file. Read Pandoc Templates
section for details.