{{- range $taxonomy, $terms := .Page.Site.Taxonomies }}
<h3><a href="{{ .Page.RelPermalink }}">{{ .Page.LinkTitle }}</a></h3>
<div>$taxonomy: {{ $taxonomy }}</div>
-<div>
-.Page.GetTerms $taxonomy:
-{{- with $pageterms := .Page.GetTerms $taxonomy }}
-<pre>{{ debug.Dump $pageterms }}</pre>
+<h4>.Page</h4>
+{{- with .Page }}
+<pre>{{ debug.Dump . }}</pre>
{{- end }}
-</div>
+<h4>.Page.GetTerms $taxonomy</h4>
+{{- with .Page.Page.GetTerms "categories" }}
+<pre>{{ debug.Dump . }}</pre>
+{{- end }}
+<h4>List</h4>
<ul>
{{- range $terms }}
<li>{{ . }}</li>