{{ $page := . }} {{ if and $page.Content (ne $page.TableOfContents ``) }}
{{ $page.TableOfContents }}
{{ end }}