feat(images): display date + add date to an image
All checks were successful
Deploy workflow / deploy (push) Successful in 28s
All checks were successful
Deploy workflow / deploy (push) Successful in 28s
This commit is contained in:
parent
0d130debc9
commit
036c11ef5c
2 changed files with 12 additions and 3 deletions
|
@ -2,6 +2,8 @@
|
||||||
title: Dessin de l'entrée de la crypte
|
title: Dessin de l'entrée de la crypte
|
||||||
original_name: Bethleem-pot-crypte.jpg
|
original_name: Bethleem-pot-crypte.jpg
|
||||||
mime_type: image/jpeg
|
mime_type: image/jpeg
|
||||||
|
author: Alphonse-Georges Poulain
|
||||||
|
inception: 1958
|
||||||
imtags:
|
imtags:
|
||||||
- crypte
|
- crypte
|
||||||
- entrée-crypte
|
- entrée-crypte
|
||||||
|
|
|
@ -24,8 +24,8 @@
|
||||||
<pre>{{ . }}</pre>
|
<pre>{{ . }}</pre>
|
||||||
</div>
|
</div>
|
||||||
{{ end }}
|
{{ end }}
|
||||||
<div class="single-image__property single-image__date">
|
|
||||||
|
|
||||||
|
<div class="single-image__property single-image__date">
|
||||||
{{ with .Params.inception }}
|
{{ with .Params.inception }}
|
||||||
{{/*
|
{{/*
|
||||||
{{ $dateType := "exact" }}
|
{{ $dateType := "exact" }}
|
||||||
|
@ -46,13 +46,20 @@
|
||||||
{{ partial "FormatHistoricalDate.html" . }}
|
{{ partial "FormatHistoricalDate.html" . }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
*/}}
|
*/}}
|
||||||
Date du document : {{ partial "FormatHistoricalDate.html" . }}
|
Date : {{ partial "FormatHistoricalDate.html" . }}
|
||||||
{{ else }}
|
{{ else }}
|
||||||
Pas encore de de date ajouté
|
Pas encore de de date ajouté
|
||||||
{{ end }}
|
{{ end }}
|
||||||
</div>
|
</div>
|
||||||
|
<div class="single-image__property single-image__author">
|
||||||
|
{{ with .Params.author }}
|
||||||
|
Auteur : {{ . }}
|
||||||
|
{{ else }}
|
||||||
|
Pas encore de d'auteur ajouté
|
||||||
|
{{ end }}
|
||||||
|
</div>
|
||||||
<div class="single-image__content">
|
<div class="single-image__content">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="single-image__image-container">
|
<div class="single-image__image-container">
|
||||||
|
|
Loading…
Reference in a new issue