summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHolger Weiss <holger@zedat.fu-berlin.de>2013-10-28 18:44:41 (GMT)
committerHolger Weiss <holger@zedat.fu-berlin.de>2013-10-28 18:44:41 (GMT)
commit67bd2a91b6dba883c02af4c2fc25c312e6076cf4 (patch)
tree45214d4addd8e625657ca8c73fe5f6451b5be7c0
parent6b3caba5802e55a58a48214f43686089681d812f (diff)
downloadsite-67bd2a91b6dba883c02af4c2fc25c312e6076cf4.tar.gz
web/macros.py: Add attributes to feed links
Add appropriate attributes to the RSS and Twitter links on our News page(s).
-rw-r--r--web/macros.py15
1 files changed, 8 insertions, 7 deletions
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'
6mib_release = '1.0.1' 6mib_release = '1.0.1'
7release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') 7release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-')
8site_url = 'https://www.nagios-plugins.org/' 8site_url = 'https://www.nagios-plugins.org/'
9feeds = """These project news articles are also available as an [RSS feed][rss]. 9feeds = """These project news articles are also available as an
10Additional stuff is posted to [Twitter][twitter], so you might want to [follow 10[RSS feed][rss]{: rel="alternate" type="application/rss+xml" }. Additional
11us][follow] there as well. 11stuff is posted to [Twitter][twitter], so you might want to [follow us][follow]
12 12there as well.
13[rss]: rss.xml 13
14[twitter]: https://twitter.com/ 14[rss]: rss.xml "RSS Feed"
15[follow]: https://twitter.com/intent/follow?screen_name=monitorplugins 15[twitter]: https://twitter.com/ "Twitter"
16[follow]: https://twitter.com/intent/follow?screen_name=monitorplugins "Follow Us"
16""" 17"""
17 18
18page = { 19page = {