diff options
Diffstat (limited to 'layouts/_default/list.html')
-rw-r--r-- | layouts/_default/list.html | 13 |
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> - · - {{ .Page.Title }} - </a> - </li> + {{ range .Data.Pages }} + {{ partial "partials/article_list_item.html" . }} {{ end }} </ul> </article> |