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/
resources/

View File

@ -73,11 +73,11 @@ menu:
Identifier: "series"
Weight: -100
URL: "/series/"
# - Name: "Crypt of the Necrodancer"
# Identifier: "necrodancer"
# Parent: "series"
# URL: "/series/crypt-of-the-necrodancer/"
# Weight: 1
- Name: "Crypt of the Necrodancer"
Identifier: "necrodancer"
Parent: "series"
URL: "/series/crypt-of-the-necrodancer/"
Weight: 1
- Name: "Meta"
Identifier: "meta"
Parent: "series"

View File

@ -3,10 +3,10 @@ title: "First Series: Crypt of the Necrodancer"
slug: 01-intro-necrodancer
author: Vicky Zelda
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
transcript: https://files.lorescape.xyz/01-intro-necrodancer.txt
draft: true
#draft: true
keywords:
- crypt of the necrodancer
- podcast

View File

@ -1,10 +1,9 @@
{{ 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>
<h1 class="title">{{ .Title }} </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>
<h2 class="title {{ if $.Param "submitted" | default false }}title-submitted{{ end }}"><a href="{{ .RelPermalink }}">{{ .Title }}</a></h2>
{{ end -}}
{{ partial "pagination.html" . }}
</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;
color: #fff; }
[disabled].button,
.button[disabled],
button[disabled],
[disabled][type='button'],
[disabled][type='reset'],
@ -292,15 +292,15 @@ button[disabled],
border-color: #eeeeee;
background-image: none;
text-shadow: none; }
[disabled].button:hover,
.button[disabled]:hover,
button[disabled]:hover,
[disabled][type='button']:hover,
[disabled][type='reset']:hover,
[disabled][type='submit']:hover, [disabled].button:focus,
[disabled][type='submit']:hover, .button[disabled]:focus,
button[disabled]:focus,
[disabled][type='button']:focus,
[disabled][type='reset']:focus,
[disabled][type='submit']:focus, [disabled].button:active,
[disabled][type='submit']:focus, .button[disabled]:active,
button[disabled]:active,
[disabled][type='button']:active,
[disabled][type='reset']:active,