summaryrefslogtreecommitdiff
path: root/layouts/partials/footer.html
blob: 18bc22016ce803999cc4885f26070fdd1c70da48 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{{- $isregular := (in .Site.RegularPages .Page) -}}

{{- if $isregular }}
{{- $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }}
{{ if .IsHome }}{{ else }}
<div class="finaline">
	<p class="no-print"><a href="{{ path.Dir .Path }}">Revenir à l'accueil</a></p>{{ end }}
	<time datetime="{{ $dateMachine }}">{{ .Date.Format "02/01/2006" }}</time>
</div>
{{- end -}}

<hr>
<nav>
	{{- $title := .Title -}}
	<p>
		{{ partial "buttons.html" . }}
</nav>