mirror of
https://github.com/monero-project/monero-site.git
synced 2024-12-24 20:49:33 +00:00
Merge !1180
footer: use variable instead of absolute link for RSS feed See merge request monero-project/monero-site!1180
This commit is contained in:
commit
459a89ddd0
2 changed files with 9 additions and 7 deletions
|
@ -11,7 +11,7 @@
|
||||||
- name: Library
|
- name: Library
|
||||||
url: library
|
url: library
|
||||||
- name: RSS Feed
|
- name: RSS Feed
|
||||||
url: https://getmonero.org/feed.xml
|
url: rss
|
||||||
- title: IRC Channels
|
- title: IRC Channels
|
||||||
subfolderitems:
|
subfolderitems:
|
||||||
- name: monero
|
- name: monero
|
||||||
|
|
|
@ -10,6 +10,8 @@
|
||||||
<li><a class="white" href="{{ entry.url }}">{{ entry.name }}</a></li>
|
<li><a class="white" href="{{ entry.url }}">{{ entry.name }}</a></li>
|
||||||
{% elsif entry.url contains 'irc' %}
|
{% elsif entry.url contains 'irc' %}
|
||||||
<li><a class="white" href="{{ entry.url }}">{{ entry.name }}</a></li>
|
<li><a class="white" href="{{ entry.url }}">{{ entry.name }}</a></li>
|
||||||
|
{% elsif entry.url == 'rss' %}
|
||||||
|
<li><a class="white" href="{{ site.baseurl_root }}/feed.xml">{{ entry.name }}</a></li>
|
||||||
{% else %}
|
{% else %}
|
||||||
<li><a class="white" href="{{ site.baseurl }}/{{ entry.url }}">{{ entry.name }}</a></li>
|
<li><a class="white" href="{{ site.baseurl }}/{{ entry.url }}">{{ entry.name }}</a></li>
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
Loading…
Reference in a new issue