themed series and episodes lists

This commit is contained in:
Vicky Steeves 2020-10-14 20:22:54 -04:00
parent 4860f3ccec
commit 466520aba1
12 changed files with 83 additions and 23 deletions

View File

@ -1,29 +1,36 @@
--- ---
title: "{{ replace .TranslationBaseName "-" " " | humanize }}" title: "{{ replace .TranslationBaseName "-" " " | humanize }}"
slug: slug:
author: Vicky Zelda
date: {{ .Date }} date: {{ .Date }}
publishDate:
audio: https://files.lorescape.xyz/XX-XXXX.mp3
transcript: https://files.lorescape.xyz/XX-XXXX.txt
draft: true
keywords: keywords:
- - crypt of the necrodancer
- - podcast
- - video games
- series:
categories: - Crypt of the Necrodancer
-
tags: tags:
- -
- -
podcast: podcast:
mp3: https://files.lorescape.xyz/0X-.mp3 mp3: https://files.lorescape.xyz/XX-XXXX.mp3
duration: duration:
image: image:
src: src: /images/01-necrodancer.png
alt: alt: Logo for Crypt of the Necrodancer
episode: episode:
season: 1 season: 1
--- ---
<!--more--> <!--more-->
{{< audio src="https://files.lorescape.xyz/0X-.mp3">}} {{< audio src="https://files.lorescape.xyz/0X-.mp3">}}
[&darr; Download episode mp3](https://files.lorescape.xyz/00-intro.mp3)
## Transcript
[&darr; Download transcript](https://files.lorescape.xyz/00-intro.txt)

View File

@ -7,6 +7,11 @@ languageCode: "en-US"
author: author:
name: "Vicky Zelda" name: "Vicky Zelda"
taxonomies:
category: categories
series: series
tag: tags
params: params:
contact: "info@lorescape.xyz" contact: "info@lorescape.xyz"
copyright: "Original content is licensed [CC BY-NC](https://creativecommons.org/licenses/by-nc/4.0/)." copyright: "Original content is licensed [CC BY-NC](https://creativecommons.org/licenses/by-nc/4.0/)."
@ -67,16 +72,16 @@ menu:
- Name: "Series" - Name: "Series"
Identifier: "series" Identifier: "series"
Weight: -100 Weight: -100
URL: "/categories/" URL: "/series/"
# - Name: "Crypt of the Necrodancer" - Name: "Crypt of the Necrodancer"
# Identifier: "necrodancer" Identifier: "necrodancer"
# Parent: "series" Parent: "series"
# URL: "/categories/crypt-of-the-necrodancer/" URL: "/series/crypt-of-the-necrodancer/"
# Weight: 1 Weight: 1
- Name: "Meta" - Name: "Meta"
Identifier: "meta" Identifier: "meta"
Parent: "series" Parent: "series"
URL: "/categories/meta/" URL: "/series/meta/"
Weight: 2 Weight: 2
- Name: "Episodes" - Name: "Episodes"
Identifier: "episodes" Identifier: "episodes"

View File

@ -2,12 +2,14 @@
title: "Enter the Lorescape" title: "Enter the Lorescape"
author: Vicky Zelda author: Vicky Zelda
date: 2020-10-12T19:26:18-04:00 date: 2020-10-12T19:26:18-04:00
audio: https://files.lorescape.xyz/00-intro.mp3
transcript: https://files.lorescape.xyz/00-intro.txt
keywords: keywords:
- podcast - podcast
- video games - video games
- introduction - introduction
- lore - lore
categories: series:
- Meta - Meta
tags: tags:
- intro - intro
@ -25,7 +27,13 @@ This episode introduces Lorescape, a new podcast that goes into the universe bui
<!--more--> <!--more-->
{{< audio src="https://files.lorescape.xyz/00-intro.mp3">}} {{< audio src="https://files.lorescape.xyz/00-intro.mp3">}}
[&darr; Download episode mp3](https://files.lorescape.xyz/00-intro.mp3)
## Transcript ## Transcript
[&darr; Download transcript](https://files.lorescape.xyz/00-intro.txt)
00:00:00
Vicky: hello

View File

@ -3,13 +3,15 @@ title: "First Series: Crypt of the Necrodancer"
slug: 01-intro-necrodancer slug: 01-intro-necrodancer
author: Vicky Zelda author: Vicky Zelda
date: 2020-10-12T19:26:22-04:00 date: 2020-10-12T19:26:22-04:00
publishDate: 2020-10-20 #publishDate: 2020-10-20
draft: true audio: https://files.lorescape.xyz/01-intro-necrodancer.mp3
transcript: https://files.lorescape.xyz/01-intro-necrodancer.txt
#draft: true
keywords: keywords:
- crypt of the necrodancer - crypt of the necrodancer
- podcast - podcast
- video games - video games
categories: series:
- Crypt of the Necrodancer - Crypt of the Necrodancer
tags: tags:
- plot summary - plot summary
@ -29,3 +31,7 @@ The first series we'll go over is the Crypt of the Necrodancer!
<!--more--> <!--more-->
{{< audio src="https://files.lorescape.xyz/01-necrodancer.mp3">}} {{< audio src="https://files.lorescape.xyz/01-necrodancer.mp3">}}
[&darr; Download episode mp3](https://files.lorescape.xyz/01-intro-necrodancer.mp3)
## Transcript
[&darr; Download transcript](https://files.lorescape.xyz/01-intro-necrodancer.txt)

View File

@ -0,0 +1,7 @@
{{ define "main"}}
<main id="main">
<div>
<h1 id="title"><a href="{{ "/" | relURL }}">Go Home</a></h1>
</div>
</main>
{{ end }}

View File

@ -4,8 +4,8 @@
{{ $paginator := .Paginate (.Pages) -}} {{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}} {{ range $paginator.Pages -}}
{{ .Render "summary"}} {{ .Render "summary"}}
{{ end -}}
{{ end -}}
{{ partial "pagination.html" . }} {{ partial "pagination.html" . }}
</main> </main>
{{ end }} {{ end }}

View File

@ -0,0 +1,12 @@
{{ define "main" -}}
<main class="main layout__main">
<h1 class="title">{{ .Title }} <a href="/episodes/index.xml"><img src="/images/rss.png" style="vertical-align:sub;"></a></h1>
{{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}}
{{ .Render "summary"}}
<a href="{{ .Param "audio" }}" class="download">&darr; Download episode mp3</a> &nbsp; <a href="{{ .Param "transcript" }}" class="download">&darr; Download transcript</a>
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ end }}

View File

@ -7,9 +7,11 @@
{{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}} {{ if .Params.tags }}{{ partial "tags.html" . }}{{ end -}}
</header> </header>
<div class="content"> <div class="content">
{{ .Content }} {{ .Content }}
{{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}} {{ if ne .Lastmod .Date }}{{ partial "dates.html" . }}{{ end -}}
</div> </div>
</article> </article>
</main> </main>

View File

@ -5,5 +5,6 @@
</header> </header>
<div class="content"> <div class="content">
{{ .Summary }} {{ .Summary }}
</div> </div>
</article> </article>

View File

@ -0,0 +1,11 @@
{{ define "main" -}}
<main class="main layout__main">
<h1 class="title">{{ .Title }} <a href="{{ .Permalink | safeURL }}"><img src="/images/rss.png" style="vertical-align:sub;"></a></h1>
{{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}}
{{ .Render "summary"}}
<a href="{{ .Param "audio" }}" class="download">&darr; Download episode mp3</a> &nbsp; <a href="{{ .Param "transcript" }}" class="download">&darr; Download transcript</a>
{{ end -}}
{{ partial "pagination.html" . }}
</main>
{{ end }}

View File

@ -6,6 +6,7 @@
{{ $paginator := .Paginate (.Pages) -}} {{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}} {{ range $paginator.Pages -}}
{{ .Render "summary"}} {{ .Render "summary"}}
{{ end -}} {{ end -}}
{{ partial "pagination.html" . }} {{ partial "pagination.html" . }}

BIN
static/images/rss.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 1.4 KiB