8 lines
342 B
HTML
8 lines
342 B
HTML
|
{{ $title := ((.title) | default "") }}
|
||
|
{{ $href := ((.href) | default "") }}
|
||
|
{{ $text := ((.text) | default "") }}
|
||
|
{{ $class := ((.class) | default "") }}
|
||
|
|
||
|
{{ $url := ((printf "<a title='%s' class='%s' href='%s' target='_blank' rel='noopener noreferrer nofollow'>%s</a>" ($title) ($class) ($href) ($text)) | safeHTML) }}
|
||
|
{{ return ($url) }}
|