by eitland · 2y ago · 0 comments
To very common things to do when templating is
- to include a sub-template (e.g. the article template includes the sidebar template)
- to specify that the template I work with and probably others should be rendered inside a slot in a containing template (e.g. the article template should be rendered into the general root template that contains the public menu but the admin pages should render in another root template)
Last I checked only the first of these use cases were supported.
I don't like Go's template engine too much, I find it a bit cumbersome in many cases. But it's quite capable.