From 629152ba521e5fcd0052900a512db812df727611 Mon Sep 17 00:00:00 2001 From: Stephen Searles Date: Tue, 4 Jul 2017 22:47:09 -0700 Subject: [PATCH] refinement to lastmod display --- templates.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates.go b/templates.go index 47d8b87..a9f64c8 100644 --- a/templates.go +++ b/templates.go @@ -409,7 +409,7 @@ var AuthorPage = `

Edit content:

{{ range .Content }} - + {{- end }}
{{ .Title }}{{ .Date.Format $timeFormat }} (last modified {{ .Lastmod.Format $timeFormat }})
{{ .Title }}{{ .Date.Format $timeFormat }}{{ if not (.Lastmod.Equal .Date) }} (last modified {{.Lastmod.Format $timeFormat }}){{end}}