heml
heml copied to clipboard
There are a number of mail templates in the project, in which there are always some parts that are the same, and I want to have a template model applied to all messages
There are a number of mail templates in the project, in which there are always some parts that are the same, and I want to have a template model applied to all messages
Hey Amanda 👋
I'm not totally sure what you mean. Can you explain it a bit more?
I'm in the same boat, I'll try to describe my needs. I'm using HEML to build all the mails of my company's app. Some parts of the mails (header, footer, CSS) are always the same. It would be awesome to be able to import "partials" to factorize those parts, and make sure I only need to update in one place when I need to.
Plus one. We are using mustache template engine which offers an include template function. I guess it would be possible to chain mustache and heml.io. I would also like to use external CSS files, that would be awesome. I guess this could also be achieved building some webpack pipeline which includes the css first and then run heml.io
Oh, thanks for clarifying everyone. This is similar to issue #6. I'm gonna leave this one open too though since it might be clearer to people not coming from another tool. I'll make sure to keep you all updated!