summaryrefslogtreecommitdiff
path: root/app/layout/layout.phtml
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2013-11-15 17:23:23 +0100
committerGravatar Marien Fressinaud <dev@marienfressinaud.fr> 2013-11-15 21:32:10 +0100
commit91622214cd3502716cbb769af7c8e511866c159f (patch)
treeb4f49bcf4e5a2d37fcf60552f3ee19cad8b82525 /app/layout/layout.phtml
parent982c50939b96e105e0778009adcb73b96579daa3 (diff)
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
Diffstat (limited to 'app/layout/layout.phtml')
-rw-r--r--app/layout/layout.phtml1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index 9d4147887..cc0d44237 100644
--- a/app/layout/layout.phtml
+++ b/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'); ?>