hugo-theme-stack/layouts/_default/list.html
Jimmy Cai 2ab49f97ee
feat: add default/list
fix warning: found no layout file for "HTML" for kind "section": You should create a template file which matches Hugo Layouts Lookup Rules for this combination.
2020-09-06 14:18:38 +02:00

24 lines
No EOL
670 B
HTML

{{ define "body_class" }}3-column{{ end }}
{{ define "main" }}
<div class="container extended flex on-phone--column align-items--flex-start">
{{ partialCached "sidebar/left.html" . }}
<main class="main full-width">
<div class="widget">
<h3 class="widget-title">{{ .Title }}</h3>
</div>
<section class="article-list--compact">
{{ range .Paginator.Pages }}
{{ partial "article-list/compact" . }}
{{ end }}
</section>
{{- partial "pagination.html" . -}}
{{ partialCached "footer" . }}
</main>
{{ partialCached "sidebar/right.html" . }}
</div>
{{ end }}