Hilbish/website/themes/hsh/layouts/_default/_markup/render-heading.html

12 lines
255 B
HTML
Raw Normal View History

2023-01-18 10:39:26 +00:00
<h{{ (add .Level 1) }} id="{{ .Anchor | safeURL }}" class="heading">
2022-12-13 19:14:48 +00:00
{{ .Text | safeHTML }}
2023-01-18 10:39:26 +00:00
<a href="#{{ .Anchor | safeURL }}" class='heading-link'>
<i class="fas fa-paperclip"></i>
</a>
2022-12-13 19:14:48 +00:00
</h{{ (add .Level 1) }}>
2023-01-18 10:39:26 +00:00
2022-12-13 19:14:48 +00:00
{{ if eq .Text ""}}
2023-01-18 10:39:26 +00:00
<hr>
2022-12-13 19:14:48 +00:00
{{ end }}