Skip to content

Commit

Permalink
allow url-canonical in footer
Browse files Browse the repository at this point in the history
  • Loading branch information
daattali authored Sep 13, 2020
1 parent f64281d commit 807f35f
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion _includes/footer.html
Original file line number Diff line number Diff line change
Expand Up @@ -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 %}
Expand Down

0 comments on commit 807f35f

Please sign in to comment.