{{ $p := . }} {{ $home := site.Home }} {{- if ne .Params.cid "home" }}
{{ end }} {{ $sections := slice "docs" "hosting" "development" "about" }} {{ range $sections }} {{ with site.GetPage "section" . }} {{ $menuSections := (where .Sections ".Params.main_menu" true) }} {{ if eq .Section $.Section }} {{ end }} {{ end }} {{ end }} {{- if ne .Params.cid "home" }}
{{ end }}