Reorganize post list partial

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-08-07 11:35:42 +02:00
parent f5a737bf98
commit 7ef9274268
4 changed files with 16 additions and 16 deletions

View File

@@ -1,7 +1,9 @@
{{ define "main" }}
<main>
<div class="content">
{{ partial "posts/list.html" . }}
{{ with .Site.GetPage "/posts" }}
{{ partial "posts/list.html" . }}
{{ end }}
</div>
</main>
{{ end }}