Wrap the u-uid link in the h-card around my avatar rather than just having it be hidden, since invisible info in is a microformats2 antipattern

This commit is contained in:
Danielle McLean 2017-12-11 12:28:39 +11:00
parent ddf4099639
commit 5fa4066d7a
Signed by: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -11,8 +11,9 @@
{% block main %} {% block main %}
<aside class="author"> <aside class="author">
<article class="h-card card p-author"> <article class="h-card card p-author">
<a class="u-uid u-url" href="{{ uri }}" hidden></a> <a class="u-uid u-url" href="{{ uri }}">
{% if user.avatar %}<img class="card-img-top u-photo" src="{{ user.avatar.url }}" alt="{{ user.first_name }} {{ user.last_name }}" />{% endif %} {% if user.avatar %}<img class="card-img-top u-photo" src="{{ user.avatar.url }}" alt="{{ user.first_name }} {{ user.last_name }}" />{% endif %}
</a>
<div class="card-body"> <div class="card-body">
<h4 class="card-title p-name"> <h4 class="card-title p-name">