diff --git a/content/episodes/2023-01-16 Introduction/index.md b/content/episodes/2023-01-16 Introduction/index.md index 1714d70..8cf3834 100644 --- a/content/episodes/2023-01-16 Introduction/index.md +++ b/content/episodes/2023-01-16 Introduction/index.md @@ -3,15 +3,18 @@ title: "Introduction" date: 2023-01-16T06:00:24-04:00 draft: false url: "introduction" -episodeTitle: "Introduction" -episodeSubtitle: "Welcome to the first episode of Pitch and Play, a podcast about actually playing the games that your friends recommend!" +featuredImage: 'cover.png' +summary: "Welcome to the first episode of Pitch and Play, a podcast about actually playing the games that your friends recommend!" + +episodeType: full episodeLength: 20451328 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode1.mp3 episodeDuration: 00:27:59 +episodeExplicit: true episodeNumber: 1 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-01-16t23:24:26+00:00-b10c458ea67b923 -featuredImage: '/cover.png' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode1.mp3" >}} diff --git a/content/episodes/2023-01-30 Immortality/index.md b/content/episodes/2023-01-30 Immortality/index.md index f5a84ab..e0abd42 100644 --- a/content/episodes/2023-01-30 Immortality/index.md +++ b/content/episodes/2023-01-30 Immortality/index.md @@ -3,15 +3,18 @@ title: "Immortality" date: 2023-01-30T06:00:24-04:00 draft: false url: "immortality" -episodeTitle: "Immortality" -episodeSubtitle: "In this spoiler-filled discussion of Immortality, Cassie and Ross discuss their struggles with the presentation of the game and accessing the game's narrative." +featuredImage: 'cover.jpg' +summary: "In this spoiler-filled discussion of Immortality, Cassie and Ross discuss their struggles with the presentation of the game and accessing the game's narrative." + +episodeType: full episodeLength: 88371200 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode2.mp3 episodeDuration: 02:02:18 +episodeExplicit: true episodeNumber: 2 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-01-24t00:52:25+00:00-bb72677de870c7c -featuredImage: 'cover.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode2.mp3" >}} diff --git a/content/episodes/2023-02-13 Stardew Valley/index.md b/content/episodes/2023-02-13 Stardew Valley/index.md index 17b6933..791a8ae 100644 --- a/content/episodes/2023-02-13 Stardew Valley/index.md +++ b/content/episodes/2023-02-13 Stardew Valley/index.md @@ -3,15 +3,18 @@ title: "Stardew Valley" date: 2023-02-13T06:00:24-04:00 draft: false url: "stardew-valley" -episodeTitle: "Stardew Valley" -episodeSubtitle: "In our full-length discussion of Stardew Valley, Cassie tries to find ways to convince Ross that Stardew Valley can work for him." +featuredImage: 'cover.png' +summary: "In our full-length discussion of Stardew Valley, Cassie tries to find ways to convince Ross that Stardew Valley can work for him." + +episodeType: full episodeLength: 75390976 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode3.mp3 episodeDuration: 01:18:12 +episodeExplicit: true episodeNumber: 3 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-01-29t01:37:51+00:00-9a6709055cb8f6a -featuredImage: 'cover.png' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode3.mp3" >}} diff --git a/content/episodes/2023-02-27 Vampire Survivors/index.md b/content/episodes/2023-02-27 Vampire Survivors/index.md index a098eb9..591db82 100644 --- a/content/episodes/2023-02-27 Vampire Survivors/index.md +++ b/content/episodes/2023-02-27 Vampire Survivors/index.md @@ -3,15 +3,18 @@ title: "Vampire Survivors" date: 2023-02-27T06:00:24-04:00 draft: false url: "vampire-survivors" -episodeTitle: "Vampire Survivors" -episodeSubtitle: "The supernatural indie phenomenon that lets you be the bullet hell!" +featuredImage: 'cover.jpg' +summary: "The supernatural indie phenomenon that lets you be the bullet hell!" + +episodeType: full episodeLength: 52228096 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode4.mp3 episodeDuration: 01:12:06 +episodeExplicit: true episodeNumber: 4 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-02-12t16:13:43+00:00-2553922b909a8f6 -featuredImage: 'cover.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode4.mp3" >}} diff --git a/content/episodes/2023-03-13 Fable Anniversary/index.md b/content/episodes/2023-03-13 Fable Anniversary/index.md index 25b0550..488ddc1 100644 --- a/content/episodes/2023-03-13 Fable Anniversary/index.md +++ b/content/episodes/2023-03-13 Fable Anniversary/index.md @@ -3,15 +3,18 @@ title: "Fable Anniversary" date: 2023-03-13T06:00:24-04:00 draft: false url: "fable-anniversary" -episodeTitle: "Fable Anniversary" -episodeSubtitle: "For Every Choice, A Consequence" +featuredImage: 'cover.jpg' +summary: "For Every Choice, A Consequence" + +episodeType: full episodeLength: 61292544 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode5.mp3 episodeDuration: 01:03:31 +episodeExplicit: true episodeNumber: 5 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-03-06t01:43:31+00:00-903353a6861b30a -featuredImage: 'cover.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode5.mp3" >}} diff --git a/content/episodes/2023-03-27 A Link to the Past/index.md b/content/episodes/2023-03-27 A Link to the Past/index.md index e68f067..169d7ee 100644 --- a/content/episodes/2023-03-27 A Link to the Past/index.md +++ b/content/episodes/2023-03-27 A Link to the Past/index.md @@ -3,15 +3,18 @@ title: "The Legend of Zelda: A Link to the Past" date: 2023-03-27T06:00:24-04:00 draft: false url: "alttp" -episodeTitle: "The Legend of Zelda: A Link to the Past" -episodeSubtitle: "Things in the light are not the same in the dark and neither are games from thirty years ago." +featuredImage: 'cover.jpg' +summary: "Things in the light are not the same in the dark and neither are games from thirty years ago." + +episodeType: full episodeLength: 66187264 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode6.mp3 episodeDuration: 01:08:35 +episodeExplicit: true episodeNumber: 6 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-03-06t03:26:45+00:00-639f25a6269d569 -featuredImage: 'cover.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode6.mp3" >}} diff --git a/content/episodes/2023-04-10 The Order 1886/index.md b/content/episodes/2023-04-10 The Order 1886/index.md index 778e8ef..ce08702 100644 --- a/content/episodes/2023-04-10 The Order 1886/index.md +++ b/content/episodes/2023-04-10 The Order 1886/index.md @@ -3,15 +3,18 @@ title: "The Order 1886" date: 2023-04-10T06:00:24-04:00 draft: false url: "the-order-1886" -episodeTitle: "The Order 1886" -episodeSubtitle: "The wall dividing life and death is so thin." +featuredImage: 'cover.jpg' +summary: "The wall dividing life and death is so thin." + +episodeType: full episodeLength: 81936384 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode7.mp3 episodeDuration: 01:25:01 +episodeExplicit: true episodeNumber: 7 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-03-21t21:54:27+00:00-c170c0bd1098f76 -featuredImage: 'cover.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode7.mp3" >}} diff --git a/content/episodes/2023-04-24 Rise of the Tomb Raider/index.md b/content/episodes/2023-04-24 Rise of the Tomb Raider/index.md index bb2534b..65562b1 100644 --- a/content/episodes/2023-04-24 Rise of the Tomb Raider/index.md +++ b/content/episodes/2023-04-24 Rise of the Tomb Raider/index.md @@ -3,15 +3,18 @@ title: "Rise of the Tomb Raider" date: 2023-04-24T06:00:24-04:00 draft: false url: "rise-of-the-tomb-raider" -episodeTitle: "Rise of the Tomb Raider" -episodeSubtitle: "We become who we're meant to be." +featuredImage: 'rotr.jpg' +summary: "We become who we're meant to be." + +episodeType: full episodeLength: 87461888 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode8.mp3 episodeDuration: 01:30:46 +episodeExplicit: true episodeNumber: 8 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-03-26t04:03:09+00:00-672b73235d68e55 -featuredImage: 'rotr.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode8.mp3" >}} diff --git a/content/episodes/2023-05-08 Tony Hawk's American Wasteland/index.md b/content/episodes/2023-05-08 Tony Hawk's American Wasteland/index.md index 0e325f4..1ca85a8 100644 --- a/content/episodes/2023-05-08 Tony Hawk's American Wasteland/index.md +++ b/content/episodes/2023-05-08 Tony Hawk's American Wasteland/index.md @@ -3,15 +3,18 @@ title: "Tony Hawk's American Wasteland" date: 2023-05-08T06:00:24-04:00 draft: false url: "tony-hawks-american-wasteland" -episodeTitle: "Tony Hawk's American Wasteland" -episodeSubtitle: "Welcome to the Wasteland." +featuredImage: 'thaw.jpg' +summary: "Welcome to the Wasteland." + +episodeType: full episodeLength: 113414144 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode9.mp3 episodeDuration: 01:57:48 +episodeExplicit: true episodeNumber: 9 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-04-03t06:31:18+00:00-0b0bd3108844498 -featuredImage: 'thaw.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode9.mp3" >}} diff --git a/content/episodes/2023-05-22 Dragon Age and TotK/index.md b/content/episodes/2023-05-22 Dragon Age and TotK/index.md index 088de95..e3d972c 100644 --- a/content/episodes/2023-05-22 Dragon Age and TotK/index.md +++ b/content/episodes/2023-05-22 Dragon Age and TotK/index.md @@ -3,15 +3,18 @@ title: "Dragon Age: Origins & The Legend of Zelda: Tears of the Kingdom" date: 2023-05-22T06:00:24-04:00 draft: false url: "dragon-age-origins-the-legend-of-zelda-tears-of-the-kingdom" -episodeTitle: "Dragon Age: Origins and The Legend of Zelda: Tears of the Kingdom" -episodeSubtitle: "A double threat of an episode!" +featuredImage: 'DAO.png' +summary: "A double threat of an episode!" + +episodeType: full episodeLength: 108789760 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode10.mp3 episodeDuration: 01:52:59 +episodeExplicit: true episodeNumber: 10 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-05-26t00:14:46+00:00-713f5577e39cf99 -featuredImage: 'DAO.png' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode10.mp3" >}} diff --git a/content/episodes/2023-06-05 TotK 2/index.md b/content/episodes/2023-06-05 TotK 2/index.md index e4e99a4..8b85fe4 100644 --- a/content/episodes/2023-06-05 TotK 2/index.md +++ b/content/episodes/2023-06-05 TotK 2/index.md @@ -3,15 +3,18 @@ title: "The Legend of Zelda: Tears of the Kingdom (Part 2)" date: 2023-06-05T06:00:24-04:00 draft: false url: "the-legend-of-zelda-tears-of-the-kingdom-part-2" -episodeTitle: "The Legend of Zelda: Tears of the Kingdom (Part 2)" -episodeSubtitle: "As above, so below." +featuredImage: 'totk.jpg' +summary: "As above, so below." + +episodeType: full episodeLength: 81944576 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode11.mp3 episodeDuration: 01:53:23 +episodeExplicit: true episodeNumber: 11 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-06-04t23:12:48+00:00-97d268b76fccc78 -featuredImage: 'totk.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode11.mp3" >}} diff --git a/content/episodes/2023-07-03 The Sims Bustin Out/index.md b/content/episodes/2023-07-03 The Sims Bustin Out/index.md index 00712ac..c28363f 100644 --- a/content/episodes/2023-07-03 The Sims Bustin Out/index.md +++ b/content/episodes/2023-07-03 The Sims Bustin Out/index.md @@ -3,15 +3,18 @@ title: "The Sims Bustin' Out" date: 2023-07-03T06:00:24-04:00 draft: false url: "the-sims-bustin-out" -episodeTitle: "The Sims Bustin' Out" -episodeSubtitle: "Visit SimValley and meet your demise at the hands of the Veloci-Rooster." +featuredImage: 'hayseed.jpg' +summary: "Visit SimValley and meet your demise at the hands of the Veloci-Rooster." + +episodeType: full episodeLength: 49090560 episodeURL: https://cdn.pitchandplay.org/episodes/PPEpisode12.mp3 episodeDuration: 00:42:20 +episodeExplicit: true episodeNumber: 12 +episodeSeason: 1 episodeChapters: true -episodeGuid: podlove-2023-07-04t17:22:28+00:00-85647a5f15a4681 -featuredImage: 'hayseed.jpg' +episodeTranscript: false --- {{< audio src="https://cdn.pitchandplay.org/episodes/PPEpisode12.mp3" >}} diff --git a/hugo.toml b/hugo.toml index 54402b0..3bd6c50 100644 --- a/hugo.toml +++ b/hugo.toml @@ -9,5 +9,5 @@ home = ["HTML", "RSS", "podcast" ] # Sets up podcast feed [outputFormats] [outputFormats.podcast] MediaType = "application/rss+xml" - BaseName = "feed" # Your feed will be located at example.org/feed.xml. If you edit this value, you need to edit line 43 in layouts/index.podcast.xml. + BaseName = "feed" # Your feed will be located at example.org/feed.xml. \ No newline at end of file diff --git a/layouts/index.podcast.xml b/layouts/index.podcast.xml index 72f52ef..c519ca2 100644 --- a/layouts/index.podcast.xml +++ b/layouts/index.podcast.xml @@ -1,15 +1,35 @@ -{{- $pctx := . -}} -{{- if .IsHome -}}{{ $pctx = .Site }}{{- end -}} -{{- $pages := slice -}} -{{- if or $.IsHome $.IsSection -}} -{{- $pages = $pctx.RegularPages -}} -{{- else -}} -{{- $pages = $pctx.Pages -}} -{{- end -}} -{{- $limit := .Site.Config.Services.RSS.Limit -}} -{{- if ge $limit 1 -}} -{{- $pages = $pages | first $limit -}} -{{- end -}} +{{- $authorEmail := "" }} +{{- with site.Params.author }} + {{- if reflect.IsMap . }} + {{- with .email }} + {{- $authorEmail = . }} + {{- end }} + {{- end }} +{{- end }} + +{{- $authorName := "" }} +{{- with site.Params.author }} + {{- if reflect.IsMap . }} + {{- with .name }} + {{- $authorName = . }} + {{- end }} + {{- else }} + {{- $authorName = . }} + {{- end }} +{{- end }} + +{{- $pctx := . }} +{{- if .IsHome }}{{ $pctx = .Site }}{{ end }} +{{- $pages := slice }} +{{- if or $.IsHome $.IsSection }} +{{- $pages = $pctx.RegularPages }} +{{- else }} +{{- $pages = $pctx.Pages }} +{{- end }} +{{- $limit := .Site.Config.Services.RSS.Limit }} +{{- if ge $limit 1 }} +{{- $pages = $pages | first $limit }} +{{- end }} {{- printf "" | safeHTML }} - Pitch and Play - https://pitchandplay.org - en-us - and#169; {{ dateFormat "2006" now }} Pitch and Play - Pitch and Play + {{ .Site.Title | transform.XMLEscape }} + {{ .Permalink }} A podcast about actually playing the games your friends recommend. - Hugo -- gohugo.io - + Hugo + {{ site.Language.LanguageCode }}{{ with $authorEmail }} + {{ . }}{{ end }}{{ if not .Date.IsZero }} + + Pitch and Play episodic - - Pitch and Play - hello@pitchandplay.org - https://pitchandplay.org/cover.png - Pitch and Play - https://pitchandplay.org true - A podcast about actually playing the games your friends recommend. - {{ .Date.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} - - https://pitchandplay.org/feed.xml - - {{ range (where .Site.RegularPages "Section" "episodes") }} - + {{ (index $pages.ByLastmod.Reverse 0).Lastmod.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }}{{ end }} + {{- with .OutputFormats.Get "RSS" }} + {{ printf "" .Permalink .MediaType | safeHTML }} + {{- end }} + {{- range $pages }} - {{ .Params.episodeTitle | plainify }} - {{ .Permalink }} - full - {{ .Params.episodeTitle | plainify }} - - {{ .Params.episodeSubtitle | plainify }} - - - {{ `` | safeHTML }} - - - {{ `` | safeHTML }} - - {{ .Params.episodeSubtitle | plainify }} - - PPEpisode{{ .Params.episodeNumber }} - {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:00 -0700" }} - {{ .Params.episodeDuration }} - false - {{ .Params.episodeNumber }} - {{ .Params.episodeNumber }} + {{ .Title | transform.XMLEscape | safeHTML }} + {{ .Permalink }} + {{ .PublishDate.Format "Mon, 02 Jan 2006 15:04:05 -0700" | safeHTML }} + {{- with $authorEmail }}{{ . }}{{ with $authorName }} ({{ . }}){{ end }}{{ end }} + PPEpisode{{ .Params.episodeNumber }} + {{ .Content | transform.XMLEscape | safeHTML }} + + {{ .Title | transform.XMLEscape | safeHTML }} + {{ .Params.episodeType }} + {{ .Content | transform.XMLEscape | safeHTML }} + {{ .Summary | transform.XMLEscape | safeHTML }} + + {{ .Params.episodeDuration }} + {{ .Params.episodeExplicit }} + {{ .Params.episodeNumber }} + {{ .Params.episodeSeason }} {{ if eq .Params.episodeChapters false }} - - {{ else }} - - {{ end }} + {{ else }} + + {{ end }} + {{ if eq .Params.episodeTranscript false }} + {{ else }} + + {{ end }} - {{ end }} + {{- end }} + \ No newline at end of file