Move currentUrl variable
This commit is contained in:
parent
4208fd5e32
commit
994b6bd156
|
@ -1,7 +1,7 @@
|
|||
{% set currentUrl %}{{ page.url }}{% endset %}
|
||||
|
||||
<footer class="footer">
|
||||
<p>Made with ♥ by {{ sitemeta.siteAuthor.name }} since <time>11 September 2022</time></p>
|
||||
|
||||
{% set currentUrl %}{{ page.url }}{% endset %}
|
||||
<ul class="footer__links">
|
||||
<li>
|
||||
<a {% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %} href="/sitemap/">Site Map</a>
|
||||
|
|
Loading…
Reference in New Issue