Add statement links to footer
This commit is contained in:
parent
04d2ce3caf
commit
ef7652cb20
|
@ -16,6 +16,7 @@
|
||||||
padding: 1rem 1rem 3rem 1rem;
|
padding: 1rem 1rem 3rem 1rem;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
display: grid;
|
display: grid;
|
||||||
|
gap: 0.3em;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer p {
|
.footer p {
|
||||||
|
@ -25,10 +26,13 @@
|
||||||
.footer__links {
|
.footer__links {
|
||||||
justify-self: center;
|
justify-self: center;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
|
text-align: center;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 0;
|
padding: 0;
|
||||||
display: flex;
|
display: flex;
|
||||||
gap: 0.7em;
|
column-gap: 0.5em;
|
||||||
|
flex-wrap: wrap;
|
||||||
|
justify-content: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
.footer__links li:not(:last-child)::after {
|
.footer__links li:not(:last-child)::after {
|
||||||
|
|
|
@ -5,6 +5,7 @@
|
||||||
|
|
||||||
{% set currentUrl %}{{ page.url }}{% endset %}
|
{% set currentUrl %}{{ page.url }}{% endset %}
|
||||||
<ul class="footer__links">
|
<ul class="footer__links">
|
||||||
|
<li><a href="/feed.xml">RSS</a></li>
|
||||||
<li><a
|
<li><a
|
||||||
{% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %}
|
{% if currentUrl === "/sitemap/" %}aria-current="page"{% endif %}
|
||||||
href="/sitemap/
|
href="/sitemap/
|
||||||
|
@ -13,7 +14,12 @@
|
||||||
{% if currentUrl === "/changelogs/" %}aria-current="page"{% endif %}
|
{% if currentUrl === "/changelogs/" %}aria-current="page"{% endif %}
|
||||||
href="/changelogs/"
|
href="/changelogs/"
|
||||||
>Changelogs</a></li>
|
>Changelogs</a></li>
|
||||||
<li><a href="/feed.xml">RSS</a></li>
|
{%- for statement in collections.statements -%}
|
||||||
|
<li><a
|
||||||
|
{% if entry.url == page.url %}aria-current="page"{% endif %}
|
||||||
|
href="{{ statement.url }}"
|
||||||
|
>{{ statement.data.title }}</a></li>
|
||||||
|
{%- endfor -%}
|
||||||
</ul>
|
</ul>
|
||||||
{% endblock %}
|
{% endblock %}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue