mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-12-17 19:33:30 +00:00
3 lines
No EOL
183 B
HTML
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 }} |