Add hint text; closes #5

This commit is contained in:
Vri 🌈 2023-03-16 16:41:50 +01:00
parent c411f30581
commit fbf285a076
Signed by: vrifox
GPG key ID: D40098E5B60B2197
2 changed files with 41 additions and 3 deletions

View file

@ -21,7 +21,7 @@
</section>
<aside>
<section id="social-links">
<a rel="me" href="https://social.anoxinon.de/@vri">{{ partial "helpers/icons" "mastodon" }}</a>
<a class="hint-text" rel="me" href="https://social.anoxinon.de/@vri" data-title="Mastodon">{{ partial "helpers/icons" "mastodon" }}</a>
</section>
<section id="languages">
{{- if .Site.IsMultiLingual }}
@ -33,7 +33,7 @@
{{ range $siteLanguages }}
{{ if eq $translation.Lang .Lang }}
{{ if ne $pageLanguage .Lang }}
<a id="language" href="{{ $translation.Permalink }}">{{ .Params.languageFlag }}</a>
<a class="hint-text" id="language" href="{{ $translation.Permalink }}" data-title="{{ .LanguageName }}">{{ .Params.languageFlag }}</a>
{{ end }}
{{ end }}
{{ end }}