package main
import (
"fmt"
"git.dev.alexdunmow.com/block/core/templates"
)
// magazineBoldEmailTemplate is the 600px paper-toned editorial email wrapper.
// It uses inlined hex defaults that map onto the paper-pink light preset so the
// layout reads correctly in clients that strip server CSS.
templ magazineBoldEmailTemplate(emailCtx templates.EmailContext, body string) {
{ emailCtx.SiteSettings.SiteName }
if emailCtx.PreviewText != "" {
{ emailCtx.PreviewText }
}
if emailCtx.SiteSettings.LogoURL != "" {
} else if emailCtx.SiteSettings.SiteName != "" {
{ emailCtx.SiteSettings.SiteName }
}
|
| |
|
@templ.Raw(body)
|
|
{ emailCtx.SiteSettings.SiteName }
if emailCtx.SiteSettings.SiteURL != "" {
}
if emailCtx.UnsubscribeURL != "" {
}
|
|
}