Skip to content

Commit

Permalink
fix: toc should display headings as is (#20)
Browse files Browse the repository at this point in the history
  • Loading branch information
imfing authored Aug 31, 2023
1 parent ed14cf0 commit 8a4e093
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion layouts/partials/toc.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
{{- if .Title }}
<li class="my-2 scroll-my-6 scroll-py-6">
<a class="{{ $class }} inline-block text-gray-500 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-300 contrast-more:text-gray-900 contrast-more:underline contrast-more:dark:text-gray-50 w-full break-words" href="#{{ anchorize .ID }}">
{{- .Title -}}
{{- .Title | safeHTML }}
</a>
</li>
{{- end -}}
Expand Down

0 comments on commit 8a4e093

Please sign in to comment.