Ajout balises article dans la liste des articles.

This commit is contained in:
2026-03-11 14:06:47 +01:00
parent 32beb3f0e2
commit d6d6b8e690
+7 -5
View File
@@ -4,13 +4,15 @@
{{ .Content }}
{{ range .RegularPagesRecursive.ByDate.Reverse }}
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<article>
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ .Summary }}
{{ .Summary }}
{{ if .Truncated }}
<a href="{{ .RelPermalink }}">Lire plus sur &laquo;&nbsp;{{ .Title }}&nbsp;&raquo;</a>
{{ end }}
{{ if .Truncated }}
<a href="{{ .RelPermalink }}">Lire plus sur &laquo;&nbsp;{{ .Title }}&nbsp;&raquo;</a>
{{ end }}
</article>
{{ end }}
{{ end }}
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}