rimarima/themes/hugo-liftoff/layouts/_default/_markup/render-link.html
Adrian Amaglio c09f092db4 init
2023-11-17 10:54:41 +01:00

1 line
193 B
HTML

<a href="{{ .Destination | safeURL }}"{{ with .Title }} title="{{ . }}"{{ end }}{{ if strings.HasPrefix .Destination "http" }} target="_blank" rel="noopener"{{ end }}>{{ .Text | safeHTML }}</a>