]> git.dujemihanovic.xyz Git - dujemihanovic.xyz.git/commitdiff
Show post summary on post list
authorDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 21 Aug 2024 10:16:53 +0000 (12:16 +0200)
committerDuje Mihanović <duje.mihanovic@skole.hr>
Wed, 21 Aug 2024 10:16:53 +0000 (12:16 +0200)
layouts/posts/list.html

index 0da1d863fff975755f193071eef2dc45d86af8e6..751a0675355954505bf56f58506601216256496b 100644 (file)
@@ -3,7 +3,8 @@
 <ul>
 {{ range .Pages }}
        <li>
-               <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "January 2, 2006" }}</a>
+               <a href="{{ .RelPermalink }}">{{ .Title }}</a> - {{ .Date.Format "January 2, 2006" }}</a><br>
+               {{ .Summary }}
        </li>
 {{ end }}
 </ul>