diff options
author | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-28 18:44:41 (GMT) |
---|---|---|
committer | Holger Weiss <holger@zedat.fu-berlin.de> | 2013-10-28 18:44:41 (GMT) |
commit | 67bd2a91b6dba883c02af4c2fc25c312e6076cf4 (patch) | |
tree | 45214d4addd8e625657ca8c73fe5f6451b5be7c0 | |
parent | 6b3caba5802e55a58a48214f43686089681d812f (diff) | |
download | site-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.py | 15 |
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' | |||
6 | mib_release = '1.0.1' | 6 | mib_release = '1.0.1' |
7 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') | 7 | release_notes = 'news/release-%s.html' % plugins_release.replace('.', '-') |
8 | site_url = 'https://www.nagios-plugins.org/' | 8 | site_url = 'https://www.nagios-plugins.org/' |
9 | feeds = """These project news articles are also available as an [RSS feed][rss]. | 9 | feeds = """These project news articles are also available as an |
10 | Additional stuff is posted to [Twitter][twitter], so you might want to [follow | 10 | [RSS feed][rss]{: rel="alternate" type="application/rss+xml" }. Additional |
11 | us][follow] there as well. | 11 | stuff is posted to [Twitter][twitter], so you might want to [follow us][follow] |
12 | 12 | there 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 | ||
18 | page = { | 19 | page = { |