From 67bd2a91b6dba883c02af4c2fc25c312e6076cf4 Mon Sep 17 00:00:00 2001 From: Holger Weiss Date: Mon, 28 Oct 2013 19:44:41 +0100 Subject: web/macros.py: Add attributes to feed links Add appropriate attributes to the RSS and Twitter links on our News page(s). diff --git a/web/macros.py b/web/macros.py index 05dcf5a..f2d57a8 100644 --- a/web/macros.py +++ b/web/macros.py @@ -6,13 +6,14 @@ plugins_release = '1.5' mib_release = '1.0.1' release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') site_url = 'https://www.nagios-plugins.org/' -feeds = """These project news articles are also available as an [RSS feed][rss]. -Additional stuff is posted to [Twitter][twitter], so you might want to [follow -us][follow] there as well. - -[rss]: rss.xml -[twitter]: https://twitter.com/ -[follow]: https://twitter.com/intent/follow?screen_name=monitorplugins +feeds = """These project news articles are also available as an +[RSS feed][rss]{: rel="alternate" type="application/rss+xml" }. Additional +stuff is posted to [Twitter][twitter], so you might want to [follow us][follow] +there as well. + +[rss]: rss.xml "RSS Feed" +[twitter]: https://twitter.com/ "Twitter" +[follow]: https://twitter.com/intent/follow?screen_name=monitorplugins "Follow Us" """ page = { -- cgit v0.10-9-g596f