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
54ea52f6c7
pull/322/head
Alexandre Alapetite 11 years ago committed by Marien Fressinaud
parent 982c50939b
commit 91622214cd
  1. 1
      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'); ?>

Loading…
Cancel
Save