|
|
|
|
|
by eitland
928 days ago
|
|
Last I checked Gos built in templating system lacked one feature that I see as very basic and that IMO makes it hard to organize code and templates logically: 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.