bobatheme/layouts/authors/list.html
BBaoVanC 6f140f096b
Organize summary template files
Also a small CSS patch to fix margin around post-title
2023-02-28 18:24:19 -06:00

25 lines
533 B
HTML

{{ define "main" }}
<h1>
{{ partial "icon.html" "user-circle" }}
{{ .Title | markdownify }}
</h1>
{{ with .Content }}
{{ . }}
{{ end }}
<div class="page-list">
{{ with .Paginator.Pages }}
{{ range . }}
<article class="post">
{{ .Render "summary" }}
</article>
{{ end }}
{{ else }}
<div>
{{ i18n "no_posts" }}
</div>
{{ end }}
</div>
{{ end }}