diff --git a/layouts/_default/_markup/.gitkeep b/layouts/_default/_markup/.gitkeep deleted file mode 100644 index e69de29..0000000 diff --git a/layouts/_default/_markup/render-heading.html b/layouts/_default/_markup/render-heading.html new file mode 100644 index 0000000..8abeac6 --- /dev/null +++ b/layouts/_default/_markup/render-heading.html @@ -0,0 +1 @@ +{{ .Text | safeHTML }} diff --git a/layouts/docs/single.html b/layouts/docs/single.html index 5c58c54..28bb90b 100644 --- a/layouts/docs/single.html +++ b/layouts/docs/single.html @@ -31,7 +31,7 @@ {{ partial "sidebar/docs-toc.html" . }} {{ end -}} - {{ partial "main/headline-hash.html" .Content }} + {{ .Content }} {{ if .Site.Params.editPage -}} {{ partial "main/edit-page.html" . }} {{ end -}} @@ -45,4 +45,4 @@ --> -{{ end }} \ No newline at end of file +{{ end }} diff --git a/layouts/partials/main/headline-hash.html b/layouts/partials/main/headline-hash.html deleted file mode 100644 index 826fa32..0000000 --- a/layouts/partials/main/headline-hash.html +++ /dev/null @@ -1 +0,0 @@ -{{ . | replaceRE "()" `${1} ${3}` | safeHTML }} \ No newline at end of file