layouts/posts/single.html (view raw)
1{{ define "main" }}
2 <span class="date">{{ .Date | time.Format "02.01.06" }}</span>
3 <article>
4 <h1>{{ .Title }}</h1>
5 {{ .Content }}
6 </article>
7
8 {{ with .PrevInSection }}
9 {{ if .RelPermalink }}
10 <hr/>
11 <br/>
12 Publication précédente: <a href="{{ .RelPermalink }}">{{ .LinkTitle }} <span class="date">{{ .Date | time.Format "02.01.06" }}</span></a>
13 {{ end }}
14 {{ end }}
15
16{{ end }}