bobatheme/layouts/_default/summary/post.html

22 lines
597 B
HTML
Raw Permalink Normal View History

<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-10-09 15:16:24 -05:00
{{ partial "post-metadata/short.html" . }}
2021-10-09 15:16:24 -05:00
{{ with .Resources.GetMatch "feature" }}
<div class="post-media">
{{ partial "figure.html" (dict "src" .) }}
2021-10-09 15:16:24 -05:00
</div>
{{ end }}
2021-10-09 15:16:24 -05:00
<div class="post-description">
{{ partial "description-or-summary.html" . }}
</div>
<div class="readmore">
<a href="{{ .Permalink }}">{{ i18n "read_more" }} &rarr;</a>
2021-10-09 15:16:24 -05:00
</div>