[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:
committed by
Antoine Vandevenne (anv)
parent
c8750ae032
commit
1d3375f1a8
+3
-2
@@ -1,6 +1,7 @@
|
||||
:orphan:
|
||||
:custom-css: legal.css
|
||||
:show-content:
|
||||
:hide-page-toc:
|
||||
:custom-css: legal.css
|
||||
:orphan:
|
||||
|
||||
=====
|
||||
Legal
|
||||
|
||||
Reference in New Issue
Block a user