✨ Add an optional site summary to llms.txt

This commit is contained in:
Pierre Mesure committed 2026-11-03 07:37:15 +01:00
1 parent ebe683e9c2
commit 075f69eb2a
1 file changed
+5
+5
View File
@@ -24,6 +24,11 @@
{{- /* Main template starts here */ -}}
# {{ site.Title }}
{{- with site.Home.Description | default site.Params.description | plainify | htmlUnescape | replaceRE `\s+` " " | strings.TrimSpace }}
> {{ . }}
{{ end }}
{{- /* Pages not in any section */ -}}
{{- $orphans := where site.RegularPages "Section" "" -}}
{{ if gt (len $orphans) 0 }}