Discussion:
[hakyll] Hamlet support in Hakyll 4?
r***@rcook.org
2016-03-02 22:11:58 UTC
Permalink
Hey everyone,

Judging by the following thread, Hamlet template support in Hakyll was
going to be removed and then was saved at the last minute:

https://groups.google.com/forum/#!topic/hakyll/I-0-HTDK7bk

However, this GitHub issue suggests that it was pulled in Hakyll 4:

https://github.com/jaspervdj/hakyll/issues/113

What's the state of play with Hamlet template support in Hakyll?

And, so, to my meta-question: I am building a web site for which I intend
to use Yesod for the dynamic parts and Hakyll for the static parts. I would
like the two parts to make a cohesive whole with consistent look and feel
between the two of them. I was hoping that I would be able to simply take
the same templates that I use in the Yesod app (using Hamlet) and render
the static content of the site in Hakyll using the same template. If this
is not directly possible, what are the best practices for producing a
part-dynamic/part-static web site with consistent look and feel and visual
theme?

Thanks, Richard.
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
r***@rcook.org
2016-03-19 14:59:57 UTC
Permalink
So, in the end, I figured the details out myself and I'm very pleased to report that I have successfully put together a hybrid Yesod-Hakyll site:

http://seattlehaskell.org/

Sources:
https://github.com/seahug/seattlehaskell-org
https://github.com/seahug/seattlehaskell-org-static

I'm going to write a series of blog posts describing my experiences:
http://blog.rcook.org/blog/2016/yesod-and-hakyll-together-part-1/

-Richard
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Jasper Van der Jeugt
2016-03-27 22:47:06 UTC
Permalink
Looks great, thanks for the informative blogpost!

Peace,
Jasper
Post by r***@rcook.org
http://seattlehaskell.org/
https://github.com/seahug/seattlehaskell-org
https://github.com/seahug/seattlehaskell-org-static
http://blog.rcook.org/blog/2016/yesod-and-hakyll-together-part-1/
-Richard
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
For more options, visit https://groups.google.com/d/optout.
--
You received this message because you are subscribed to the Google Groups "hakyll" group.
To unsubscribe from this group and stop receiving emails from it, send an email to hakyll+***@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Loading...