Update feeds fragment, add support for every feed-related variables

All this boilerplate is taken straight from the pelican simple theme:
- https://github.com/getpelican/pelican/blob/master/pelican/themes/simple/templates/base.html
This commit is contained in:
Arnaud Rebillout
2020-07-26 10:27:06 +07:00
parent 2dd1cd6d27
commit a6a9b79389
2 changed files with 25 additions and 2 deletions
+1 -1
View File
@@ -35,7 +35,7 @@
</a>
{% endif %}
{% endfor %}
<a class="sidebar-nav-item" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM }}">
<a class="sidebar-nav-item" href="{{ FEED_DOMAIN }}/{{ FEED_ALL_ATOM if FEED_ALL_ATOM else FEED_ALL_RSS }}">
<i class="fas fa-rss"></i>
</a>
</nav>