make rss feeds optional for resources

This commit is contained in:
zyl 2024-11-13 13:11:37 -08:00
parent 95a0765b1e
commit ddeb079d52
Signed by: zyl
SSH key fingerprint: SHA256:uxxbSXbdroP/OnKBGnEDk5q7EKB2razvstC/KmzdXXs
7 changed files with 101 additions and 65 deletions

View file

@ -6,8 +6,10 @@
{% else %}
<h1>blog Posts</h1>
<p><a href="tags">view blog tags</a></p>
{% if data.rss_enabled %}
<p><a href="rss.xml">rss feed</a></p>
{% endif %}
{% endif %}
<h1>Page {{data.page}}/{{data.page_max}}</h1>
{% if data.previous %}
<a href="./{{data.previous}}">previous page</a>