diff --git a/layouts/partials/sidebar.html b/layouts/partials/sidebar.html index 1eed8c62252fbc2914e3a9dc189a388c559c5431..3279d609b46ac8eac1859f94bd1604071d5739a1 100644 --- a/layouts/partials/sidebar.html +++ b/layouts/partials/sidebar.html @@ -38,33 +38,6 @@ {{ end }} {{ end }} - - {{ with $.Site.GetPage $dir }} - {{ range first $maxnum .Pages.ByDate.Reverse }} - {{$StatBanner := and (eq .Params.mkbanner true) (le now .Params.bannerEndDate) }} - {{ if ne $StatBanner true }} - {{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }} - {{ if le ($.Scratch.Get "counter") $maxnum }} - {{ if .Params.bannerimg }} -