Fix link for author name (#2575)

Missed from bcd6126612
This commit is contained in:
dianlujitao 2020-07-24 00:11:03 +08:00 committed by GitHub
parent a89a015ce7
commit be9a90fa0c
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -17,7 +17,7 @@
<div class="author__content"> <div class="author__content">
{% if author.home %} {% if author.home %}
<a href="{{ author_link }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a> <a href="{{ author.home | relative_url }}"><h3 class="author__name" itemprop="name">{{ author.name }}</h3></a>
{% else %} {% else %}
<h3 class="author__name" itemprop="name">{{ author.name }}</h3> <h3 class="author__name" itemprop="name">{{ author.name }}</h3>
{% endif %} {% endif %}