2025-08-10 23:15:21 +08:00
|
|
|
# {{ .Site.Title }}
|
|
|
|
|
|
2026-01-29 18:06:12 -03:00
|
|
|
> {{ .Site.Params.description | default "" }}
|
2025-08-10 23:15:21 +08:00
|
|
|
|
2026-01-29 18:06:12 -03:00
|
|
|
{{ range where site.Sections "Params.llms" "ne" false }}
|
2025-08-10 23:15:21 +08:00
|
|
|
{{- template "llms-section-tree" dict "context" . "level" 2 }}
|
|
|
|
|
{{ end }}
|
|
|
|
|
|
2026-01-29 18:06:12 -03:00
|
|
|
{{- $rootPages := where (where site.RegularPages "Section" "") "Params.llms" "ne" false }}
|
2025-08-10 23:15:21 +08:00
|
|
|
{{- if $rootPages }}
|
|
|
|
|
## Root Pages
|
|
|
|
|
{{- range $rootPages }}
|
|
|
|
|
- [{{ .Title }}]({{ .Permalink }}): {{ .Summary | plainify | truncate 100 | strings.TrimSpace }}{{ if .Date }} - Published {{ .Date.Format "2006-01-02" }}{{ end }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
|
|
|
|
---
|
|
|
|
|
Generated on {{ now.Format "2006-01-02 15:04:05 UTC" }}
|
|
|
|
|
Site: {{ .Site.BaseURL }}
|
|
|
|
|
|
|
|
|
|
{{- define "llms-section-tree" -}}
|
|
|
|
|
{{- $context := .context -}}
|
|
|
|
|
{{- $level := .level | default 2 -}}
|
|
|
|
|
{{- $headerHashes := strings.Repeat $level "#" -}}
|
|
|
|
|
{{- "\n" -}}
|
|
|
|
|
{{ $headerHashes }} {{ $context.Title }}
|
|
|
|
|
|
2026-01-29 18:06:12 -03:00
|
|
|
{{- range where $context.RegularPages "Params.llms" "ne" false }}
|
2025-08-10 23:15:21 +08:00
|
|
|
- [{{ .Title }}]({{ .Permalink }}): {{ .Summary | plainify | truncate 100 | strings.TrimSpace }}{{ if .Date }} - Published {{ .Date.Format "2006-01-02" }}{{ end }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
|
2026-01-29 18:06:12 -03:00
|
|
|
{{- range where $context.Sections "Params.llms" "ne" false }}
|
2025-08-10 23:15:21 +08:00
|
|
|
{{ template "llms-section-tree" dict "context" . "level" (add $level 1) }}
|
|
|
|
|
{{- end }}
|
|
|
|
|
{{- end -}}
|