Feels hacky: I define Core.Contexts.tagsLinksField to make the tags with a tagLink component, so this is a call to the Kit from Core, and not gathered in components so I have to have tagSpan and tagLink in my main with other templates. How to solve? It is part of the bigger problem to gather resources at compile time. Most promising lead now would be to have some sort of ComponentT Monad transform (=WriterT Prop) *on top* of the Compiler / Rules Monad so that the compilation steps can accumulate resources. |
||
---|---|---|
.. | ||
Core | ||
Css | ||
Kit | ||
Utils | ||
Components.hs | ||
Info.hs | ||
Routes.hs |