{{/*
The Hugo TOC function can't be changed gracefully.
This edits the HTML output from the TOC function to add Bootstrap Nav classes.
The multiple variable chaining is for readablity.
*/}}
{{/* The H1 element isn't in the TOC. Remove the extra
Hugo generates */}}
{{ $topNavFix := replaceRE `(\