[help.gnome.org] Add noindex to the unstable builds



commit b1bef2491996fc2766549e22faad48b51b47bec8
Author: Shaun McCance <shaunm redhat com>
Date:   Mon Sep 27 15:42:31 2021 -0400

    Add noindex to the unstable builds

 gnome.xsl | 3 +++
 1 file changed, 3 insertions(+)
---
diff --git a/gnome.xsl b/gnome.xsl
index dc63b1f..bad8471 100644
--- a/gnome.xsl
+++ b/gnome.xsl
@@ -49,6 +49,9 @@ Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA
 </xsl:template>
 
 <xsl:template name="html.head.custom">
+  <xsl:if test="starts-with($pintail.site.dir, '/unstable/')">
+    <meta name="robots" content="noindex"/>
+  </xsl:if>
 </xsl:template>
 
 <xsl:template name="html.js.content.custom">


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]