feat: basic style and layout

images de la nef et facades
This commit is contained in:
Matthieu Bessat 2022-09-29 19:00:28 +02:00
parent bb43b2bc9d
commit 2fe8d5a5ae
86 changed files with 625 additions and 92 deletions

View file

@ -1,4 +1,6 @@
{{ define "main" }}
<main class="page-full">
{{ .Scratch.Set "image_list_context" "all" }}
{{ partial "images-list.html" . }}
</main>
{{ end }}

View file

@ -1,5 +1,5 @@
{{ define "main" }}
<main>
<main class="page-full">
<article class="single-image">
<!-- <b><time>{{ .Date.Format (default "2006-01-02 15:04:05" .Site.Params.dateFmt) }}</time></b> -->
<div class="single-image__side">
@ -18,10 +18,12 @@
{{ end }}
</ul>
</div>
{{ with .Params.original_name }}
<div class="single-image__property single-image__original-name">
<div class="property-name">Nom original :</div>
<pre>{{ .Params.original_name }}</pre>
<pre>{{ . }}</pre>
</div>
{{ end }}
<div class="single-image__property single-image__date">
{{ with .Params.inception }}
@ -67,10 +69,10 @@
{{ if or .Next .Prev -}}
<div class="gallery__nextprev">
{{- with .Prev }}
<a href="{{ .RelPermalink}}"><div id="prevart">Previous</div></a>
<a href="{{ .RelPermalink}}"><div id="prevart">Précédente</div></a>
{{ end -}}
{{- with .Next -}}
<a href="{{ .RelPermalink}}"><div id="nextart">Next</div></a>
<a href="{{ .RelPermalink}}"><div id="nextart">Suivante</div></a>
{{ end -}}
</div>
{{ end -}}