Adding no following, referer and NewTab capability for tabs.
This commit is contained in:
parent
ebd4f05942
commit
3b2c0104c5
6 changed files with 20 additions and 21 deletions
|
@ -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>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue