Refactor and modularize
This commit is contained in:
12
_includes/footer.njk
Normal file
12
_includes/footer.njk
Normal 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>
|
Reference in New Issue
Block a user