summary refs log tree commit diff stats
path: root/themes/bear/templates/taxonomy_single.html
diff options
context:
space:
mode:
authorAlan Pearce2023-07-06 20:31:08 +0200
committerAlan Pearce2023-07-06 20:31:08 +0200
commit8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447 (patch)
tree85ff9d3644cbe9e38c745ca5d22180aa94d39827 /themes/bear/templates/taxonomy_single.html
parent7b9d6622a4dd97075e8334f75dff9661e87e75ff (diff)
downloadwebsite-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.tar.lz
website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.tar.zst
website-8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447.zip
Use relative URLs in HTML
Diffstat (limited to 'themes/bear/templates/taxonomy_single.html')
-rw-r--r--themes/bear/templates/taxonomy_single.html6
1 files changed, 3 insertions, 3 deletions
diff --git a/themes/bear/templates/taxonomy_single.html b/themes/bear/templates/taxonomy_single.html
index 5ee2b88..a96139c 100644
--- a/themes/bear/templates/taxonomy_single.html
+++ b/themes/bear/templates/taxonomy_single.html
@@ -1,9 +1,9 @@
 {% extends "base.html" %}
 
 {% 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 }}">
-  {%- set rss_path = "tags/" ~ term.name ~ "/" ~ config.feed_filename %}
-  <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{% if term %}{{ term.name | title }}{% else %}{{ section.title | title }}{% endif %}" href="{{ get_url(path=rss_path) | 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 }}">
+  {%- set rss_path = "/tags/" ~ term.name ~ "/" ~ config.feed_filename %}
+  <link rel="alternate" type={% if config.feed_filename == "atom.xml" %}"application/atom+xml"{% else %}"application/rss+xml"{% endif %} title="{% if term %}{{ term.name | title }}{% else %}{{ section.title | title }}{% endif %}" href="{{ rss_path }}">
 {%- endblock -%}
 
 {% block main -%}