diff --git a/templates/forum.html b/templates/forum.html index dd35d1ee..e70efc12 100644 --- a/templates/forum.html +++ b/templates/forum.html @@ -1,7 +1,8 @@ {{template "header.html" . }} -{{if gt .Page 1}}
{{end}} -{{if ne .LastPage .Page}}
{{end}} +{{if gt .Page 1}}
{{end}} +{{if ne .LastPage .Page}}
{{end}} +
diff --git a/templates/topic.html b/templates/topic.html index 5b585bfb..d0507177 100644 --- a/templates/topic.html +++ b/templates/topic.html @@ -1,14 +1,16 @@ {{template "header.html" . }}
-{{if gt .Page 1}} -{{end}} +{{if gt .Page 1}} +{{end}} -{{if ne .LastPage .Page}} +{{if ne .LastPage .Page}} {{end}} + +
diff --git a/templates/topic_alt.html b/templates/topic_alt.html index 9b4a536b..26fbf66f 100644 --- a/templates/topic_alt.html +++ b/templates/topic_alt.html @@ -1,10 +1,12 @@ {{template "header.html" . }} -{{if gt .Page 1}} -{{end}} +{{if gt .Page 1}} +{{end}} -{{if ne .LastPage .Page}} -{{end}} +{{if ne .LastPage .Page}} +{{end}} + +
diff --git a/templates/topic_alt_posts.html b/templates/topic_alt_posts.html index 1d7cdeeb..33505cb9 100644 --- a/templates/topic_alt_posts.html +++ b/templates/topic_alt_posts.html @@ -1,4 +1,4 @@ -{{range .ItemList}}
+{{range .ItemList}}
 
diff --git a/templates/topic_posts.html b/templates/topic_posts.html index 560c9760..a15130c0 100644 --- a/templates/topic_posts.html +++ b/templates/topic_posts.html @@ -1,11 +1,11 @@
{{range .ItemList}} {{if .ActionType}} -
+
{{.ActionIcon}} {{.ActionType}}
{{else}} -
+
{{/** TODO: We might end up with
s in the inline editor, fix this **/}}

{{.ContentHtml}}

diff --git a/templates/topics.html b/templates/topics.html index be90c760..b61bb1e2 100644 --- a/templates/topics.html +++ b/templates/topics.html @@ -1,4 +1,5 @@ {{template "header.html" . }} +