From e93346ffa90f6c09a9a57b48c6607925dc7ff46e Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Mon, 16 Dec 2019 12:57:30 +0100 Subject: Remove the public/ directory Now that all templates are provided by plugins, there's no need to have a public/ directory. Themes can be in /themes instead of /public/themes. --- public/themes/sourcehut/message.html | 86 ------------------------------------ 1 file changed, 86 deletions(-) delete mode 100644 public/themes/sourcehut/message.html (limited to 'public/themes/sourcehut/message.html') diff --git a/public/themes/sourcehut/message.html b/public/themes/sourcehut/message.html deleted file mode 100644 index 07b4ad9..0000000 --- a/public/themes/sourcehut/message.html +++ /dev/null @@ -1,86 +0,0 @@ -{{template "head.html"}} -{{template "nav.html"}} - -
-
-
-

- {{if .Message.Envelope.Subject}} - {{.Message.Envelope.Subject}} - {{else}} - (No subject) - {{end}} -

- -
-
-
- -{{define "message-part-tree"}} - {{/* nested templates can't access the parent's context */}} - {{$ = index . 0}} - {{with index . 1}} - - {{if eq $.PartPath .PathString}}{{end}} - {{.String}} - {{if eq $.PartPath .PathString}}{{end}} - - {{if gt (len .Children) 0}} - - {{end}} - {{end}} -{{end}} - -
-
-
- {{if .Body}} -
{{.Body}}
- {{else}} -

Can't preview this message part.

- Download - {{end}} -
-
- {{template "message-part-tree" (tuple $ .Message.PartTree)}} -
-
-
- -{{template "foot.html"}} - -- cgit v1.2.3