gruh
This commit is contained in:
parent
7a4c5c2d22
commit
2b82345290
663 changed files with 38142 additions and 0 deletions
10
themes/bl/layouts/_default/_markup/render-heading.html
Normal file
10
themes/bl/layouts/_default/_markup/render-heading.html
Normal file
|
@ -0,0 +1,10 @@
|
|||
<h{{ .Level }} class="relative group">{{ .Text | safeHTML }}
|
||||
<div id="{{ .Anchor | safeURL }}" class="anchor"></div>
|
||||
{{ if.Page.Params.showHeadingAnchors | default (.Page.Site.Params.article.showHeadingAnchors | default true) }}
|
||||
<span
|
||||
class="absolute top-0 w-6 transition-opacity opacity-0 ltr:-left-6 rtl:-right-6 not-prose group-hover:opacity-100">
|
||||
<a class="group-hover:text-primary-300 dark:group-hover:text-neutral-700"
|
||||
style="text-decoration-line: none !important;" href="#{{ .Anchor | safeURL }}" aria-label="{{ i18n "article.anchor_label" }}">#</a>
|
||||
</span>
|
||||
{{ end }}
|
||||
</h{{ .Level }}>
|
Loading…
Add table
Add a link
Reference in a new issue