On 05/09/2011, at 3:44 PM, Samuel Richardson wrote:

> A template that embeds a head partial. When I render the template, I
> automatically pick up the header. The trouble I've got is going the
> other direction. When I edit header, I want it to update all the
> templates it's embedded in.

> ... I don't want to re-render _all_ the templates every
> time a change is made, just the altered file.

Hi Samuel.

I rolled my own yet-another-static-website-generator last year.  I think it 
might tick the boxes you're after:

Based on Tilt
Template inclusion/nesting, supporting both "partials" and "layouts"
Incremental rebuild when an included template changes - ie. it regenerates the 
affected outputs, and no more.

Check it out.  It's called "Pith", and can be found at:

https://github.com/mdub/pith

-- 
cheers, 
Mike Williams

-- 
You received this message because you are subscribed to the Google Groups "Ruby 
or Rails Oceania" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/rails-oceania?hl=en.

Reply via email to