{{ if and (isset .Site.Params "googlesearchcode") (.IsHome) }}
{{ end }} {{ if and (not (.Site.Params.disableToC) ) (.IsPage) }}
{{- partial "toc.html" . -}}
{{ end }}