This repository has been archived on 2023-09-28. You can view files and clone it, but cannot push or open issues or pull requests.
homepage/themes/nightfall/layouts/_default/list.html

39 lines
869 B
HTML

{{ define "title"}}
{{ .Title }} | {{ .Site.Params.author }}
{{ 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 }}