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

3 lines
183 B
HTML
Raw Normal View History

2023-10-30 18:11:39 +00:00
{{- $toc_content := partial "toc-id.html" . }}
{{- $toc_content = strings.Replace $toc_content "id=\"TableOfContents\"" "class=\"TableOfContents\"" 1 }}
{{- $toc_content | safeHTML }}