{{- define "herotag" -}} {{- if eq "help-hero" .Params.hero -}} {{- $img := .Resources.GetMatch "*featured*" -}} {{- with $img -}} {{- $medium := .Resize "1000x" -}}
Mountaineers helping each other
{{- $.Page.Params.subtitle -}}
{{- partial "help/search-results" . -}}
{{- end -}} {{- end -}} {{- end -}} {{- define "main" -}}

{{- .Title -}}

{{- if .RegularPages -}}
{{- range .RegularPages -}} {{- if ne .Params.noList "1" -}} {{- .Title -}} {{- end -}} {{- end -}}
{{- end -}} {{- range where .Sections ".Draft" "ne" true -}}
{{- $title := .Title -}} {{- $thumb := .Resources.GetMatch "*-icon*" -}} {{- with $thumb -}}
{{- .Content | safeHTML -}}
{{- end -}}

{{- .Title -}}

{{- range .RegularPages -}} {{- if ne .Params.noList "1" -}} {{- .Title -}} {{- end -}} {{- end -}} {{- range .Sections -}} {{- .Title -}} {{- end -}}
{{- end -}} {{- if .Params.links -}}
{{- if .Params.linkicon -}} {{- $thumb := .Resources.GetMatch "*-icon*" -}} {{- with $thumb -}}
{{- .Content | safeHTML -}}
{{- end -}} {{- end -}}

{{- .Params.linkstitle -}}

{{- range .Params.links -}} {{- .text -}} {{- end -}}
{{- end -}}
{{- end -}}