all repos — blog @ main

Code and content for 5ika.ch

layouts/notes/single.html (view raw)

 1{{ define "main" }}
 2    <br/>
 3    <a href='/notes'>← Toutes les notes hebdos</a>
 4    <article>
 5        <h1>{{ .Title }}</h1>
 6        {{ .Content }}
 7    </article>
 8 
 9    {{ with .PrevInSection }}
10        {{ if .RelPermalink }}
11            <hr/>
12            <br/>
13            Publication précédente: <a href="{{ .RelPermalink }}">{{ .LinkTitle }} <span class="date">{{ .Date | time.Format "02.01.06" }}</span></a>
14        {{ end }}
15    {{ end }}
16{{ end }}
17