mirror of
https://github.com/qdrant/landing_page.git
synced 2026-10-05 19:08:32 +02:00
* Auto-render llms.txt file * Link to llms.txt from every index.md page * Remove outdated llms-full.txt * Link to skills and search from Markdownified page headers
20 lines
897 B
Plaintext
20 lines
897 B
Plaintext
# {{ .Site.BaseURL }}
|
|
## Overall Summary
|
|
> {{ .Site.Params.description }}
|
|
{{ range .Site.Sections.ByWeight -}}
|
|
{{- $header := printf "\n## %s\n" .Title -}}
|
|
{{- range .RegularPagesRecursive.ByWeight -}}
|
|
{{- $include := true -}}
|
|
{{- if eq .Params.sitemapExclude true -}}{{- $include = false -}}{{- end -}}
|
|
{{- if .Sitemap.Disable -}}{{- $include = false -}}{{- end -}}
|
|
{{- with .Params.build -}}
|
|
{{- $render := .render | default "always" -}}
|
|
{{- if in (slice "never" "link") $render -}}{{- $include = false -}}{{- end -}}
|
|
{{- end -}}
|
|
{{- if and $include (ne .Title "") (ne .Permalink "") -}}
|
|
{{ $header }}{{- $header = "" -}}
|
|
- [{{ .Title }}]({{ .Permalink }}index.md): {{ with .Description }}{{ . | plainify | replaceRE "\\s+" " " | strings.TrimSpace }}{{ else }}{{ .Summary | plainify | replaceRE "\\s+" " " | strings.TrimSpace | truncate 200 "" }}{{ end }}
|
|
{{ end -}}
|
|
{{- end -}}
|
|
{{- end -}}
|