1
0
mirror of https://github.com/BBaoVanC/bobatheme.git synced 2025-06-22 13:17:30 -05:00

Split duplicated .page-list div into separate partial

This commit is contained in:
2022-05-06 21:14:42 -05:00
parent a9d1c25ee4
commit 805dc65ccb
10 changed files with 28 additions and 115 deletions

@ -79,13 +79,7 @@
<div class="related-posts full-width-page-list">
<hr>
<h1>{{ i18n "related_posts" }}</h1>
<div class="page-list">
<ul>
{{ range . }}
<li>{{ .Render "summary/post" }}</li>
{{ end }}
</ul>
</div>
{{ partial "page-list.html" . }}
</div>
{{ end }}