Updated to match new look
only too 9 months lol Signed-off-by: Sophia Atkinson <sophialul@protonmail.com>
This commit is contained in:
@ -1,7 +1,3 @@
|
||||
<h{{ .Level }} id="{{ .Anchor | safeURL }}">
|
||||
{{ .Text | safeHTML }}
|
||||
<a class="heading-link" href="#{{ .Anchor | safeURL }}">
|
||||
<i class="fa fa-link" aria-hidden="true" title="{{ i18n "link_to_heading" | default "Link to heading" }}"></i>
|
||||
<span class="sr-only">{{ i18n "link_to_heading" | default "Link to heading" }}</span>
|
||||
</a>
|
||||
</h{{ .Level }}>
|
||||
|
@ -0,0 +1 @@
|
||||
<a href="{{ .Destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }} {{ if strings.HasPrefix .Destination "http" }} class="external-link" target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
Reference in New Issue
Block a user