[IMP] *: exclude empty TOC pages from search results

When searching for a string that can be found in a TOC page's content,
that page is listed in the search results. This is not a wanted behavior
because TOC pages without the 'show-content' metadata directive are not
supposed to be accessible.

This commit adds a 'nosearch' metadata directive to all TOC pages
without a 'show-content' metadata directive, hence removing them from
search results.

task-2527419
This commit is contained in:
Antoine Vandevenne (anv)
2021-06-09 11:10:25 +02:00
committed by Antoine Vandevenne (anv)
parent c8750ae032
commit 1d3375f1a8
152 changed files with 270 additions and 2 deletions

View File

@@ -1,3 +1,5 @@
:nosearch:
============
Contributing
============