diff options
Diffstat (limited to 'themes/Brine/layouts/_default')
-rw-r--r-- | themes/Brine/layouts/_default/list.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/Brine/layouts/_default/list.html b/themes/Brine/layouts/_default/list.html index 2e0dee6..fd2efae 100644 --- a/themes/Brine/layouts/_default/list.html +++ b/themes/Brine/layouts/_default/list.html @@ -1,5 +1,5 @@ {{ define "main" }} <h1>{{ .Title }}</h1> <ul>{{ range $index, $element := .Paginator.Pages }} - <li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}, {{ .ReadingTime }} min read</span></li>{{ end }} + <li><h3><a href="{{ .Permalink }}">{{ .Title }}</a></h3><span>{{ .PublishDate.Format "Jan 2, 2006" }}{{ if ne .Lastmod .PublishDate }} updated{{ end }}, {{ .ReadingTime }} min read</span></li>{{ end }} </ul> {{ partial "pagination.html" $ }}{{ end }} |