add handles on social link hover

This commit is contained in:
xunuwu 2025-05-20 18:00:13 +02:00
parent 481a2a665d
commit f9b9b05683
Signed by: xun
SSH key fingerprint: SHA256:Uot/1WoAjWAeqLOHA5vYy4phhVydsH7jCPmBjaPZfgI

View file

@ -1,11 +1,23 @@
--- ---
socials: socials:
discord: "https://discord.com/users/821827926504112129" - name: discord
bluesky: "https://bsky.app/profile/owoxun.bsky.social" handle: "@xunuwu"
roblox: "https://www.roblox.com/users/149009823" link: "https://discord.com/users/821827926504112129"
last.fm: "https://www.last.fm/user/xunuwu" - name: bluesky
github: "https://github.com/xunuwu" handle: owoxun.bsky.social
steam: "https://steamcommunity.com/id/xunuwu/" link: "https://bsky.app/profile/owoxun.bsky.social"
- name: roblox
handle: "@xunuwu"
link: "https://www.roblox.com/users/149009823"
- name: last.fm
handle: xunuwu
link: "https://www.last.fm/user/xunuwu"
- name: github
handle: xunuwu
link: "https://github.com/xunuwu"
- name: steam
handle: xunuwu
link: "https://steamcommunity.com/id/xunuwu/"
# info field is optional, title and link are mandatory # info field is optional, title and link are mandatory
projects: projects:
@ -51,8 +63,8 @@ projects:
<section> <section>
<h2>socials</h2> <h2>socials</h2>
<ul> <ul>
{% for link in socials %} {% for item in socials %}
<li><a href="{{ link[1] }}" target="_blank" rel="noopener noreferrer">{{ link[0] }}</a></li> <li><a href="{{ item.link }}" target="_blank" {% if item.handle %} title="{{ item.handle }}" {% endif %} rel="noopener noreferrer">{{ item.name }}</a></li>
{% endfor %} {% endfor %}
</ul> </ul>
</section> </section>