fosscat-site/layouts/_default/term.html

18 lines
620 B
HTML
Raw Normal View History

2022-09-01 18:42:28 -06:00
{{ define "main" }}
<div class="container">
<h1>All posts for {{ .Type | singularize }} "{{ .Title }}"</h1>
</br>
{{ range .Data.Pages }}
<div class="post-entry">
<a href="{{ .Permalink }}">
<div style="display:flex;flex-direction:row; justify-content: space-between;">
<h3>{{ .Title }}</h3>
<p>{{ .Date | time.Format ":date_medium" }}</p>
</div>
</br>
<p>{{ .Summary }}</p>
</a>
</div>
{{ end }}
</div>
{{ end}}