Don't mark the hidden self-referencing u-url on the h-card as rel="me", since there's no point in verifying the URL you're already at

This commit is contained in:
Danielle McLean 2017-10-25 13:37:47 +11:00
parent 15962532eb
commit 5a4362b129
Signed by untrusted user: 00dani
GPG key ID: 5A5D2D1AFF12EEC5

View file

@ -8,7 +8,7 @@
{% 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" rel="me" href="{{ uri }}" hidden></a> <a class="u-uid u-url" href="{{ uri }}" hidden></a>
{% 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 %}
<div class="card-body"> <div class="card-body">
<h4 class="card-title p-name"> <h4 class="card-title p-name">