fix section and series layouts

This commit is contained in:
Vicky Steeves 2020-10-14 23:54:05 -04:00
parent 91663686da
commit 66e08337f1
6 changed files with 25 additions and 14 deletions

1
.gitignore vendored
View File

@ -1 +1,2 @@
public/ public/
resources/

View File

@ -73,11 +73,11 @@ menu:
Identifier: "series" Identifier: "series"
Weight: -100 Weight: -100
URL: "/series/" URL: "/series/"
# - Name: "Crypt of the Necrodancer" - Name: "Crypt of the Necrodancer"
# Identifier: "necrodancer" Identifier: "necrodancer"
# Parent: "series" Parent: "series"
# URL: "/series/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"

View File

@ -3,10 +3,10 @@ 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
audio: https://files.lorescape.xyz/01-intro-necrodancer.mp3 audio: https://files.lorescape.xyz/01-intro-necrodancer.mp3
transcript: https://files.lorescape.xyz/01-intro-necrodancer.txt transcript: https://files.lorescape.xyz/01-intro-necrodancer.txt
draft: true #draft: true
keywords: keywords:
- crypt of the necrodancer - crypt of the necrodancer
- podcast - podcast

View File

@ -1,10 +1,9 @@
{{ define "main" -}} {{ define "main" -}}
<main class="main layout__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> <h1 class="title">{{ .Title }} </h1>
{{ $paginator := .Paginate (.Pages) -}} {{ $paginator := .Paginate (.Pages) -}}
{{ range $paginator.Pages -}} {{ range $paginator.Pages -}}
{{ .Render "summary"}} <h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
<a href="{{ .Param "audio" }}" class="download">&darr; Download episode mp3</a> &nbsp; <a href="{{ .Param "transcript" }}" class="download">&darr; Download transcript</a>
{{ end -}} {{ end -}}
{{ partial "pagination.html" . }} {{ partial "pagination.html" . }}
</main> </main>

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

@ -281,7 +281,7 @@ button,
background: #666666; background: #666666;
color: #fff; } color: #fff; }
[disabled].button, .button[disabled],
button[disabled], button[disabled],
[disabled][type='button'], [disabled][type='button'],
[disabled][type='reset'], [disabled][type='reset'],
@ -292,15 +292,15 @@ button[disabled],
border-color: #eeeeee; border-color: #eeeeee;
background-image: none; background-image: none;
text-shadow: none; } text-shadow: none; }
[disabled].button:hover, .button[disabled]:hover,
button[disabled]:hover, button[disabled]:hover,
[disabled][type='button']:hover, [disabled][type='button']:hover,
[disabled][type='reset']:hover, [disabled][type='reset']:hover,
[disabled][type='submit']:hover, [disabled].button:focus, [disabled][type='submit']:hover, .button[disabled]:focus,
button[disabled]:focus, button[disabled]:focus,
[disabled][type='button']:focus, [disabled][type='button']:focus,
[disabled][type='reset']:focus, [disabled][type='reset']:focus,
[disabled][type='submit']:focus, [disabled].button:active, [disabled][type='submit']:focus, .button[disabled]:active,
button[disabled]:active, button[disabled]:active,
[disabled][type='button']:active, [disabled][type='button']:active,
[disabled][type='reset']:active, [disabled][type='reset']:active,