hugo-theme-relearn/layouts/partials/toc-class.html
2023-10-30 19:11:39 +01:00

3 lines
No EOL
183 B
HTML

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