hugo-theme-relearn/layouts/partials/toc-class.html
2023-09-15 00:23:41 +02:00

3 lines
No EOL
180 B
HTML

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