hugo-theme-nocolor/layouts/_default/list.html

18 lines
463 B
HTML

{{- define "main" }}
<section aria-labelledby="nocolor_list">
<p id="nocolor_list">{{ .Title }}:</p>
<ul>
{{- range .Paginator.Pages }}
<li role="article">
<section class="post-title" aria-label="Title">
{{- if .Draft }}DRAFT: {{ end }}
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</section>
{{ partial "post_meta.html" . }}
</li>
{{- end }}
</ul>
</section>
{{ partial "pagination.html" . }}
{{- end }}