From d7ce0f8462e6eb73f767ee7667ea93c5e7cc4ea0 Mon Sep 17 00:00:00 2001 From: Pierre Mesure Date: Tue, 3 Nov 2026 07:16:53 +0100 Subject: [PATCH] =?UTF-8?q?=F0=9F=90=9B=20Honor=20externalUrl=20in=20llms.?= =?UTF-8?q?txt?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- layouts/_default/llms.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/layouts/_default/llms.txt b/layouts/_default/llms.txt index 32642e73..fff1dc5e 100644 --- a/layouts/_default/llms.txt +++ b/layouts/_default/llms.txt @@ -10,7 +10,7 @@ {{- /* Pages in this section */ -}} {{- range $p := $section.RegularPages }} {{- if and (not $p.Params.searchHidden) (ne $p.Layout `archives`) (ne $p.Layout `search`) }} -- [{{ $p.Title }}]({{ $p.Permalink }}) +- [{{ $p.Title }}]({{ $p.Params.externalUrl | default $p.Permalink }}) {{- end -}} {{- end -}} @@ -30,7 +30,7 @@ {{- range $p := $orphans -}} {{ if and (not $p.Params.searchHidden) (ne $p.Layout `archives`) (ne $p.Layout `search`) (not $p.IsHome) }} -- [{{ $p.Title }}]({{ $p.Permalink }}) +- [{{ $p.Title }}]({{ $p.Params.externalUrl | default $p.Permalink }}) {{- end -}} {{- end -}}