{{- $name := .Get "name" -}}
{{- $sort := .Get "sort" -}}
{{- $order := default "asc" (.Get "order") -}}
{{- $showAnchor := (and (default true .Page.Params.geekdocAnchor) (default true .Page.Site.Params.geekdocAnchor)) -}}

{{- if .Site.Data.properties }}
  <dl class="gdoc-props">
    {{- with (index .Site.Data.properties (split $name ".")) }}
      {{- $properties := .properties }}
      {{- with $sort }}
        {{- $properties = (sort $properties . $order) }}
      {{- end }}
      {{- range $properties 