diff options
author | Robert Kaussow <mail@geeklabor.de> | 2021-04-22 22:25:43 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-22 22:25:43 +0300 |
commit | d51f514b90f0b2bcc7fe618f20a9399b84829a7d (patch) | |
tree | 0b3ff06e183673a442a9ad56a058a2149dcac875 /assets | |
parent | 4e81dbe0e9cac5adab56b921f35937acc5d0ac4c (diff) |
feat: add option geekdocProtected to exclude pages from data file (#97)
Diffstat (limited to 'assets')
-rw-r--r-- | assets/search-data.json | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/assets/search-data.json b/assets/search-data.json index b337f9b..7bc1955 100644 --- a/assets/search-data.json +++ b/assets/search-data.json @@ -1,5 +1,5 @@ [ - {{ range $index, $page := .Site.Pages }} + {{ range $index, $page := (where .Site.Pages "Params.geekdocprotected" "ne" true) }} {{ if ne $index 0 }},{{ end }} { "id": {{ $index }}, |