Skip to content

Commit

Permalink
[Fix/Feat/Chore]: Fixes the RSS feel links
Browse files Browse the repository at this point in the history
Closes #53
  • Loading branch information
finnito committed Sep 11, 2020
1 parent 8d25e74 commit 91a2fb4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
<ul>
<li><a href="{{ hut.static_link }}">View on DOC</a></li>
<li><a href="http://www.topomap.co.nz/NZTopoMap?v=2&ll={{hut.latitude}},{{hut.longitude}}&z=14">View on TopoMap: {{ hut.latitude }}, {{ hut.longitude }}</a></li>
<li><a href="feed.xml" class="button good">Subscribe to Hut Logs (RSS)</a></li>
<li><a href="{{ url_current() }}/ feed.xml" class="button good">Subscribe to Hut Logs (RSS)</a></li>
</ul>

<h3 id="make-a-log">
Expand Down Expand Up @@ -77,7 +77,7 @@
{% endblock %}

{% block meta %}
<link rel="alternate" type="application/rss+xml" title="{{ hut.name }} | AdventureLog NZ" href="feed.xml" />
<link rel="alternate" type="application/rss+xml" title="{{ hut.name }} | AdventureLog NZ" href="{{ url_current() }}/feed.xml" />
{% endblock %}

{% block footer %}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{% extends "finnito.theme.adventurelog::layouts.default" %}
{% block content %}
<h2>Huts in {{ place }}</h2>
<p><a href="feed.xml" class="button good">Subscribe to Logs in This Area (RSS)</a></p>
<p><a href="{{ url_current() }}/feed.xml" class="button good">Subscribe to Logs in This Area (RSS)</a></p>
<ul>
{% for hut in huts %}
<li>{% if hut.place_type == "hut" %}🏡{% else %}🏕{% endif %} <a href="/places/{{ hut.place_slug }}/{{ hut.name_slug }}">{{ hut.name }}</a></li>
Expand All @@ -10,7 +10,7 @@
{% endblock %}

{% block meta %}
<link rel="alternate" type="application/rss+xml" title="{{ place }} | AdventureLog NZ" href="feed.xml" />
<link rel="alternate" type="application/rss+xml" title="{{ place }} | AdventureLog NZ" href="{{ url_current() }}/feed.xml" />
{% endblock %}

{% block footer %}
Expand Down

0 comments on commit 91a2fb4

Please sign in to comment.