StrangeCase

  308 downloads
4.6.3 BSD License    
  not rated
It's yet another static site generator

description

download

specifications

StrangeCase is yet another static site generator. Have you seen jekyll? hyde? Yup. Like those.

But this one is:

- Written in python, unlike jekyll
- NOT complicated, unlike hyde. And I mean really NOT complicated.

QUICK START

1. In your project folder, make a site and public folder.
2. Put index.j2 in site, and put some html in there.
3. Add YAML front matter to that file. It looks like this:

---
title: My first StrangeCase site
---
< !doctype html >
...


1. Use that YAML in your page using jinja2's template language syntax:

---
title: My first StrangeCase site
---
< !doctype html >
< h1 >{{ title }}< /h1 >


1. Run strange case: $ python /path/to/strange_case.py

2. Open public/index.html. You might want to hold onto your jaw, lest it drop to the floor. Yeah, it's not gonna say {{ title }}, it's gonna say My First Page in big letters.
READ MORE   
Last updated on September 10th, 2012

0 User reviews so far.

SUBMIT