From 7665eae7627a609e2f5ea22b041aada1813d3924 Mon Sep 17 00:00:00 2001
From: Las Zenow
{{if .Authors}}
{{range .Authors}}{{.}}, {{end}}
++ {{range $i, $author := .Authors}} + {{if $i}}&{{end}} + {{$author}} + {{end}} +
{{range .Authors}}{{.}}, {{end}}
+{{strings_join .Authors "& "}}
- {{if .Authors}}Authors: {{range .Authors}}{{.}}, {{end}}
{{end}}
+ {{if .Authors}}Authors:
+
+ {{range $i, $author := .Authors}}
+ {{if $i}}&{{end}}
+ {{$author}}
+ {{end}}
+
{{end}}
{{if .Publisher}}Publisher: {{.Publisher}}
{{end}}
- {{if .Tags}}Tags: {{range .Tags}}{{.}}, {{end}}
{{end}}
+ {{if .Tags}}Tags:
+ {{range $i, $tag := .Tags}}
+ {{if $i}},{{end}}
+ {{$tag}}
+ {{end}}
+
{{end}}
{{if .Isbn}}ISBN: {{.Isbn}}
{{end}}
{{if .Date}}Date: {{.Date}}
{{end}}
{{if .Lang}}Lang: {{.Lang}}
{{end}}
diff --git a/templates/submission_moderate.html b/templates/submission_moderate.html
index 7095787..b6c1782 100644
--- a/templates/submission_moderate.html
+++ b/templates/submission_moderate.html
@@ -57,9 +57,20 @@
- {{if .Authors}}Authors: {{range .Authors}}{{.}}, {{end}}
{{end}}
+ {{if .Authors}}Authors:
+
+ {{range $i, $author := .Authors}}
+ {{if $i}}&{{end}}
+ {{$author}}
+ {{end}}
+
{{end}}
{{if .Publisher}}Publisher: {{.Publisher}}
{{end}}
- {{if .Tags}}Tags: {{range .Tags}}{{.}}, {{end}}
{{end}}
+ {{if .Tags}}Tags:
+ {{range $i, $tag := .Tags}}
+ {{if $i}},{{end}}
+ {{$tag}}
+ {{end}}
+
{{end}}
{{if .Isbn}}ISBN: {{.Isbn}}
{{end}}
{{if .Date}}Date: {{.Date}}
{{end}}
{{if .Lang}}Lang: {{.Lang}}
{{end}}
diff --git a/templates/submissions.html b/templates/submissions.html
index 94352c1..b59aab8 100644
--- a/templates/submissions.html
+++ b/templates/submissions.html
@@ -38,9 +38,20 @@
- {{if .Authors}}Authors: {{range .Authors}}{{.}}, {{end}}
{{end}}
+ {{if .Authors}}Authors:
+
+ {{range $i, $author := .Authors}}
+ {{if $i}}&{{end}}
+ {{$author}}
+ {{end}}
+
{{end}}
{{if .Publisher}}Publisher: {{.Publisher}}
{{end}}
- {{if .Tags}}Tags: {{range .Tags}}{{.}}, {{end}}
{{end}}
+ {{if .Tags}}Tags:
+ {{range $i, $tag := .Tags}}
+ {{if $i}},{{end}}
+ {{$tag}}
+ {{end}}
+
{{end}}
{{if .Isbn}}ISBN: {{.Isbn}}
{{end}}
{{if .Date}}Date: {{.Date}}
{{end}}
{{if .Lang}}Lang: {{.Lang}}
{{end}}