2023-08-10 18:45:29 -04:00
|
|
|
{{ $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 }}
|
2024-02-23 22:35:59 -05:00
|
|
|
<a class="header-link" aria-hidden="true" href="#{{ $id }}">#</a>
|
2023-08-10 18:45:29 -04:00
|
|
|
{{ printf "</%s>" $header_type | safeHTML }}
|
|
|
|
|