added manual tooltip to nerdlinks

This commit is contained in:
Gabriele Musco 2020-09-05 11:03:07 +02:00
parent ab9f873c65
commit a7825fe8b4
No known key found for this signature in database
GPG key ID: 8539FD3454380B83
2 changed files with 19 additions and 2 deletions

View file

@ -1,8 +1,7 @@
<a
target="_blank"
class="nerdlink"
href="{{ index . 1 }}"
title="{{ index . 0 }}">
href="{{ index . 1 }}">
{{ if eq (lower (index . 0)) "gitlab" }}
&#xf296;
{{ else if eq (lower (index . 0)) "gnome" }}
@ -30,4 +29,7 @@
{{ else }}
{{ index . 0 }}
{{ end }}
<span>
{{ index . 0 }}
</span>
</a>