allow url-canonical in footer

This commit is contained in:
Dean Attali 2020-09-12 21:07:08 -04:00 committed by GitHub
parent f64281de36
commit 807f35ff05
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -19,7 +19,9 @@
{% if site.url-pretty %}
 • 
<span class="author-site"><a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a></span>
<span class="author-site">
<a href="{% if site.url-canonical %}{{ site.url-canonical }}{% else %}{{ '' | absolute_url }}{% endif %}">{{ site.url-pretty }}</a>
</span>
{% endif %}
{% if site.matomo %}