diff options
author | Alan Pearce | 2023-07-06 20:31:08 +0200 |
---|---|---|
committer | Alan Pearce | 2023-07-06 20:31:08 +0200 |
commit | 8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447 (patch) | |
tree | 85ff9d3644cbe9e38c745ca5d22180aa94d39827 /themes/bear/templates/base.html | |
parent | 7b9d6622a4dd97075e8334f75dff9661e87e75ff (diff) | |
download | website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.tar.lz website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.tar.zst website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.zip |
Use relative URLs in HTML
Diffstat (limited to 'themes/bear/templates/base.html')
-rw-r--r-- | themes/bear/templates/base.html | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/bear/templates/base.html b/themes/bear/templates/base.html index 7fa1991..e3e68b4 100644 --- a/themes/bear/templates/base.html +++ b/themes/bear/templates/base.html @@ -8,7 +8,7 @@ <meta name="referrer" content="no-referrer-when-downgrade"> {%- if config.generate_feed %} {% block rss -%} - <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="{{ get_url(path=config.feed_filename) | safe }}"> + <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{{ config.title }}" href="/{{ config.feed_filename }}"> {%- endblock -%} {%- endif %} <style> |