// Package templates exposes the embedded email HTML templates. The package // exists so that //go:embed can reach the files from a stable location — // embed directives can't use "..", so every consumer (MailService, tests) // reads through EmailFS instead of crossing package boundaries with relative // paths. package templates import "embed" // EmailFS contains every HTML template under internal/templates/email/. // The MailService uses these as {{define "content"}} overrides layered onto // base.html; adding a new email means dropping the file in and parsing it. // //go:embed email/*.html var EmailFS embed.FS