- {{ .Content }}
+ {{ if eq .Params.last_modified "top" }}
+ Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}
+ {{ end }}
+ {{ .Content }}
+ {{ if eq .Params.last_modified "bottom" }}
+ Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}
+ {{ end }}
{{ end }}
diff --git a/themes/piratecare/layouts/topic/single.html b/themes/piratecare/layouts/topic/single.html
index 4ae3a8a..0c536c5 100644
--- a/themes/piratecare/layouts/topic/single.html
+++ b/themes/piratecare/layouts/topic/single.html
@@ -44,6 +44,12 @@
{{define "main" }}
+ {{ if eq .Params.last_modified "top" }}
+ Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}
+ {{ end }}
{{ .Content }}
+ {{ if eq .Params.last_modified "bottom" }}
+ Last modified: {{ dateFormat "Monday, Jan 2, 2006" .Lastmod }}
+ {{ end }}
{{ end }}