Ajout balises article dans la liste des articles.
This commit is contained in:
@@ -4,6 +4,7 @@
|
|||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
|
|
||||||
{{ range .RegularPagesRecursive.ByDate.Reverse }}
|
{{ range .RegularPagesRecursive.ByDate.Reverse }}
|
||||||
|
<article>
|
||||||
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
<h2><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
|
||||||
|
|
||||||
{{ .Summary }}
|
{{ .Summary }}
|
||||||
@@ -11,6 +12,7 @@
|
|||||||
{{ if .Truncated }}
|
{{ if .Truncated }}
|
||||||
<a href="{{ .RelPermalink }}">Lire plus sur « {{ .Title }} »</a>
|
<a href="{{ .RelPermalink }}">Lire plus sur « {{ .Title }} »</a>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
|
</article>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
{{/* vim: set tw=80 ts=2 sw=2 sts=2 ft=gohtmltmpl: */}}
|
||||||
|
|||||||
Reference in New Issue
Block a user