From 8b45c4629d5fd0d6a75a79e6b2898afb3cf15fec Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=AD=C3=B0ir=20Valberg=20Gu=C3=B0mundsson?= Date: Tue, 12 Mar 2019 10:27:09 +0100 Subject: [PATCH] Add a link to RSS feed. --- src/news/templates/news_index.html | 7 +++++++ src/static_src/img/feed-icon-14x14.png | Bin 0 -> 689 bytes 2 files changed, 7 insertions(+) create mode 100755 src/static_src/img/feed-icon-14x14.png diff --git a/src/news/templates/news_index.html b/src/news/templates/news_index.html index 6e76ceb7..98ca8a02 100644 --- a/src/news/templates/news_index.html +++ b/src/news/templates/news_index.html @@ -1,5 +1,6 @@ {% extends 'base.html' %} {% load commonmark %} +{% load static %} {% block title %} News | {{ block.super }} @@ -8,6 +9,12 @@ News | {{ block.super }} {% block content %} {% if request.resolver_match.kwargs.archived %} Showing archived news items. Show regular news items +{% else %} +
+ + Get BornHack news as a RSS feed + +
{% endif %} {% for item in news_items %}
diff --git a/src/static_src/img/feed-icon-14x14.png b/src/static_src/img/feed-icon-14x14.png new file mode 100755 index 0000000000000000000000000000000000000000..b3c949d2244f2c0c81d65e74719af2a1b56d06a3 GIT binary patch literal 689 zcmV;i0#5yjP)(tky!*UETcH-TCU7SrqEjJM#?B`_A)!p7(kFf9-P@=@15kkTkGK zgFusyy#KECqZzRdBLb=P?$(kUP;>kYTDeG&{|a+iOiRbI6nbQ)j#7bOf>iF=C+|_py<&Fo1F5cC*iEM?zZGC{ejNg4LWYp=S$L6Qaby6y zp$+F`250{%tU{Lg$5*ROH}y!1UKJS4*xqd7P(Y3JQF?lrnf?yerr%&6yGXLG1ur*B z{$&R1@Oj)yl@%rY5rh?j(j10Yz_DBs`AKFU_QnB;)(aqQmGi&ieOS|21^NP9UMpa< zU&p!f6RZ6Owp^X!EXA=0SbN&h?CrQK%Q3(=YBqqHD^9ZUM0Hxt-6-KT;>lf@j?Z+v zHm(}`>85I&E<7e}oz?6UwjAogowzGO8kSN7+2`b^$Az9L{K5*ko87EV45LT-`_##3 z>d3AGh@>=mbg34|6}+-gT9N+6Dr@44VEl44O&{&|w=qpbzC#iWMKa?5)>tI+KLQK@ Xq0QFqn(9Yl00000NkvXXu0mjfZ8t