{{ if and (ne .Params.toc false) (ne .TableOfContents "") -}} On this page {{ .TableOfContents }} {{ end -}}