diff options
author | Daniel Schadt <kingdread@gmx.de> | 2023-12-12 20:41:35 +0100 |
---|---|---|
committer | Daniel Schadt <kingdread@gmx.de> | 2023-12-12 20:41:35 +0100 |
commit | 70c6fb73d7167ffdf589234a1e9bb76ae8434401 (patch) | |
tree | 45ffb597afe03f3c57a8956a45cf7fde41cf280f /templates/base.html | |
parent | 0405f45b82dfe8c46b5904783e601167189f260e (diff) | |
download | moeka-70c6fb73d7167ffdf589234a1e9bb76ae8434401.tar.gz moeka-70c6fb73d7167ffdf589234a1e9bb76ae8434401.tar.bz2 moeka-70c6fb73d7167ffdf589234a1e9bb76ae8434401.zip |
add a small RSS icon
Diffstat (limited to 'templates/base.html')
-rw-r--r-- | templates/base.html | 12 |
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> |