{{ define "main" }}
{{ partial "docs/sidebar.html" . }}
{{ if isset .Params "coupling" }} {{ end }} {{ if .Page.Params.breadcrumbs }} {{ partial "docs/breadcrumbs.html" . }} {{ end }}

{{ .Title }}

{{ .Content }}
{{ if gt (len .Pages) 0 }}
    {{ range where .Pages "Params.gallery" "!=" "false" }} {{ partial "components/gallery-item.html" . }} {{ end }}
{{ end }}
{{ end }}