2019-10-26 00:15:49 +02:00
|
|
|
<!-- {{/*
|
|
|
|
Usage: {{< linkBlank "URL" "TITLE" >}}
|
|
|
|
*/}}-->
|
|
|
|
{{ $linkTitle := .Get 1 }}
|
|
|
|
{{ $linkUrl := .Get 0 }}
|
|
|
|
|
|
|
|
{{ if $linkTitle }}
|
2019-10-27 01:16:35 +02:00
|
|
|
<a target="_blank" rel="noreferrer" href="{{ $linkUrl | absLangURL }}" aria-label="{{ $linkTitle | markdownify }}">{{ $linkTitle | markdownify }} <i class="fa fa-external-link"></i></a>
|
2019-10-26 00:15:49 +02:00
|
|
|
{{ else }}
|
2019-10-27 01:16:35 +02:00
|
|
|
<a target="_blank" rel="noreferrer" href="{{ $linkUrl | absLangURL }}" aria-label="{{ $linkUrl }}">{{ $linkUrl }} <i class="fa fa-external-link"></i></a>
|
2019-10-26 00:15:49 +02:00
|
|
|
{{ end }}
|