tUse css padding for spacing between images in summary - andersdamsgaard.com - my photography webpage (HTM) git clone git://src.adamsgaard.dk/andersdamsgaard.com (DIR) Log (DIR) Files (DIR) Refs (DIR) Submodules (DIR) README (DIR) LICENSE --- (DIR) commit 14dcfd00a6589d594de7c5aaabb21c2024a38a1a (DIR) parent 871d4962b6cc37051c76cba702dc8bd1cd718f57 (HTM) 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: M themes/tale-mod/layouts/_default/s… | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) --- (DIR) diff --git a/themes/tale-mod/layouts/_default/summary.html b/themes/tale-mod/layouts/_default/summary.html t@@ -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 }}