Просмотр исходного кода

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 лет назад
Родитель
Сommit
147b3fdda4
1 измененных файлов с 1 добавлено и 0 удалено
  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 $this->rss_title; ?>" href="<?php echo Url::display ($this->rss_url); ?>" />
 <?php } ?>
+		<meta name="robots" content="noindex" />
 	</head>
 	<body>
 <?php $this->partial ('header'); ?>