From 72aa0652a65dc530db0a9b6a0b733e0fa5393cbe Mon Sep 17 00:00:00 2001 From: trean Date: Wed, 27 May 2026 17:27:41 +0200 Subject: [PATCH] cleaning falsely rendered pages (#2376) --- .../content/about-us/about-us-get-started.md | 1 + .../content/about-us/about-us-resources.md | 1 + .../content/customers/clients/_index.md | 2 +- .../content/headless/share-buttons.md | 1 + qdrant-landing/content/headless/stats.md | 1 + qdrant-landing/content/industries/_index.md | 5 +++++ qdrant-landing/content/learn/_index.md | 7 +++++++ .../learn/ref-courses-retrieval-optimization.md | 1 + .../content/use-cases/vectors-use-case.md | 1 + .../qdrant-2024/layouts/_default/sitemap.xml | 17 +++++++++++++++-- 10 files changed, 34 insertions(+), 3 deletions(-) create mode 100644 qdrant-landing/content/industries/_index.md diff --git a/qdrant-landing/content/about-us/about-us-get-started.md b/qdrant-landing/content/about-us/about-us-get-started.md index 589372e10..1b81e457b 100644 --- a/qdrant-landing/content/about-us/about-us-get-started.md +++ b/qdrant-landing/content/about-us/about-us-get-started.md @@ -6,4 +6,5 @@ seeOpenRoles: url: https://qdrant.to/jobs target: true image: /img/about-us/employee.svg +sitemapExclude: true --- diff --git a/qdrant-landing/content/about-us/about-us-resources.md b/qdrant-landing/content/about-us/about-us-resources.md index 6f3854075..a3a7b550f 100644 --- a/qdrant-landing/content/about-us/about-us-resources.md +++ b/qdrant-landing/content/about-us/about-us-resources.md @@ -4,4 +4,5 @@ seeOpenRoles: text: View Brand Resources url: /brand-resources/ image: /img/about-us/style-guide.svg +sitemapExclude: true --- diff --git a/qdrant-landing/content/customers/clients/_index.md b/qdrant-landing/content/customers/clients/_index.md index 7d776e963..06c7b5059 100644 --- a/qdrant-landing/content/customers/clients/_index.md +++ b/qdrant-landing/content/customers/clients/_index.md @@ -1,5 +1,4 @@ --- -url: "/customers/" clients: - id: alhena name: Alhena AI @@ -566,4 +565,5 @@ clients: logo: src: /img/customers-case-studies-logo/iris-agent.svg alt: IrisAgent logo +sitemapExclude: true --- diff --git a/qdrant-landing/content/headless/share-buttons.md b/qdrant-landing/content/headless/share-buttons.md index 19b5da5b4..361af7341 100644 --- a/qdrant-landing/content/headless/share-buttons.md +++ b/qdrant-landing/content/headless/share-buttons.md @@ -12,4 +12,5 @@ buttons: subtitle: Share on LinkedIn url: https://www.linkedin.com/sharing/share-offsite/?url={{ $link }} icon: +sitemapExclude: true --- diff --git a/qdrant-landing/content/headless/stats.md b/qdrant-landing/content/headless/stats.md index f7b2470de..77e51d8a6 100644 --- a/qdrant-landing/content/headless/stats.md +++ b/qdrant-landing/content/headless/stats.md @@ -3,4 +3,5 @@ stats: githubStars: 31.6k discordMembers: 9.9k twitterFollowers: 7.5k +sitemapExclude: true --- \ No newline at end of file diff --git a/qdrant-landing/content/industries/_index.md b/qdrant-landing/content/industries/_index.md new file mode 100644 index 000000000..25f1d244f --- /dev/null +++ b/qdrant-landing/content/industries/_index.md @@ -0,0 +1,5 @@ +--- +build: + render: never + list: never +--- diff --git a/qdrant-landing/content/learn/_index.md b/qdrant-landing/content/learn/_index.md index 92cf07135..376d41f3e 100644 --- a/qdrant-landing/content/learn/_index.md +++ b/qdrant-landing/content/learn/_index.md @@ -5,6 +5,13 @@ hideTOC: true breadcrumb: false partition: learn feedback: false +build: + render: always +cascade: + - build: + list: local + publishResources: false + render: never content: # - partial: documentation/banners/banner-b # title: Welcome to Qdrant Learn diff --git a/qdrant-landing/content/learn/ref-courses-retrieval-optimization.md b/qdrant-landing/content/learn/ref-courses-retrieval-optimization.md index 07bfb3934..e766d066f 100644 --- a/qdrant-landing/content/learn/ref-courses-retrieval-optimization.md +++ b/qdrant-landing/content/learn/ref-courses-retrieval-optimization.md @@ -3,5 +3,6 @@ title: "Retrieval Optimization" weight: 220 type: external-link external_url: https://www.deeplearning.ai/short-courses/retrieval-optimization-from-tokenization-to-vector-quantization/ +sitemapExclude: true partition: learn --- diff --git a/qdrant-landing/content/use-cases/vectors-use-case.md b/qdrant-landing/content/use-cases/vectors-use-case.md index a91ed3bb4..ede0b567f 100644 --- a/qdrant-landing/content/use-cases/vectors-use-case.md +++ b/qdrant-landing/content/use-cases/vectors-use-case.md @@ -52,4 +52,5 @@ featureCards: src: /img/home/horizontal-slider/qdrant-use-caseai-agents.png webp: /img/home/horizontal-slider/qdrant-use-caseai-agents.webp alt: AI Agents +sitemapExclude: true --- diff --git a/qdrant-landing/themes/qdrant-2024/layouts/_default/sitemap.xml b/qdrant-landing/themes/qdrant-2024/layouts/_default/sitemap.xml index 1c9fe9626..35e71179b 100644 --- a/qdrant-landing/themes/qdrant-2024/layouts/_default/sitemap.xml +++ b/qdrant-landing/themes/qdrant-2024/layouts/_default/sitemap.xml @@ -2,8 +2,21 @@ {{ range .Data.Pages }} - -{{- if and (or (eq (isset .Params "sitemapexclude") false) (ne .Params.sitemapExclude true)) (ne .Permalink "") }} +{{- $includeInSitemap := true -}} +{{- if eq .Params.sitemapExclude true -}} +{{- $includeInSitemap = false -}} +{{- else if .Sitemap.Disable -}} +{{- $includeInSitemap = false -}} +{{- else -}} +{{- $render := "always" -}} +{{- with .Params.build -}} +{{- $render = .render | default "always" -}} +{{- end -}} +{{- if in (slice "never" "link") $render -}} +{{- $includeInSitemap = false -}} +{{- end -}} +{{- end -}} +{{- if and $includeInSitemap (ne .Permalink "") }} {{ .Permalink }}{{ if not .Lastmod.IsZero }} {{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}{{ end }}{{ with .Sitemap.ChangeFreq }}