commit 14dcfd00a6589d594de7c5aaabb21c2024a38a1a
parent 871d4962b6cc37051c76cba702dc8bd1cd718f57
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date: Fri, 2 Nov 2018 16:13:47 +0100
Use css padding for spacing between images in summary
Diffstat:
1 file changed, 1 insertion(+), 3 deletions(-)
diff --git a/themes/tale-mod/layouts/_default/summary.html b/themes/tale-mod/layouts/_default/summary.html
@@ -24,11 +24,9 @@
{{ $scratch.Set "image" (.Fill "200x200") }}
{{ $image := $scratch.Get "image" }}
<img src="{{ $image.RelPermalink }}"
- style="display: inline;"
+ style="display: inline; padding: 1.0em;"
title='{{ $scratch.Get "pagetitle" }} {{ printf "%02d" ( $scratch.Get "counter" ) }}'
width="{{ $image.Width }}" height="{{ $image.Height }}">
-
-
{{ $scratch.Add "counter" 1 }}
{{ end }}
{{ end }}