diff options
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> |