mirror of
https://github.com/imfing/hextra.git
synced 2025-06-20 04:41:50 -04:00
fix: remove extra space for rendered link
chore: update theme info chore: use dataset chore: support editURL config option * add toc and search config option chore: update head template
This commit is contained in:
@ -1 +1,3 @@
|
||||
<a href="{{ .Destination | safeURL }}" {{ with .Title }}title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
{{- with . -}}
|
||||
<a href="{{ .Destination | safeURL }}" {{ with .Title }}title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
||||
{{- end -}}
|
||||
|
Reference in New Issue
Block a user