By James A. Overton
This is a fork of Jekyll that allows you to use any templating system supported by Tilt for your layouts.
I especially like Slim. Add the slim_converter.rb to your _plugins
and then you can have _layouts/default.slim
:
--- --- doctype html html head title = site.title + " - " + page.title body .content == content
OR use _layouts/default.haml
:
--- --- %doctype html %html %head %title= site.title + " - " + page.title %body .content = content
BUT each layout template should have a unique name! So don’t use both default.slim
and default.haml
.
Mixing different templating systems for different layout templates seems to work. Liquid layout templates ending in “.html” are processed just as before, without Tilt.
By Tom Preston-Werner, Nick Quaranto, and many awesome contributors!
Jekyll is a simple, blog aware, static site generator. It takes a template directory (representing the raw form of a website), runs it through Textile or Markdown and Liquid converters, and spits out a complete, static website suitable for serving with Apache or your favorite web server. This is also the engine behind GitHub Pages, which you can use to host your project’s page or blog right here from GitHub.
See https://github.com/mojombo/jekyll for information about installing and configuring Jekyll.
- RedCloth: Textile support (Ruby)
- Liquid: Templating system (Ruby)
- Classifier: Generating related posts (Ruby)
- Maruku: Default markdown engine (Ruby)
- Directory Watcher: Auto-regeneration of sites (Ruby)
- Pygments: Syntax highlighting (Python)
- Tilt: General templating (Ruby)
- Slim: Elegant HTML templates (Ruby)
- Shoulda: Test framework (Ruby)
- RR: Mocking (Ruby)
- RedGreen: Nicer test output (Ruby)
- RDiscount: Discount Markdown Processor (Ruby)
See LICENSE.