mirror of
https://github.com/nunocoracao/blowfish.git
synced 2026-11-06 19:19:21 +00:00
🐛 Honor externalUrl in llms.txt
This commit is contained in:
1 parent
ebe683e9c2
commit
d7ce0f8462
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