Organize summary template files

Also a small CSS patch to fix margin around post-title
This commit is contained in:
2023-02-28 18:24:19 -06:00
parent 316c62ebe8
commit 6f140f096b
10 changed files with 12 additions and 30 deletions

View File

@ -0,0 +1,16 @@
<div class="author">
<h2 class="author-name">
<a href="{{ .Permalink }}">{{ .Title | markdownify }}</a>
{{ if .Draft }}{{ partial "icon.html" "write" }}{{ end }}
</h2>
{{ partial "post-metadata/author.html" . }}
<div class="author-description">
{{ partial "description-or-summary.html" . }}
</div>
<div class="readmore">
<a href="{{ .Permalink }}">{{ i18n "read_more" }} &rarr;</a>
</div>
</div>