Access to global context in partial which define in other partial that have context

  • index.md
 sections = [ “features”, ‘’…’’]
[features]
template = feature.html
[[feature]]
icon = “…/img/features/token_icon.svg”
label = “Built for the new token economy”
[[feature]]
icon = “…/img/features/experience_icon.svg”
label = “Optimized for the best experience”
  • index.html
{{ range .Param “sections” }}
{{ $section := $context.Param . }}
{{ partial $section.template (dict “context” . “section” $section)}}
{{ end }}

partial “feature.html” has “nav.html.”
in this case, not working global context access in “nav.html”

{{ range $.Site.Main.menus }}

and also not working Params in feature.html

{{ range .Params.feature }}
   {{ .icon }}
   {{ .label }}
{{ end }}

Please let me know kindly who have idea for this.
Thanks