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
|
||||
original_name: Bethleem-pot-crypte.jpg
|
||||
mime_type: image/jpeg
|
||||
author: Alphonse-Georges Poulain
|
||||
inception: 1958
|
||||
imtags:
|
||||
- crypte
|
||||
- entrée-crypte
|
||||
|
|
|
@ -24,8 +24,8 @@
|
|||
<pre>{{ . }}</pre>
|
||||
</div>
|
||||
{{ end }}
|
||||
<div class="single-image__property single-image__date">
|
||||
|
||||
<div class="single-image__property single-image__date">
|
||||
{{ with .Params.inception }}
|
||||
{{/*
|
||||
{{ $dateType := "exact" }}
|
||||
|
@ -46,13 +46,20 @@
|
|||
{{ partial "FormatHistoricalDate.html" . }}
|
||||
{{ end }}
|
||||
*/}}
|
||||
Date du document : {{ partial "FormatHistoricalDate.html" . }}
|
||||
Date : {{ partial "FormatHistoricalDate.html" . }}
|
||||
{{ else }}
|
||||
Pas encore de de date ajouté
|
||||
{{ end }}
|
||||
</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">
|
||||
{{ .Content }}
|
||||
{{ .Content }}
|
||||
</div>
|
||||
</div>
|
||||
<div class="single-image__image-container">
|
||||
|
|
Loading…
Reference in a new issue