bobatheme/layouts/_default/_markup/render-heading.html

11 lines
351 B
HTML
Raw Normal View History

2021-10-02 20:20:44 -05:00
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="section-header">
<a href="#{{ .Anchor | safeURL }}">
{{/* this took too much work but doesn't quite fit the theme
<span class="section-header-link">
{{ partial "icon.html" "link" }}
*/}}
</span>
2021-10-02 20:20:44 -05:00
{{ .Text | safeHTML }}
</a>
</h{{ .Level }}>