feat: use display instead of name on hover for services

This commit is contained in:
ae 2025-01-08 14:11:43 +02:00
parent e0cf3a3e60
commit 41c99f7e97
Signed by: ae
GPG Key ID: 995EFD5C1B532B3E
2 changed files with 2 additions and 1 deletions

View File

@ -29,6 +29,7 @@ params:
services: services:
- name: blog - name: blog
url: /blog url: /blog
disply: Blog
# ... # ...
assets: assets:

View File

@ -31,7 +31,7 @@
</p> </p>
<div class="links"> <div class="links">
{{ range .Site.Params.services }} {{ range .Site.Params.services }}
<a href="{{ .url }}" target="_blank" rel="noopener noreferrer" title="{{ .name }}">{{ .name }}</a> <a href="{{ .url }}" target="_blank" rel="noopener noreferrer" title="{{ .display }}">{{ .name }}</a>
{{ end }} {{ end }}
</div> </div>
<div class="separator">•••</div> <div class="separator">•••</div>