From 5471d723a030705c349c1633faf134b137bc9a5a Mon Sep 17 00:00:00 2001 From: Mitja Felicijan Date: Wed, 30 Oct 2019 00:32:50 +0100 Subject: Added comment curation tool available at /comments.html --- site.tmpl | 136 +++++++++++++++++++++++++++++++------------------------------- 1 file changed, 69 insertions(+), 67 deletions(-) (limited to 'site.tmpl') diff --git a/site.tmpl b/site.tmpl index 39e8c6c..c745997 100644 --- a/site.tmpl +++ b/site.tmpl @@ -1,6 +1,7 @@ {{ define "header" }} - - + + + @@ -25,74 +26,75 @@ - -
-{{ end }} -{{ define "footer" }} -
- {{ template "ga" . }} + +
+ {{ end }} + {{ define "footer" }} +
+ {{ template "ga" . }} - + + {{ end }} {{ define "navigation" }} - + {{ end }} {{ define "author" }} - by {{ html .Site.Other.Author }} +by {{ html .Site.Other.Author }} {{ end }} {{define "date"}} - + {{end}} {{define "modified"}} -

Modified on {{ .ModTime.Format "2006-01-02T15:04:05" }}

+

Modified on {{ .ModTime.Format "2006-01-02T15:04:05" }}

{{end}} {{ define "page" }} - {{ template "header" . }} - {{ template "navigation" . }} - {{ .Content }} - {{ template "prism" . }} - {{ template "mathjax" . }} - {{ template "footer" . }} +{{ template "header" . }} +{{ template "navigation" . }} +{{ .Content }} +{{ template "prism" . }} +{{ template "mathjax" . }} +{{ template "footer" . }} {{ end }} {{ define "post" }} -
-
-

{{ .Title }}

- {{ if eq .Other.Type "post" }} -
- {{ template "date" .Date }} - {{ template "author" . }} -
- {{ end }} -
-
+
+
+

{{ .Title }}

+ {{ if eq .Other.Type "post" }} +
+ {{ template "date" .Date }} + {{ template "author" . }} +
+ {{ end }} +
+
{{ .Content }} -
-
+
+
- {{ if eq .Other.Type "post" }} - {{ template "comments" . }} - {{ end }} +{{ if eq .Other.Type "post" }} +{{ template "comments" . }} +{{ end }} - {{ template "modified" . }} +{{ template "modified" . }} {{ end }} {{ define "mathjax" }} - - + {{ end }} {{ define "ga" }} - - + + {{ end }} {{ define "prism" }} - - + + {{ end }} {{ define "comments" }} -
-

Comments

-
-
-
-
-
- +
+

Comments

+
+
+
+
+
    +
    - - - + + + {{ end }} -- cgit v1.2.3