|
| 1 | +{{- /* §8 llms.txt for the podcast layer. The theme's version (themes/popular/ |
| 2 | + layouts/index.llms.txt) is meetup-shaped: it names the next upcoming |
| 3 | + event and links the iCalendar feed, neither of which exists here. This |
| 4 | + override answers the questions an agent actually has about a podcast: |
| 5 | + what the show is, where to listen, and what the latest episodes are. |
| 6 | + Regenerated every build, so the latest-episode line stays true. */ -}} |
| 7 | +{{- $full := where (where site.RegularPages "Section" "episodes") "Params.episode_type" "!=" "trailer" -}} |
| 8 | +{{- $recent := first 5 $full.ByDate.Reverse -}} |
| 9 | +{{- $latest := index $recent 0 -}} |
| 10 | +# {{ site.Title }} |
| 11 | +{{ with site.Params.description }} |
| 12 | +{{ . }} |
| 13 | +{{ end }} |
| 14 | +{{ with $latest }}Latest episode: {{ .Title }}, published {{ .Date | time.Format ":date_long" }} ({{ .Permalink }}){{ end }} |
| 15 | + |
| 16 | +## Listen and follow |
| 17 | +{{ range site.Params.social }}{{ .label }}: {{ .url | absURL }} |
| 18 | +{{ end }} |
| 19 | +## Recent episodes |
| 20 | +{{ range $recent }}{{- $ep := . -}}- {{ .Title }}, {{ .Date | time.Format ":date_long" }}{{ with .Params.speaker }}{{ if not (in $ep.Title .title) }}, guest {{ .title }}{{ end }}{{ end }} ({{ .Permalink }}) |
| 21 | +{{ end }} |
| 22 | +## Links |
| 23 | +All episodes: {{ (site.GetPage "/episodes").Permalink }} |
| 24 | +Guests: {{ (site.GetPage "/speakers").Permalink }} |
| 25 | +Hosts: {{ (site.GetPage (print "/" (partial "section.html" "team"))).Permalink }} |
| 26 | +Blog: {{ (site.GetPage "/blog").Permalink }} |
| 27 | +{{ with site.GetPage "/about" }}About and FAQ: {{ .Permalink }} |
| 28 | +{{ end }}{{ with site.GetPage "/subscribe" }}Subscribe: {{ .Permalink }} |
| 29 | +{{ end }}{{ with site.GetPage "/contact" }}Contact: {{ .Permalink }} |
| 30 | +{{ end }} |
| 31 | +Built with the Popular theme. |
0 commit comments