1
0
Fork 0
faulty.equipment/layouts/posts/list.html

15 lines
477 B
HTML
Raw Normal View History

2022-06-29 09:40:23 +00:00
{{ define "main" }}
<h1>Blog</h1>
<p>Here is a list of my personal ranting from newest to oldest.</p>
2023-09-12 11:05:38 +00:00
<section class="post-list">
2022-06-29 09:40:23 +00:00
{{ range .Pages.ByPublishDate.Reverse }}
2023-09-12 11:05:38 +00:00
<article>
<time datetime="{{ .Date | time.Format "2006-01-02"}}">{{ .Date | time.Format "2006-01-02"}}</time> <a class="title" href="{{ .RelPermalink }}">{{ .Title }}</a>
{{ if .Params.tldr }}
<div class="summary">{{.Params.tldr|markdownify}}</div>
{{ end }}
</article>
2022-06-29 09:40:23 +00:00
{{ end }}
2023-09-12 11:05:38 +00:00
</section>
2022-06-29 09:40:23 +00:00
{{ end }}