{{ $.Scratch.Set "offset" 0 }} {{ range $i, $e := where ( where .Site.RegularPages "Section" "sections" ) ".Params.hidden" "!=" true }} {{ if eq .File.BaseFileName "hero" }}{{ $.Scratch.Set "offset" 1 }}{{ end }} {{ $j := add ( $.Scratch.Get "offset" ) $i }}

{{ .Title }}

{{ .Content }}
{{ end }}