aboutsummaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDaniel Schadt <kingdread@gmx.de>2023-12-12 20:41:35 +0100
committerDaniel Schadt <kingdread@gmx.de>2023-12-12 20:41:35 +0100
commit70c6fb73d7167ffdf589234a1e9bb76ae8434401 (patch)
tree45ffb597afe03f3c57a8956a45cf7fde41cf280f /templates
parent0405f45b82dfe8c46b5904783e601167189f260e (diff)
downloadmoeka-70c6fb73d7167ffdf589234a1e9bb76ae8434401.tar.gz
moeka-70c6fb73d7167ffdf589234a1e9bb76ae8434401.tar.bz2
moeka-70c6fb73d7167ffdf589234a1e9bb76ae8434401.zip
add a small RSS icon
Diffstat (limited to 'templates')
-rw-r--r--templates/base.html12
1 files changed, 11 insertions, 1 deletions
diff --git a/templates/base.html b/templates/base.html
index e88aa26..41092f3 100644
--- a/templates/base.html
+++ b/templates/base.html
@@ -1,6 +1,6 @@
{% macro feed(path, feed_name, type) %}
{% if path %}
-<link href="{{ SITEURL }}/{{ path }}" type="application/{{ type }}+xml" rel="alternate" title="{{ SITENAME }} {{feed_name }}">
+<link href="{{ SITEURL }}/{{ path }}" type="application/{{ type }}+xml" rel="alternate" title="{{ SITENAME }} {{ feed_name }}">
{% endif %}
{% endmacro -%}
@@ -87,6 +87,16 @@
{% endif %}
</ul>
</nav>
+
+ {% if FEED_ALL_RSS_URL %}
+ <a href="{{ SITEURL }}/{{ FEED_ALL_RSS_URL }}">
+ <img src="{{ SITEURL }}/theme/images/feed.svg" alt="RSS Feed" class="feed-icon">
+ </a>
+ {% elif FEED_ALL_RSS %}
+ <a href="{{ SITEURL }}/{{ FEED_ALL_RSS }}">
+ <img src="{{ SITEURL }}/theme/images/feed.svg" alt="RSS Feed" class="feed-icon">
+ </a>
+ {% endif %}
</header>
</div>