David
unread,May 12, 2010, 7:44:35 PM5/12/10Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Sign in to report message
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to Tilt
I have a small suggestion. I’d like an option for HTML templates. This
may seem counterintuitive, but hear me out.
I’m writing a library that uses Tilt to render HTML (both for layouts
a la HAML, etc., and for content via Markdown/Textile). My library’s
interface is going to be template-agnostic, like Tilt.
Now, it’s possible that a user will want to use an HTML file as a
layout and only wants to render the content. I know that I could
probably:
1. bind .html files to the ERB engine or
2. handle this condition in my library
But it would be really nice to have this feature embedded in Tilt
itself. I’m thinking this isn’t too much to ask, since Tilt is billed
as the template-agnostic renderer. Doing this would give applications
a nice, unified interface for *all* types of layouts, and not just
templating languages.
What do you guys think?
Best,
David