From fe933f80917f865a92db9f8671154b8e0239f779 Mon Sep 17 00:00:00 2001 From: Randall Degges Date: Wed, 20 Mar 2013 21:01:26 -0700 Subject: Fixing broken support for `ARCHIVES_URL` in tuxlite-tbs theme. This commit fixes an issue with users supplying their own custom `ARCHIVES_URL` setting in their settings file while using the tuxlite-tbs theme. The issue is that the `base.html` template didn't take the `ARCHIVES_URL` variable into account, and therefore ignores is. This causes problems when users want a custom archives URL. This also fixes another part of the issue in the `archives.html` template, in which article URLs were relative (not absolute) which causes breakage when linking to articles. This commit fixes all the above problems. --- tuxlite_tbs/templates/archives.html | 2 +- tuxlite_tbs/templates/base.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tuxlite_tbs/templates/archives.html b/tuxlite_tbs/templates/archives.html index 1520943..20fcd87 100644 --- a/tuxlite_tbs/templates/archives.html +++ b/tuxlite_tbs/templates/archives.html @@ -9,7 +9,7 @@ {% for article in dates %} {{ article.date.strftime("%d %b %Y") }} - {{ article.title }} + {{ article.title }} {% endfor %} diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index 59cfae7..2c18586 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -68,7 +68,7 @@ Site -
  • Archives +
  • Archives
  • Tags
  • Atom feed
  • {% if FEED_RSS %} -- cgit