kolber/stacey — pull request #34 by bumpux (2012-02-07 20:07:08+00:00)
Title: Toying with twig

Hey there. I really like the new changes and am getting to know them a bit.

Exploring the Twig docs I came on the "extends" tag and thought I'd attempt a slight restructure on my Stacey fork:

- new directory (templates/base) includes base.twig. Kind of a meta-template. It includes the outer html skeleton and blocks for title, content and footer.

- Blocks in a .twig can be inherited and-or extended by the revised default.html, page.html. and project.html.

I wonder if you thought of this approach already? In any case I thought you might like to take a look.