From 01e4fd482ebcc827d3c76c00910529abbf666454 Mon Sep 17 00:00:00 2001 From: Runxi Yu Date: Sun, 14 Sep 2025 22:28:12 +0800 Subject: Add basic mailing lists --- forged/templates/mailing_list_message.tmpl | 42 ++++++++++++++++++++++++++++++ 1 file changed, 42 insertions(+) create mode 100644 forged/templates/mailing_list_message.tmpl (limited to 'forged/templates/mailing_list_message.tmpl') diff --git a/forged/templates/mailing_list_message.tmpl b/forged/templates/mailing_list_message.tmpl new file mode 100644 index 0000000..7bd24d6 --- /dev/null +++ b/forged/templates/mailing_list_message.tmpl @@ -0,0 +1,42 @@ +{{/* + SPDX-License-Identifier: AGPL-3.0-only +*/}} +{{- define "mailing_list_message" -}} + + + + {{- template "head_common" . -}} + {{ .email_subject }} – {{ .global.forge_title -}} + + + {{- template "header" . -}} +
+
+ + + + + + + + + + + + + + + + +
{{ .email_subject }}
From{{ .email_from }}
Date{{ if .email_date.IsZero }}{{ .email_date_raw }}{{ else }}{{ .email_date }}{{ end }}
+
+
+
{{ .email_body_html }}
+
+
+ + + +{{- end -}} -- cgit v1.2.3