diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 6fb6928..1a1abce 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -1,5 +1,6 @@ {{ define "main" }}
+ {{ $listtitle := .Title }} {{ if or .Title .Content }}
{{ with .Title }}

{{ . }}

{{ end }} @@ -11,7 +12,11 @@ {{ range .Paginator.Pages }}
  • - {{ .Date.Format "2006-01-02" }} {{.Title }} + {{ if eq $listtitle "Posts" }} + {{ .Date.Format "2006-01-02" }} {{.Title }} + {{ else }} + {{.Title }} + {{ end }}
  • {{ end }}