6 lines
277 B
HTML
6 lines
277 B
HTML
{{- $destination := .Destination -}}
|
|
{{- if .Page.Site.Params.BookPortableLinks -}}
|
|
{{- $destination = partial "docs/links/portable-link" . -}}
|
|
{{- end -}}
|
|
<a href="{{ $destination | safeURL }}"{{ with .Title}} title="{{ . }}"{{ end }}>{{ .Text | safeHTML }}</a>
|
|
{{- /**/ -}} |