help3xsl/online_transform.xsl | 4 ++++ 1 file changed, 4 insertions(+)
New commits: commit fc7580e1f16fb1c9e51da105180db06156d0eb74 Author: Olivier Hallot <olivier.hal...@libreoffice.org> AuthorDate: Mon Dec 9 11:50:20 2024 -0300 Commit: Olivier Hallot <olivier.hal...@libreoffice.org> CommitDate: Mon Dec 9 22:21:54 2024 +0100 tdf#155193 No indexing when indexer="excluded" in <topic> Use omindex property of HTML indexing. See https://xapian.org/docs/omega/overview.html Change-Id: I9737d0111860da875e09f27814adf7b14104919b Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178156 Tested-by: Jenkins Reviewed-by: Olivier Hallot <olivier.hal...@libreoffice.org> (cherry picked from commit 635f1dc3de1c1af8b6a99205d2237c0650084bea) Reviewed-on: https://gerrit.libreoffice.org/c/help/+/178179 diff --git a/help3xsl/online_transform.xsl b/help3xsl/online_transform.xsl index 9ff7961409..22c84a4f0b 100644 --- a/help3xsl/online_transform.xsl +++ b/help3xsl/online_transform.xsl @@ -175,6 +175,10 @@ <script type="text/javascript" src="{$lang}/contents.js" defer=""></script> <script type="text/javascript" src="help.js" defer=""></script> <meta name="viewport" content="width=device-width,initial-scale=1"/> + <!--tdf#155193 - do not index when indexer="excluded", see omindex on HTML indexing--> + <xsl:if test="//topic[@indexer='exclude']"> + <meta name="robots" content="noindex"/> + </xsl:if> </head> <body>