mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-07 11:39:22 +00:00
Merge pull request #3150 from PierreMesure/fix/llms-external-urls
🐛 Honor externalUrl in llms.txt
This commit is contained in:
1 file changed
+2
-2
@@ -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 -}}
|
||||
|
||||
|
||||
Reference in new issue
Block a user