cleaning falsely rendered pages (#2376)

This commit is contained in:
trean
2026-05-27 17:27:41 +02:00
committed by GitHub
parent 3c1c896294
commit 72aa0652a6
10 changed files with 34 additions and 3 deletions
@@ -6,4 +6,5 @@ seeOpenRoles:
url: https://qdrant.to/jobs
target: true
image: /img/about-us/employee.svg
sitemapExclude: true
---
@@ -4,4 +4,5 @@ seeOpenRoles:
text: View Brand Resources
url: /brand-resources/
image: /img/about-us/style-guide.svg
sitemapExclude: true
---
@@ -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
---
@@ -12,4 +12,5 @@ buttons:
subtitle: Share on LinkedIn
url: https://www.linkedin.com/sharing/share-offsite/?url={{ $link }}
icon: <svg width="32" height="33" viewBox="0 0 32 33" fill="none" xmlns="http://www.w3.org/2000/svg"> <g clip-path="url(#clip0_1811_16094)"> <path d="M30.6667 0.4375H1.33333C0.533333 0.4375 0 0.970833 0 1.77083V31.1042C0 31.9042 0.533333 32.4375 1.33333 32.4375H30.6667C31.4667 32.4375 32 31.9042 32 31.1042V1.77083C32 0.970833 31.4667 0.4375 30.6667 0.4375ZM9.46667 27.7708H4.8V12.4375H9.6V27.7708H9.46667ZM7.06667 10.3042C5.6 10.3042 4.26667 9.10417 4.26667 7.50417C4.26667 6.0375 5.46667 4.70417 7.06667 4.70417C8.53333 4.70417 9.86667 5.90417 9.86667 7.50417C9.86667 9.10417 8.66667 10.3042 7.06667 10.3042ZM27.3333 27.7708H22.5333V20.3042C22.5333 18.5708 22.5333 16.3042 20.1333 16.3042C17.6 16.3042 17.3333 18.1708 17.3333 20.1708V27.7708H12.5333V12.4375H17.0667V14.5708C17.7333 13.3708 19.2 12.1708 21.6 12.1708C26.4 12.1708 27.3333 15.3708 27.3333 19.5042V27.7708Z" fill="#161E33" /> </g> <defs> <clipPath id="clip0_1811_16094"> <rect width="32" height="32" fill="white" transform="translate(0 0.4375)" /> </clipPath> </defs></svg>
sitemapExclude: true
---
+1
View File
@@ -3,4 +3,5 @@ stats:
githubStars: 31.6k
discordMembers: 9.9k
twitterFollowers: 7.5k
sitemapExclude: true
---
@@ -0,0 +1,5 @@
---
build:
render: never
list: never
---
+7
View File
@@ -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
@@ -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
---
@@ -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
---
@@ -2,8 +2,21 @@
<urlset xmlns="http://www.sitemaps.org/schemas/sitemap/0.9"
xmlns:xhtml="http://www.w3.org/1999/xhtml">
{{ 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 "") }}
<url>
<loc>{{ .Permalink }}</loc>{{ if not .Lastmod.IsZero }}
<lastmod>{{ safeHTML ( .Lastmod.Format "2006-01-02T15:04:05-07:00" ) }}</lastmod>{{ end }}{{ with .Sitemap.ChangeFreq }}