diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 392c5e2..8a0c7c7 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -2,12 +2,15 @@ <article> <h1>{{ .Title }}</h1> <ul class="posts-list"> - {{ range $index, $element := .Paginator.Pages }} + {{ range where .Paginator.Pages "Type" "!=" "page" }} <li class="posts-list-item"> <a class="posts-list-item-title" href="{{ .Permalink }}">{{ .Title }}</a> <span class="posts-list-item-description"> - {{ partial "icon.html" (dict "ctx" $ "name" "clock") }} {{ .ReadingTime }} min read - + {{ partial "icon.html" (dict "ctx" $ "name" "calendar") }} {{ .PublishDate.Format "Jan 2, 2006" }} + - + {{ partial "icon.html" (dict "ctx" $ "name" "clock") }} + {{ .ReadingTime }} min read </span> </li> {{ end }} |