layouts/_default/list.html (view raw)
1{{ define "main" }}
2<main>
3 <p>
4 {{ .Content }}
5 </p>
6 {{ with .OutputFormats.Get "rss" -}}
7 <p>Vous pouvez également retrouver ces articles à travers <a href="{{ .Permalink }}">ce flux RSS</a>.</p>
8 {{ end }}
9 <ul>
10 <!-- Ranges through content/posts/*.md -->
11 {{ range .Pages }}
12 <li>
13 <a href="{{ .RelPermalink }}"
14 >{{ .Date | time.Format "Jan 2006" }} - {{ .LinkTitle }}</a
15 >
16 </li>
17 {{ end }}
18 </ul>
19</main>
20{{ end }}