addet some content
This commit is contained in:
parent
ca2a34ccbc
commit
12d1a88622
64 changed files with 4696 additions and 157 deletions
2
www/layouts/_default/partials/anchored_headings.html
Normal file
2
www/layouts/_default/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