summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r--layouts/_default/list.html13
1 files changed, 3 insertions, 10 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index c27ce175..d0859265 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,18 +1,11 @@
{{ define "main" }}
<article class="list taxonomy">
<h2>
- {{ humanize .Title }} archives
+ {{ replace .Title "-" " " }} archives
</h2>
<ul>
- {{ $pages := (.Data.Pages) }}
- {{ range $pages }}
- <li>
- <a href="{{ .Page.Permalink }}">
- <time>{{ .PublishDate.Format "2006-01-02" }}</time>
- &#183;
- {{ .Page.Title }}
- </a>
- </li>
+ {{ range .Data.Pages }}
+ {{ partial "partials/article_list_item.html" . }}
{{ end }}
</ul>
</article>