2021-09-26 15:02:47 -05:00
|
|
|
{{ define "main" }}
|
2021-10-15 18:13:14 -05:00
|
|
|
|
2021-10-06 09:52:06 -05:00
|
|
|
<h1>
|
2021-10-11 21:35:16 -05:00
|
|
|
{{ 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" }}
|
2021-10-26 18:50:48 -05:00
|
|
|
<a href="{{ .Permalink }}">{{ partial "icon.html" "rss-feed" }}</a>
|
2021-10-06 09:52:06 -05:00
|
|
|
{{ end }}
|
|
|
|
</span>
|
|
|
|
</h1>
|
2021-10-06 09:36:04 -05:00
|
|
|
|
2021-11-01 17:38:44 -05:00
|
|
|
<div class="sections">
|
|
|
|
{{ range .Sections }}
|
|
|
|
|
|
|
|
<a class="section-anchor" href="{{ .Permalink }}">
|
|
|
|
<div class="section">
|
|
|
|
<h2 class="section-title">
|
|
|
|
{{ with .Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
|
|
{{ .Title | markdownify }}
|
|
|
|
</h2>
|
|
|
|
|
|
|
|
<div class="section-description">
|
|
|
|
{{ if .Description }}
|
|
|
|
<p>
|
|
|
|
{{ .Description | markdownify }}
|
|
|
|
</p>
|
|
|
|
{{ else }}
|
|
|
|
{{ .Summary }}
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</a>
|
|
|
|
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
|
|
|
|
2021-10-16 19:51:11 -05:00
|
|
|
<div class="posts">
|
|
|
|
{{ range .Paginator.Pages }}
|
|
|
|
{{ .Render "summary" }}
|
|
|
|
{{ else }}
|
|
|
|
{{ i18n "no_posts" }}
|
|
|
|
{{ end }}
|
2021-10-02 16:22:52 -05:00
|
|
|
</div>
|
|
|
|
|
2021-10-09 17:40:49 -05:00
|
|
|
{{ if gt .Paginator.TotalPages 1 }}
|
2021-10-02 19:26:33 -05:00
|
|
|
<div class="pagination">
|
|
|
|
{{ template "_internal/pagination.html" . }}
|
|
|
|
</div>
|
2021-10-09 17:40:49 -05:00
|
|
|
{{ end }}
|
2021-10-02 19:26:33 -05:00
|
|
|
|
2021-09-28 18:15:16 -05:00
|
|
|
{{ end }}
|