2022-05-21 23:20:22 -05:00
|
|
|
<div class="post-series-position">
|
|
|
|
{{ if .Scratch.Get "series_position" }}
|
|
|
|
({{ .Scratch.Get "series_position" }}/{{ .Scratch.Get "series_total" }})
|
|
|
|
{{ end }}
|
|
|
|
</div>
|
2021-11-23 13:14:44 -06:00
|
|
|
|
2022-05-21 23:20:22 -05:00
|
|
|
<h2 class="post-title">
|
|
|
|
{{ with .Parent.Params.icon }}{{ partial "icon.html" . }}{{ end }}
|
|
|
|
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
|
|
|
|
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
|
|
|
|
</h2>
|
2021-11-23 13:14:44 -06:00
|
|
|
|
2022-05-21 23:20:22 -05:00
|
|
|
{{ partial "post-metadata/short.html" . }}
|
2021-11-23 13:14:44 -06:00
|
|
|
|
2022-05-21 23:20:22 -05:00
|
|
|
{{ with .Resources.GetMatch "feature" }}
|
|
|
|
<div class="post-media">
|
|
|
|
{{ partial "figure.html" (dict "src" .) }}
|
2021-11-23 13:14:44 -06:00
|
|
|
</div>
|
2022-05-21 23:20:22 -05:00
|
|
|
{{ end }}
|
2021-11-23 13:14:44 -06:00
|
|
|
|
2022-05-21 23:20:22 -05:00
|
|
|
<div class="post-description">
|
|
|
|
{{ partial "description-or-summary.html" . }}
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="readmore">
|
|
|
|
<a href="{{ .Permalink }}">{{ i18n "read_more" }} →</a>
|
2021-11-23 13:14:44 -06:00
|
|
|
</div>
|