From d63e6dc350baf387c4cc9b7c1ced6c85f62e1993 Mon Sep 17 00:00:00 2001 From: Derek Severin Date: Mon, 18 Mar 2019 14:10:03 +0700 Subject: Delete Scratch variables... --- layouts/_default/limage.html | 3 +++ 1 file changed, 3 insertions(+) diff --git a/layouts/_default/limage.html b/layouts/_default/limage.html index 49d31cf..4cfb51b 100644 --- a/layouts/_default/limage.html +++ b/layouts/_default/limage.html @@ -6,6 +6,7 @@ {{ $.Scratch.Set "col_lg" (print "col-lg-" $nb_cols) }} {{ end }} {{ $col_lg := $.Scratch.Get "col_lg" }} +{{ $.Scratch.Delete "col_lg" }} {{ $.Scratch.Set "col_sm" "col-sm-6" }} {{ with $.Site.Params.projects.nb_columns_small }} @@ -13,6 +14,8 @@ {{ $.Scratch.Set "col_sm" (print "col-sm-" $nb_cols) }} {{ end }} {{ $col_sm := $.Scratch.Get "col_sm" }} +{{ $.Scratch.Delete "col_sm" }} + {{ $class := print $col_lg " " $col_sm }}
-- cgit v1.2.3