bobatheme/layouts/_default/list.html

34 lines
877 B
HTML
Raw Normal View History

2021-09-26 15:02:47 -05:00
{{ define "main" }}
<h1>
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
{{ .Title | markdownify }}
2021-11-23 19:06:26 -06:00
{{ partial "rss-link.html" . }}
</h1>
<div class="list-page-content">
{{ with .Sections }}
<div class="sections">
{{ range . }}
{{ .Render "summary/section" }}
{{ end }}
</div>
2021-11-13 17:23:30 -06:00
{{ end }}
2021-11-01 17:38:44 -05:00
<div class="page-list">
{{ with .Paginator.Pages }}
<ul>
{{ range . }}
<li>{{ .Render "summary/post" }}</li>
{{ end }}
</ul>
{{ else }}
<div>
{{ i18n "no_posts" }}
</div>
{{ end }}
</div>
2021-11-13 17:23:30 -06:00
</div>
2021-10-02 19:26:33 -05:00
{{ partial "pagination.html" . }}
{{ end }}