mirror of
https://github.com/imfing/hextra.git
synced 2025-05-13 18:56:25 -04:00

chore: update theme info chore: use dataset chore: support editURL config option * add toc and search config option chore: update head template
4 lines
222 B
HTML
4 lines
222 B
HTML
{{- with . -}}
|
|
<a href="{{ .Destination | safeURL }}" {{ with .Title }}title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }}target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>
|
|
{{- end -}}
|