diff --git a/templates/base.html b/templates/base.html index fd660aa..4a71ee0 100644 --- a/templates/base.html +++ b/templates/base.html @@ -19,7 +19,9 @@ - + {% block rss %} + + {% endblock %} @@ -42,7 +44,6 @@ >GitHub -
  • RSS
  • diff --git a/templates/index.html b/templates/index.html index 3c11238..cb81517 100644 --- a/templates/index.html +++ b/templates/index.html @@ -16,4 +16,6 @@ {% endfor %} +

    RSS Feed

    + {% endblock content %} diff --git a/templates/taxonomy_single.html b/templates/taxonomy_single.html index 86e21d9..b596333 100644 --- a/templates/taxonomy_single.html +++ b/templates/taxonomy_single.html @@ -1,4 +1,13 @@ -{% extends "base.html" %} {% block content %} +{% extends "base.html" %} + +{% set rss_path = term.path ~ "atom.xml" %} + +{% block rss %} + {% set rss_path = term.path ~ "atom.xml" %} + +{% endblock rss %} + +{% block content %}

    {{ term.name }} articles

    @@ -13,4 +22,6 @@ {% endfor %} +

    RSS Feed

    + {% endblock content %}