hmcts / look-and-feel

GOV.UK look and feel as a single easy import (at least that's the goal)
3 stars 4 forks source link

Nunjucks is rubbish #34

Open michaeldfallen opened 6 years ago

michaeldfallen commented 6 years ago

As a pattern library template language Nunjucks leaves a lot to be desired.

The key point of a pattern library is to include some sub-template that by default renders a component or element but allow for flexibility of overriding content, settings, behaviour.

Issues I've found with Nunjucks in this:

Twigs embed syntax stuck for over a year now and would solve this if merged.

Suggest that we should fork nunjucks and merge the embed syntax, plus fix some other things like jinjas with syntax.

paulmsmith commented 6 years ago

Did you do any of the above @michaeldfallen?