diff --git a/themes/red/layouts/partials/fake-heading.html b/themes/red/layouts/partials/fake-heading.html new file mode 100644 index 0000000..23d61df --- /dev/null +++ b/themes/red/layouts/partials/fake-heading.html @@ -0,0 +1,9 @@ +{{ $header_type := .Scratch.Get "header-type" }} +{{ $header_name := .Scratch.Get "header-name" }} + +{{ $id := urlize $header_name }} +{{ printf "<%s id=\"%s\">" $header_type $id | safeHTML }} +{{ $header_name }} +# +{{ printf "" $header_type | safeHTML }} +