summaryrefslogtreecommitdiffstats
path: root/themes/Brine/layouts/_default
diff options
context:
space:
mode:
Diffstat (limited to 'themes/Brine/layouts/_default')
-rw-r--r--themes/Brine/layouts/_default/single.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/Brine/layouts/_default/single.html b/themes/Brine/layouts/_default/single.html
index dacdc89..9adb790 100644
--- a/themes/Brine/layouts/_default/single.html
+++ b/themes/Brine/layouts/_default/single.html
@@ -1,5 +1,5 @@
{{ define "main" }} <h1>{{ .Title }}</h1>
- <div>Published: {{ .PublishDate.Format "Jan 2, 2006" }}</div>
+ <div>Published: {{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }}, last updated: {{ .Lastmod.Format "Jan 2, 2006" }}{{ end }}</div>
<div>Reading time: {{ .ReadingTime }} min</div>{{- with .Params.tags -}}
<div>Tags: {{ range . -}}{{- with $.Site.GetPage (printf "/%s/%s" "tags" . ) -}}<a href="{{ .Permalink }}">{{ .Title }}</a>&nbsp;{{- end -}}{{- end -}}</div>{{- end -}}
{{ .Content }}{{ end }}