cfpb / sheer

A tool for loading arbitrary content into Elasticsearch and serving that content on the web.
Creative Commons Zero v1.0 Universal
29 stars 23 forks source link

sites can now have an _includes directory #47

Closed rosskarchner closed 10 years ago

rosskarchner commented 10 years ago

It works exactly like _layouts. You should consider it an organization tool. The best practice will be to use _layouts for base templates, and _includes for files you intend to use with the jinja2 "include" directive.

rosskarchner commented 10 years ago

Once #47 lands, the _includes directory also becomes a place where you can store 404.html and 500.html (but _layouts probably makes more sense)

rosskarchner commented 10 years ago

I'm closing this, all of these commits are now in #46