diff --git a/qdrant-landing/README.md b/qdrant-landing/README.md index 9cd098ba7..fcd6dfab1 100644 --- a/qdrant-landing/README.md +++ b/qdrant-landing/README.md @@ -108,4 +108,14 @@ cd qdrant-landing hugo new --kind external-link documentation/.md ``` -It will create a file `content/documentation/.md`. Open it and set the `external_link` parameter to the desired value. \ No newline at end of file +It will create a file `content/documentation/.md`. Open it and set the `external_link` parameter to the desired value. + +### Params + +Additionally, to the standard hugo front matter params, we have the following params: + +```yaml +hideInSidebar: true +``` + +If `true`, the page will not be shown in the sidebar. It can be used in regular documentation pages and in documentation section pages (_index.md). diff --git a/qdrant-landing/themes/qdrant/layouts/partials/docs_sidebar.html b/qdrant-landing/themes/qdrant/layouts/partials/docs_sidebar.html index 11835f553..e1a360737 100644 --- a/qdrant-landing/themes/qdrant/layouts/partials/docs_sidebar.html +++ b/qdrant-landing/themes/qdrant/layouts/partials/docs_sidebar.html @@ -17,7 +17,7 @@
{{ .Title }}
{{ else }} - {{ if .IsPage }} + {{ if and (.IsPage) (not .Params.hideInSidebar) }}