This repository has been archived on 2024-09-01. You can view files and clone it, but cannot push or open issues or pull requests.
0x221e/layouts/_default/list.html

39 lines
861 B
HTML
Raw Normal View History

2023-03-27 21:49:34 -05:00
{{ define "title"}}
{{ .Title }} | {{ .Site.Title }}
{{ end }}
{{ define "main" }}
<div>
<div class="listHeader">
<h1>{{ .Title }}</h1>
</div>
{{ with .Content }}
<div class="listContent">
{{- . -}}
</div>
{{ end }}
<div>
{{ range .Pages }}
<a href="{{ .Permalink }}">
<!-- [html-validate-disable-next prefer-native-element] -->
<div class="postListItem" role="listitem">
<div class="postHeader">
<span class="postTitle">{{ .Title }}</span>
<span class="postDate">{{ .Date.Format "January 2, 2006" }}</span>
</div>
<div class="postExcerpt">
<p>{{ .Summary }}</p>
</div>
</div>
</a>
{{end}}
</div>
</div>
{{ end }}