By James A. Overton
--- --- doctype html html head title = site.title + " - " + page.title body .content == content
--- --- %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
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)