-
I currently have an HTML email template that I'm using as part of a piece of software that I'm building, and I've templatized it using Jinja2 in Python. The way double curly braces For instance, within the HTML template, I'll have something like
The thing I want to make sure of about Maizzle, before I get too deep into it, is: Can I integrate Jinja2 expression fields (double curly braces) into my Maizzle project, and have Maizzle ignore them and leave them as is? Same thing for for-loops and if-statements.I already have a finished template that I paid a contractor to build, but they used bootstrap email (which I don't know) so it's essentially impossible for me to change it or add new sections. I DO know tailwindcss, so Maizzle is theoretically perfect, as it would mean that I can actually work on the template itself (I'm a data engineer, so most web dev things are out of my wheelhouse). Ignoring certain As I'm typing this out, I realize that templates in Maizzle have front matter, which could theoretically mean I can still templatize the values, but the data that I pass in is a very nested dictionary. Jinja2 has support for loops and if-statements and accessing elements of a list or dictionary, which I don't think Maizzle does. Any thoughts are appreciated, and please let me know if I need to clarify anything! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Yup, it’s possible to ignore the expressions, see the docs: |
Beta Was this translation helpful? Give feedback.
Yup, it’s possible to ignore the expressions, see the docs:
https://maizzle.com/docs/expressions#ignoring