diff options
author | Derek Severin <severinderek@gmail.com> | 2019-03-18 10:10:03 +0300 |
---|---|---|
committer | Derek Severin <severinderek@gmail.com> | 2019-03-18 10:10:03 +0300 |
commit | d63e6dc350baf387c4cc9b7c1ced6c85f62e1993 (patch) | |
tree | 51fec40d597105bc012a87fd07c866853dd25085 | |
parent | 5036ed6404e033cab5e7c6de1b985d5220927f7c (diff) |
Delete Scratch variables...
-rw-r--r-- | layouts/_default/limage.html | 3 |
1 files changed, 3 insertions, 0 deletions
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 }} <div class="{{ $class }}"> |