Files
paige-hugo/layouts/_default/_markup/render-link.html
2023-09-24 19:11:01 -07:00

4 lines
243 B
HTML

{{ $target := partial "paige/target.html" (dict "page" .Page "url" .Destination) }}
<a {{ with .Destination }} href="{{ . }}" {{ end }} {{ with $target }} target="{{ . }}" {{ end }} {{ with .Title }} title="{{ . }}" {{ end }}>{{ .Text }}</a>