add simple theme
This commit is contained in:
parent
9e3457474b
commit
ec19540d92
102 changed files with 4646 additions and 1 deletions
2
themes/PaperMod/layouts/partials/anchored_headings.html
Normal file
2
themes/PaperMod/layouts/partials/anchored_headings.html
Normal file
|
@ -0,0 +1,2 @@
|
|||
{{- /* formats .Content headings by adding an anchor */ -}}
|
||||
{{ . | replaceRE "(<h[1-6] id=\"([^\"]+)\".+)(</h[1-6]+>)" "${1}<a hidden class=\"anchor\" aria-hidden=\"true\" href=\"#${2}\">#</a>${3}" | safeHTML }}
|
Loading…
Add table
Add a link
Reference in a new issue