Skip to content

Commit 807f35f

Browse files
authored
allow url-canonical in footer
1 parent f64281d commit 807f35f

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

_includes/footer.html

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919

2020
{% if site.url-pretty %}
2121
 • 
22-
<span class="author-site"><a href="{{ '' | absolute_url }}">{{ site.url-pretty }}</a></span>
22+
<span class="author-site">
23+
<a href="{% if site.url-canonical %}{{ site.url-canonical }}{% else %}{{ '' | absolute_url }}{% endif %}">{{ site.url-pretty }}</a>
24+
</span>
2325
{% endif %}
2426

2527
{% if site.matomo %}

0 commit comments

Comments
 (0)