site quasi complet

This commit is contained in:
nyanloutre 2020-08-15 19:00:29 +02:00
parent 80b7f7466d
commit 278a68cd9a
17 changed files with 141 additions and 57 deletions

View file

@ -0,0 +1,3 @@
<div class="gallery">
{{.Inner}}
</div>

View file

@ -0,0 +1,5 @@
{{ $img := $.Page.Resources.GetMatch (.Get 0) }}
{{ $res_img := $img.Fill "600x400" }}
<a href="{{ .Get 2 | ref . }}">
<img src="{{ $res_img.RelPermalink }}" alt="{{ .Get 1 }}" />
</a>