summaryrefslogtreecommitdiff
path: root/layouts/_default/list.html
diff options
context:
space:
mode:
authorMichał M. Sapka <michal@sapka.me>2023-02-26 07:42:40 +0100
committerMichał M. Sapka <michal@sapka.me>2023-02-26 07:42:40 +0100
commit6c037bffeb6e50ebfb13a68305ef5ec39eb29ab3 (patch)
tree05557e67fac8f7f68ef624ea0c399183bf1c871a /layouts/_default/list.html
parentc73cd3764056c110e60dc4661b1c44aa66364d86 (diff)
feat: published article for 2023-02-26
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 c27ce17..d085926 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>