Correct the Mastodon verification links for team members.

This commit is contained in:
Russell Keith-Magee 2023-04-14 08:38:52 +08:00
parent f32d6a967c
commit c9b5483298
No known key found for this signature in database
GPG key ID: 3D2DAB6A37BB5BC3

View file

@ -198,8 +198,10 @@
<a href="{{ '/sitemap'|url(alt=this.alt) }}"><i class="fa fa-sitemap fa-lg" aria-hidden="true"></i> {{ t_sitemap }}</a>
</p>
{% set team = site.query('/community/team', alt=this.alt).all() %}
{% for child in team %}
<a rel="me" href={{ child.mastodon_handle }} style="display:none" ></a>
{% for member in team %}
{% if member.mastodon_handle %}
<a rel="me" href="https://{{ member.mastodon_handle.split('@')[2] }}/@{{ member.mastodon_handle.split('@')[1] }}" style="display:none" ></a>
{% endif %}
{% endfor %}
</div>
</footer>