Refactor and modularize

This commit is contained in:
2024-01-23 11:38:50 -06:00
parent 1265d3d4a9
commit 9d84151ee5
13 changed files with 112 additions and 111 deletions

12
_includes/footer.njk Normal file
View File

@@ -0,0 +1,12 @@
<footer>
{% if metadata.copyrightNotice %}<p>{{ metadata.copyrightNotice }}</p>{% endif %}<br>
{% if metadata.webrings %}
{% for webring in metadata.webrings %}
{% if webring.previousURL %}<a href="{{ webring.previousURL }}">←</a>{% endif %}
{% if webring.ringURL %}<a href="{{ webring.ringURL }}">{{ webring.name }}</a>{% endif %}
{% if webring.nextURL %}<a href="{{ webring.nextURL }}">→</a>{% endif %}
<br>
{% endfor %}
{% endif %}
</footer>