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

Michael Snoyman michael at snoyman.com
Sat Aug 13 21:30:36 CEST 2011


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 <m at jaspervdj.be> 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 at haskell.org
> http://www.haskell.org/mailman/listinfo/web-devel
>



More information about the web-devel mailing list