{{- if .context.Params.blocks -}} {{- partial "blocks/toc.html" .context.Params.blocks -}} {{- end -}}