forked from TrueCloudLab/distribution
6 lines
236 B
HTML
6 lines
236 B
HTML
|
{{- if (strings.HasPrefix .Destination "http") -}}
|
||
|
<a href="{{ safe.URL .Destination }}" target="_blank">{{ safe.HTML .Text }}</a>
|
||
|
{{- else -}}
|
||
|
<a href="{{ ref .Page .Destination | safe.URL }}">{{ safe.HTML .Text }}</a>
|
||
|
{{- end -}}
|