all repos — website @ 8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447

My website

Use relative URLs in HTML

Alan Pearce
commit

8ab05aa7c96bfb59ea6e50e0dfc6848a37e47447

parent

7b9d6622a4dd97075e8334f75dff9661e87e75ff

1 file changed, 3 insertions(+), 3 deletions(-)

changed files
M themes/bear/templates/taxonomy_single.htmlthemes/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 -%}