From faf57f655675c04878201cbd028ed8d2284fd2dc Mon Sep 17 00:00:00 2001 From: erciccione Date: Thu, 19 Dec 2019 17:38:45 +0100 Subject: [PATCH] footer: use variable instead of absolute link for RSS feed --- _data/lang/en/footer-1.yml | 2 +- _includes/footer.html | 14 ++++++++------ 2 files changed, 9 insertions(+), 7 deletions(-) diff --git a/_data/lang/en/footer-1.yml b/_data/lang/en/footer-1.yml index e0bd2c30..79980261 100644 --- a/_data/lang/en/footer-1.yml +++ b/_data/lang/en/footer-1.yml @@ -11,7 +11,7 @@ - name: Library url: library - name: RSS Feed - url: https://getmonero.org/feed.xml + url: rss - title: IRC Channels subfolderitems: - name: monero diff --git a/_includes/footer.html b/_includes/footer.html index d99774c7..e1bc1871 100644 --- a/_includes/footer.html +++ b/_includes/footer.html @@ -8,11 +8,13 @@ {% for entry in item.subfolderitems %} {% if entry.url contains 'https://' %}
  • {{ entry.name }}
  • - {%elsif entry.url contains 'irc'%} + {% elsif entry.url contains 'irc' %}
  • {{ entry.name }}
  • - {%else%} -
  • {{ entry.name }}
  • - {%endif%} + {% elsif entry.url == 'rss' %} +
  • {{ entry.name }}
  • + {% else %} +
  • {{ entry.name }}
  • + {% endif %} {% endfor %} @@ -24,9 +26,9 @@