Adding no following, referer and NewTab capability for tabs.

This commit is contained in:
Adsooi 2021-08-10 22:51:46 +02:00
parent ebd4f05942
commit 3b2c0104c5
Signed by: Ad5001
GPG key ID: EF45F9C6AFE20160
6 changed files with 20 additions and 21 deletions

View file

@ -1,6 +1,6 @@
{{ range . }}
<div role="button" class="primary">
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}">
<a href="{{ .URL | safeURL }}" role="button" title="{{ .Title }}" rel="nofollow noreferrer" {{ if .NewTab }}target="_blank"{{ end }}>
<i class="icon-{{ lower .Icon }} icon-as-text" alt="{{ .Icon }}"></i>{{ .Title }}
</a>
</div>