feat(links): add rel=me html attr on profile links
This commit is contained in:
parent
9c28963b53
commit
57f12e9a0b
2 changed files with 2 additions and 23 deletions
|
@ -3,15 +3,7 @@ links: # or profiles
|
|||
name: Mastodon
|
||||
username: lefuturiste
|
||||
url: https://mstdn.io/users/lefuturiste
|
||||
# - id: youtube
|
||||
# name: YouTube
|
||||
# legacy: true
|
||||
# url: https://www.youtube.com/channel/UC0x-gNbsyyrC69HjT5Z44MQ
|
||||
|
||||
# - id: twitter
|
||||
# name: Twitter
|
||||
# legacy: true
|
||||
# url: https://twitter.com/_le_futuriste
|
||||
profile: main
|
||||
- id: github
|
||||
name: GitHub
|
||||
username: lefuturiste
|
||||
|
@ -36,19 +28,6 @@ links: # or profiles
|
|||
thumbnail:
|
||||
src: discord.svg
|
||||
style: "transform: scale(0.75)"
|
||||
# - id: discord-server
|
||||
# name:
|
||||
# fr: Mon serveur discord
|
||||
# en: My discord server
|
||||
# legacy: true
|
||||
# url: https://discord.com/invite/3W94m7ts3H
|
||||
# thumbnail:
|
||||
# src: discord.svg
|
||||
# style: "transform: scale(0.75)"
|
||||
# - id: soundcloud
|
||||
# name: Sound Cloud
|
||||
# legacy: true
|
||||
# url: https://soundcloud.com/lefuturiste
|
||||
- id: stackoverflow
|
||||
name: StackOverflow
|
||||
username: lefuturiste
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="links-container">
|
||||
<div class="links">
|
||||
{% for link in links %}
|
||||
<a class="link-card" href="{{ link.url }}" data-id="{{ link.id }}">
|
||||
<a class="link-card" href="{{ link.url }}" data-id="{{ link.id }}" {% if link.profile == "main" %}rel="me"{% endif %}>
|
||||
<div class="link-card-logo">
|
||||
<img
|
||||
src="imgs/logos/{{ link.thumbnail.src }}"
|
||||
|
|
Loading…
Reference in a new issue