{{ define "main" }}
{{ with .Params.description }}
{{ . | markdownify }}
{{ end }} {{ $hasContent := false }} {{ with .File }} {{ if ne .Filename "" }} {{ $hasContent = (ge (len $.RawContent) 100) }} {{ end }} {{ end }} {{ if $hasContent }} {{ partial "docs/content-page" (dict "ctx" $ "page" $ ) }} {{ else }}

{{ .Title }}

{{ end }} {{ partial "section-index.html" . }}
{{ end }}