Files
bobatheme/layouts/authors/summary.html
BBaoVanC 6251b033d5 Move article.page wrapping to summary.html instead of at list template
I am trying to make various templates and partials act more like
self-contained components.

This is in preparation for #113.
2025-09-01 00:50:54 -05:00

19 lines
474 B
HTML

<article class="page">
<h2 class="page-title">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
</h2>
{{ partial "page-metadata/author.html" . }}
{{ with .Summary }}
<div class="page-description">
{{ . }}
</div>
{{ end }}
<div class="readmore">
<a href="{{ .Permalink }}">{{ i18n "read_more" }} &rarr;</a>
</div>
</article>