22 lines
657 B
HTML
22 lines
657 B
HTML
|
{{ define "main" }}
|
||
|
<main>
|
||
|
<article>
|
||
|
<!-- "{{.Content}}" pulls from the markdown content of the corresponding _index.md -->
|
||
|
{{ .Content }}
|
||
|
</article>
|
||
|
<ul>
|
||
|
<!-- Ranges through content/posts/*.md -->
|
||
|
{{ range .Site.RegularPages }}
|
||
|
<li>
|
||
|
<a href="{{.Permalink}}">
|
||
|
<time class="post-date" datetime="{{ .Date.Format `2006-01-02T15:04:05Z07:00` | safeHTML }}">
|
||
|
{{ .Date.Day }} {{ index $.Site.Data.months_fr (printf "%d" .Date.Month) }} {{ .Date.Year }}
|
||
|
</time>
|
||
|
| {{.Title}}
|
||
|
</a>
|
||
|
</li>
|
||
|
{{ end }}
|
||
|
</ul>
|
||
|
</main>
|
||
|
{{ end }}
|