Re: [web-devel] [hakyll] Users of Hamlet templates in Hakyll

Michael is on vacation for a few days, but he can better answer about runtime support.
Good point!
What is the Hamlet templating? Is this the $description$ and $title$ stuff in the HTML skeleton files? If it is, I am most certainly using it!
No, those are the Hakyll templates (which is more or less the default). The Hamlet templates are an extension which allows you to use a HAML-like syntax in templates. You enable them by using `.hamlet` templates instead of `.html` templates -- I'm sorry if I caused any confusion. Cheers, Jasper

The runtime support was dropped in the last release. I put out an
email asking if anyone used it still, and didn't get any responses, so
I thought it was just unused bits floating around. Anyway, if you're
interesting in continuing support for runtime Hamlet, I think it would
make sense to try to create a separate hamlet-rt package, built off of
the parsers in Hamlet. Once I'm back home, I can look into feasibility
a bit more, but I don't see any real barriers. We might need to export
a few extra things from the main Hamlet package, but that's doable.
Michael
On Sat, Aug 13, 2011 at 8:15 PM, Jasper Van der Jeugt
Michael is on vacation for a few days, but he can better answer about runtime support.
Good point!
What is the Hamlet templating? Is this the $description$ and $title$ stuff in the HTML skeleton files? If it is, I am most certainly using it!
No, those are the Hakyll templates (which is more or less the default). The Hamlet templates are an extension which allows you to use a HAML-like syntax in templates. You enable them by using `.hamlet` templates instead of `.html` templates -- I'm sorry if I caused any confusion.
Cheers, Jasper
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel

Thanks Michael! However, I would suggest to postpone this a little, at
least until I figure out exactly what way I want to go with Hakyll
templates -- so no work is lost. I'll request the runtime support back
when I need it :-)
Cheers,
Jasper
On Sat, Aug 13, 2011 at 9:30 PM, Michael Snoyman
The runtime support was dropped in the last release. I put out an email asking if anyone used it still, and didn't get any responses, so I thought it was just unused bits floating around. Anyway, if you're interesting in continuing support for runtime Hamlet, I think it would make sense to try to create a separate hamlet-rt package, built off of the parsers in Hamlet. Once I'm back home, I can look into feasibility a bit more, but I don't see any real barriers. We might need to export a few extra things from the main Hamlet package, but that's doable.
Michael
On Sat, Aug 13, 2011 at 8:15 PM, Jasper Van der Jeugt
wrote: Michael is on vacation for a few days, but he can better answer about runtime support.
Good point!
What is the Hamlet templating? Is this the $description$ and $title$ stuff in the HTML skeleton files? If it is, I am most certainly using it!
No, those are the Hakyll templates (which is more or less the default). The Hamlet templates are an extension which allows you to use a HAML-like syntax in templates. You enable them by using `.hamlet` templates instead of `.html` templates -- I'm sorry if I caused any confusion.
Cheers, Jasper
_______________________________________________ web-devel mailing list web-devel@haskell.org http://www.haskell.org/mailman/listinfo/web-devel
participants (2)
-
Jasper Van der Jeugt
-
Michael Snoyman