From 075f69eb2a07103cec5187b0f1971249f16c6199 Mon Sep 17 00:00:00 2001 From: Pierre Mesure Date: Tue, 3 Nov 2026 07:37:15 +0100 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20Add=20an=20optional=20site=20summar?= =?UTF-8?q?y=20to=20llms.txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/llms.txt | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/layouts/_default/llms.txt b/layouts/_default/llms.txt index 32642e73..459facc3 100644 --- a/layouts/_default/llms.txt +++ b/layouts/_default/llms.txt @@ -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 }}