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