Files

6 lines
277 B
HTML
Raw Permalink Normal View History

{{- $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>
{{- /**/ -}}