diff --git a/themes/nluug/layouts/partials/header.html b/themes/nluug/layouts/partials/header.html index db9612d..4c95add 100644 --- a/themes/nluug/layouts/partials/header.html +++ b/themes/nluug/layouts/partials/header.html @@ -1,3 +1,6 @@ +{{ $.Scratch.Set "counter" 0 }} +{{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }} +
@@ -12,9 +15,10 @@ {{ $currentPage := . }} {{ range .Site.Menus.main }} {{ if .Children }} + {{ $.Scratch.Set "counter" (add ($.Scratch.Get "counter") 1) }}
  • - -