public
Description: Thor task to manage a static website tracked with git. Don't expect anything fancy.
Homepage:
Clone URL: git://github.com/sr/statig.git
statig / statig.sample.yml
100644 17 lines (16 sloc) 0.608 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
---
:template: template.haml
:extensions:
- :text
- :textile
- :sass
:text: !ruby/object:SerializableProc
  block: |content| require 'bluecloth'; BlueCloth.new(content).to_html
:textile: !ruby/object:SerializableProc
  block: |content| require 'redcloth'; r = RedCloth.new(content); r.hard_breaks = false; r.to_html
:haml: !ruby/object:SerializableProc
  block: |content, variables| require 'haml/engine'; Haml::Engine.new(content).render(Object.new, variables)
:sass: !ruby/object:SerializableProc
  block: |content| require 'sass'; Sass::Engine.new(content).render
:excludes:
- !ruby/regexp /2006/wiki/