Skip to content

A free, self-hostable news aggregator…

Ajoute nofollow à la balise robots.txt

Marien Fressinaud19b9746a0f72
diff --git a/app/layout/layout.phtml b/app/layout/layout.phtml
index a506f7cea..ba4df4834 100644
--- a/app/layout/layout.phtml
+++ b/app/layout/layout.phtml
@@ -21,7 +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" />
+ <meta name="robots" content="noindex,nofollow" />
</head>
<body>
<?php $this->partial ('header'); ?>
diff --git a/public/robots.txt b/public/robots.txt
index 77470cb39..1f53798bb 100644
--- a/public/robots.txt
+++ b/public/robots.txt
@@ -1,2 +1,2 @@
User-agent: *
-Disallow: /
\ No newline at end of file
+Disallow: /