From b12b1f6408819ca91b356adde09887c769eadd06 Mon Sep 17 00:00:00 2001 From: Stig Inge Lea Bjørnsen Date: Mon, 5 Jan 2015 06:17:28 +0100 Subject: Make archive links work in tuxlite_tbs Since there is no default value for the variabel `ARCHIVES_URL`, it is replaced by a hard coded value of `archives.html`. --- tuxlite_tbs/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tuxlite_tbs/templates') diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index 866d6a5..a88a2bf 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -82,7 +82,7 @@ Site -
  • Archives +
  • Archives
  • Tags -- cgit From 0deaa64b5000fca5a9b10b1694e5013f57696253 Mon Sep 17 00:00:00 2001 From: Stig Inge Lea Bjørnsen Date: Thu, 27 Jun 2013 00:08:08 +0200 Subject: Serve Twitter Bootstrap JavaScript directly for tuxlite_tbs. Avoid using GitHub as a CDN for Twitter Bootstrap. The file bootstrap-collapse.js is now included as a static asset in the theme. --- tuxlite_tbs/templates/base.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tuxlite_tbs/templates') diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index a88a2bf..9b52cbe 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -161,7 +161,7 @@ - + {% include "analytics.html" %} {% include "github.html" %} -- cgit From fd56d73a2772dd5ccc14b4ac19736b782fde85c2 Mon Sep 17 00:00:00 2001 From: Stig Inge Lea Bjørnsen Date: Wed, 28 May 2014 00:16:12 +0200 Subject: Use the year of the latest post for the copyright in the footer. The method for obtaining the year was copied from `pelican-bootstrap3/templates/includes/footer.html`. --- tuxlite_tbs/templates/base.html | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tuxlite_tbs/templates') diff --git a/tuxlite_tbs/templates/base.html b/tuxlite_tbs/templates/base.html index 9b52cbe..bcde895 100644 --- a/tuxlite_tbs/templates/base.html +++ b/tuxlite_tbs/templates/base.html @@ -156,7 +156,12 @@

    -

    {{ SITENAME }} © {{ AUTHOR }} 2012

    +{% if articles %} + {% set copy_date = articles[0].date.strftime('%Y') %} +{% else %} + {% set copy_date = '' %} +{% endif %} +

    {{ SITENAME }} © {{ AUTHOR }} {{ copy_date }}

    -- cgit