diff --git a/theme/keywind/email/html-src/components/atoms/background.ftl b/theme/keywind/email/html-src/components/atoms/background.ftl index a59057a..186dbdb 100644 --- a/theme/keywind/email/html-src/components/atoms/background.ftl +++ b/theme/keywind/email/html-src/components/atoms/background.ftl @@ -1,4 +1,6 @@ <#macro kw> -
+
diff --git a/theme/keywind/email/html-src/components/atoms/body.ftl b/theme/keywind/email/html-src/components/atoms/body.ftl deleted file mode 100644 index 2f866ba..0000000 --- a/theme/keywind/email/html-src/components/atoms/body.ftl +++ /dev/null @@ -1,9 +0,0 @@ -<#macro kw> - - -
- <#nested> -
- - - diff --git a/theme/keywind/email/html-src/components/atoms/card.ftl b/theme/keywind/email/html-src/components/atoms/card.ftl index cb1da83..36242e3 100644 --- a/theme/keywind/email/html-src/components/atoms/card.ftl +++ b/theme/keywind/email/html-src/components/atoms/card.ftl @@ -1,5 +1,5 @@ <#macro kw> -
+
<#nested>
diff --git a/theme/keywind/email/html-src/components/atoms/container.ftl b/theme/keywind/email/html-src/components/atoms/container.ftl index 3f83748..0a084cd 100644 --- a/theme/keywind/email/html-src/components/atoms/container.ftl +++ b/theme/keywind/email/html-src/components/atoms/container.ftl @@ -1,5 +1,5 @@ <#macro kw> -
+
<#nested>
diff --git a/theme/keywind/email/html-src/components/atoms/footer.ftl b/theme/keywind/email/html-src/components/atoms/footer.ftl index b91011e..8d803ae 100644 --- a/theme/keywind/email/html-src/components/atoms/footer.ftl +++ b/theme/keywind/email/html-src/components/atoms/footer.ftl @@ -1,33 +1,5 @@ <#macro kw> - - - - - - -
- - - - -
- - - - - - - - - - -
- This email was sent to ${user.email!""}. -
- If you'd rather not receive this kind of email, you can unsubscribe or manage your email preferences. -
-
-
- © ${.now?string('yyyy')} ${kcSanitize(realmName!"")}. -
+
+ © ${.now?string('yyyy')} ${kcSanitize(realmName!"")}. +
diff --git a/theme/keywind/email/html-src/document.ftl b/theme/keywind/email/html-src/document.ftl index 6b39048..2f24851 100644 --- a/theme/keywind/email/html-src/document.ftl +++ b/theme/keywind/email/html-src/document.ftl @@ -1,8 +1,9 @@ <#macro kw script=""> - + + <#if properties.meta?has_content> <#list properties.meta?split(" ") as meta> diff --git a/theme/keywind/email/html-src/template.ftl b/theme/keywind/email/html-src/template.ftl index 56871f5..ba4f70d 100644 --- a/theme/keywind/email/html-src/template.ftl +++ b/theme/keywind/email/html-src/template.ftl @@ -1,6 +1,5 @@ <#import "document.ftl" as document> <#import "components/atoms/background.ftl" as background> -<#import "components/atoms/body.ftl" as body> <#import "components/atoms/card.ftl" as card> <#import "components/atoms/container.ftl" as container> <#import "components/atoms/footer.ftl" as footer> @@ -9,11 +8,11 @@ <#macro emailLayout> - + <@document.kw script=script /> - <@body.kw> + <@background.kw /> <@container.kw> <@card.kw> @@ -22,8 +21,8 @@ <#nested> + <@footer.kw /> - <@footer.kw /> - + diff --git a/theme/keywind/email/html/components/atoms/background.ftl b/theme/keywind/email/html/components/atoms/background.ftl index 39acd0d..763f1cb 100644 --- a/theme/keywind/email/html/components/atoms/background.ftl +++ b/theme/keywind/email/html/components/atoms/background.ftl @@ -1,4 +1,4 @@ <#macro kw> -
+
diff --git a/theme/keywind/email/html/components/atoms/card.ftl b/theme/keywind/email/html/components/atoms/card.ftl index 63a2467..cab1c88 100644 --- a/theme/keywind/email/html/components/atoms/card.ftl +++ b/theme/keywind/email/html/components/atoms/card.ftl @@ -1,5 +1,5 @@ <#macro kw> -
+
<#nested>
diff --git a/theme/keywind/email/html/components/atoms/container.ftl b/theme/keywind/email/html/components/atoms/container.ftl index 7a167c2..4253458 100644 --- a/theme/keywind/email/html/components/atoms/container.ftl +++ b/theme/keywind/email/html/components/atoms/container.ftl @@ -1,5 +1,5 @@ <#macro kw> -
+
<#nested>
diff --git a/theme/keywind/email/html/components/atoms/footer.ftl b/theme/keywind/email/html/components/atoms/footer.ftl index 29591c3..a6a200e 100644 --- a/theme/keywind/email/html/components/atoms/footer.ftl +++ b/theme/keywind/email/html/components/atoms/footer.ftl @@ -1,33 +1,5 @@ <#macro kw> - - - - - - -
- - - - -
- - - - - - - - - - -
- This email was sent to ${user.email!""}. -
- If you'd rather not receive this kind of email, you can unsubscribe or manage your email preferences. -
-
-
- © ${.now?string('yyyy')} ${kcSanitize(realmName!"")}. -
+
+ © ${.now?string('yyyy')} ${kcSanitize(realmName!"")}. +
diff --git a/theme/keywind/email/html/document.ftl b/theme/keywind/email/html/document.ftl index 6b39048..6a0831d 100644 --- a/theme/keywind/email/html/document.ftl +++ b/theme/keywind/email/html/document.ftl @@ -1,8 +1,9 @@ <#macro kw script=""> - + + <#if properties.meta?has_content> <#list properties.meta?split(" ") as meta> diff --git a/theme/keywind/email/html/template.ftl b/theme/keywind/email/html/template.ftl index 56871f5..ba4f70d 100644 --- a/theme/keywind/email/html/template.ftl +++ b/theme/keywind/email/html/template.ftl @@ -1,6 +1,5 @@ <#import "document.ftl" as document> <#import "components/atoms/background.ftl" as background> -<#import "components/atoms/body.ftl" as body> <#import "components/atoms/card.ftl" as card> <#import "components/atoms/container.ftl" as container> <#import "components/atoms/footer.ftl" as footer> @@ -9,11 +8,11 @@ <#macro emailLayout> - + <@document.kw script=script /> - <@body.kw> + <@background.kw /> <@container.kw> <@card.kw> @@ -22,8 +21,8 @@ <#nested> + <@footer.kw /> - <@footer.kw /> - +