From bbc28f270f194bd581e0b7735bab82ad4ff201a0 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 14 Oct 2013 15:28:51 +0200 Subject: web/macros.py: Omit "index.html" from URL Let the RSS feed reference instead of . diff --git a/web/macros.py b/web/macros.py index 2cf2c33..70d2d90 100644 --- a/web/macros.py +++ b/web/macros.py @@ -63,7 +63,7 @@ def hook_postconvert_rss(): items.append(_RSS_ITEM % (p.title, link, desc, date, link)) items = ''.join(items) title = 'Nagios Plugins' - link = '%s/news/index.html' % site_url.rstrip('/') + link = '%s/news/' % site_url.rstrip('/') desc = 'Announcements published by the Nagios Plugins Development Team.' date = email.utils.formatdate() rss = _RSS % (title, link, desc, date, date, items) -- cgit v0.10-9-g596f