Hugo-theme-stack/layouts/_default/list.html
Jimmy Cai ed91cb7629
refactor(layouts): move layout HTML to baseof.html
For better maintainability
2020-09-12 10:33:53 +02:00

19 lines
453 B
HTML

{{ define "main" }}
<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/footer" . }}
{{ end }}
{{ define "right-sidebar" }}
{{ partialCached "sidebar/right.html" . }}
{{ end }}