From adcd8cf82f7ec4027701643c545b1f27a7cfc221 Mon Sep 17 00:00:00 2001 From: SayaAndy Date: Fri, 24 Oct 2025 00:28:40 +0700 Subject: feat: send new blog posts to subscribers --- locale/localization.go | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'locale/localization.go') diff --git a/locale/localization.go b/locale/localization.go index 1028c9e..b3a1613 100644 --- a/locale/localization.go +++ b/locale/localization.go @@ -52,8 +52,9 @@ type MetadataConfig struct { } type MailConfig struct { - VerifyEmail VerifyEmailConfig `yaml:"VerifyEmail" json:"VerifyEmail"` - NewPost NewPostConfig `yaml:"NewPost" json:"NewPost"` + UnsubscribeFooter string `yaml:"UnsubscribeFooter" json:"UnsubscribeFooter"` + VerifyEmail VerifyEmailConfig `yaml:"VerifyEmail" json:"VerifyEmail"` + NewPost NewPostConfig `yaml:"NewPost" json:"NewPost"` } type VerifyEmailConfig struct { @@ -66,7 +67,9 @@ type VerifyEmailConfig struct { } type NewPostConfig struct { - Subject string `yaml:"Subject" json:"Subject"` + Subject string `yaml:"Subject" json:"Subject"` + CapturedOn string `yaml:"CapturedOn" json:"CapturedOn"` + Intro string `yaml:"Intro" json:"Intro"` } type UserProfileConfig struct { -- cgit v1.3.1+13