Browse Source

Meta robots noindex

Le fichier robots.txt ne suffit pas, par exemple quand FreshRSS n'est
pas à la racine d'un domaine.
Supplément de
https://github.com/marienfressinaud/FreshRSS/commit/54ea52f6c7cb8d6d3bfd810447cd359d64e56ecf
Alexandre Alapetite 12 years ago
parent
commit
91622214cd
1 changed files with 1 additions and 0 deletions
  1. 1 0
      app/layout/layout.phtml

+ 1 - 0
app/layout/layout.phtml

@@ -21,6 +21,7 @@
 <?php if (isset ($this->rss_url)) { ?>
 		<link rel="alternate" type="application/rss+xml" title="<?php echo htmlspecialchars($this->rss_title, ENT_COMPAT, 'UTF-8'); ?>" href="<?php echo Url::display ($this->rss_url); ?>" />
 <?php } ?>
+		<meta name="robots" content="noindex" />
 	</head>
 	<body>
 <?php $this->partial ('header'); ?>