From 1b97bfce0d3385c55e440447d2bba00b55f9d6dc Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Thu, 3 Oct 2013 16:01:30 +0200 Subject: Show "Stable release: x.y" on home page Show a "Stable release: x.y" note in place of the breadcrumb navigation on the home page. diff --git a/web/macros.py b/web/macros.py index 9416c75..5ec9b38 100644 --- a/web/macros.py +++ b/web/macros.py @@ -25,8 +25,9 @@ def breadcrumb(): title = parents[title][1] url = parents[title][0] output = '%s » %s' % (url, hx(title), output) - if output == hx(page.title): # Hide breadcrumb if the page has no parent. - output = ' ' + if output == hx(page.title): + output = 'Stable release: %s' \ + % (release_notes, plugins_release) return output def list_kids(): -- cgit v0.10-9-g596f