diff options
| author | 2013-11-08 22:38:38 +0100 | |
|---|---|---|
| committer | 2013-11-08 22:38:38 +0100 | |
| commit | 2d330e43f23ba8d600e9fd20b8f5799fb4afb8ab (patch) | |
| tree | 234986b9b14a2eba114599f1d84cc908fe8778a1 /app/layout/layout.phtml | |
| parent | 38cf6946ed2fdbf1149978428ed93053dd9a375a (diff) | |
Fix issue #236: balise link pour flux rss
Ajout d'une balise link pour indiquer l'url du flux RSS
Diffstat (limited to 'app/layout/layout.phtml')
| -rw-r--r-- | app/layout/layout.phtml | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml index f958acb46..192a6d73f 100644 --- a/app/layout/layout.phtml +++ b/app/layout/layout.phtml @@ -5,6 +5,9 @@ <meta name="viewport" content="initial-scale=1.0" /> <link rel="icon" type="image/x-icon" href="<?php echo Url::display ('/favicon.ico'); ?>" /> <link rel="icon" type="image/png" href="<?php echo Url::display ('/favicon.ico'); ?>" /> + <?php if (isset ($this->rss_url)) { ?> + <link rel="alternate" type="application/rss+xml" title="<?php echo View::title(); ?>" href="<?php echo Url::display ($this->rss_url); ?>" /> + <?php } ?> <?php echo self::headTitle (); ?> <?php echo self::headStyle (); ?> <?php echo self::headScript (); ?> |
