bobatheme/layouts/_default/list.html

28 lines
591 B
HTML
Raw Permalink Normal View History

2021-09-26 15:02:47 -05:00
{{ define "main" }}
2021-10-06 09:52:06 -05:00
<h1>
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
2021-10-06 09:52:06 -05:00
{{ .Title | markdownify }}
<span class="rss-link">
{{ with .OutputFormats.Get "rss" }}
<a href="{{ .Permalink }}">{{ partial "icon.html" "rss" }}</a>
2021-10-06 09:52:06 -05:00
{{ end }}
</span>
</h1>
2021-10-06 09:36:04 -05:00
<div class="posts">
{{ range .Paginator.Pages }}
{{ .Render "summary" }}
{{ else }}
{{ i18n "no_posts" }}
{{ end }}
2021-10-02 16:22:52 -05:00
</div>
{{ if gt .Paginator.TotalPages 1 }}
2021-10-02 19:26:33 -05:00
<div class="pagination">
{{ template "_internal/pagination.html" . }}
</div>
{{ end }}
2021-10-02 19:26:33 -05:00
{{ end }}