hugo-theme-relearn/layouts/partials/toc-class.html

3 lines
180 B
HTML
Raw Normal View History

{{- $toc_content := partial "toc.html" . }}
{{- $toc_content = strings.Replace $toc_content "id=\"TableOfContents\"" "class=\"TableOfContents\"" 1 }}
{{- $toc_content | safeHTML }}