| tUse css padding for spacing between images in summary - andersdamsgaard.com - … | |
| git clone git://src.adamsgaard.dk/andersdamsgaard.com | |
| Log | |
| Files | |
| Refs | |
| Submodules | |
| README | |
| LICENSE | |
| --- | |
| commit 14dcfd00a6589d594de7c5aaabb21c2024a38a1a | |
| parent 871d4962b6cc37051c76cba702dc8bd1cd718f57 | |
| Author: Anders Damsgaard <[email protected]> | |
| 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(-) | |
| --- | |
| diff --git a/themes/tale-mod/layouts/_default/summary.html b/themes/tale-mod/la… | |
| 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" ( $scr… | |
| width="{{ $image.Width }}" height="{{ $image.Height }}"> | |
| - | |
| - | |
| {{ $scratch.Add "counter" 1 }} | |
| {{ end }} | |
| {{ end }} |