This repository was archived by the owner on Jan 4, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
Support for email templates in Kirby query language #589
Comments
afbora
added a commit
to getkirby/kirby
that referenced
this issue
Aug 10, 2020
4 tasks
afbora
added a commit
to getkirby/kirby
that referenced
this issue
Sep 4, 2020
afbora
added a commit
to getkirby/kirby
that referenced
this issue
Oct 18, 2020
afbora
added a commit
to getkirby/kirby
that referenced
this issue
Oct 18, 2020
afbora
added a commit
to getkirby/kirby
that referenced
this issue
Oct 18, 2020
afbora
added a commit
to getkirby/kirby
that referenced
this issue
Oct 18, 2020
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Because PHP templates have the problem of swallowing newlines (see getkirby/kirby#2750), email templates in the Kirby query language (
Str::template()
) would be more robust.PHP templates should still be the default to ensure backwards-compatibility, but there should be a way to optionally use the query language. Possible options:
Str::template()
syntax so that templates in the query language would be autodetected.$kirby->email()
that allows to define the template type explicitly (in this case the templates would still use the.php
file extension).The text was updated successfully, but these errors were encountered: