summaryrefslogtreecommitdiffci
path: root/locale/localization.go
diff options
from:
to:
context:
space:
mode:
authorGravatar SayaAndy <saya.andy@posteo.com> 2025-10-24 00:28:40 +0700
committerGravatar SayaAndy <saya.andy@posteo.com> 2025-10-24 00:28:40 +0700
commitadcd8cf82f7ec4027701643c545b1f27a7cfc221 (patch)
treed3a0d95c851108447b6ce55b5326943d3581126c /locale/localization.go
parentf101d6a555c6d3453def332f2c230b37ae5c81b4 (diff)
downloadweb-adcd8cf82f7ec4027701643c545b1f27a7cfc221.tar.gz
web-adcd8cf82f7ec4027701643c545b1f27a7cfc221.zip
feat: send new blog posts to subscribers
Diffstat (limited to 'locale/localization.go')
-rw-r--r--locale/localization.go9
1 files changed, 6 insertions, 3 deletions
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 {