longclaw icon indicating copy to clipboard operation
longclaw copied to clipboard

Feature Request: Support for Jinja2

Open bmoe872 opened this issue 5 years ago • 2 comments

Description

It would be great for longclaw's template tags to support usage within Jinja2. Would love to see this implemented, and I could potentially help at some point if there is a desire from others for this as well.

Thanks for creating such an awesome wagtail package!

bmoe872 avatar Oct 08 '19 00:10 bmoe872

Hi I have merged the initial support. If you feel up to writing some tests that would be great. I think further work may be necessary as the tag functions for django & jinja tempaltes are very very similar and maybe can share more code.

JamesRamm avatar Nov 30 '19 09:11 JamesRamm

I'll leave this issue open for now as I will look at it more closely over the christmas holidays

JamesRamm avatar Nov 30 '19 09:11 JamesRamm