fix section and series layouts
This commit is contained in:
parent
91663686da
commit
66e08337f1
|
@ -1 +1,2 @@
|
|||
public/
|
||||
resources/
|
||||
|
|
10
config.yaml
10
config.yaml
|
@ -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"
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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">↓ Download episode mp3</a> <a href="{{ .Param "transcript" }}" class="download">↓ 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>
|
||||
|
|
|
@ -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">↓ Download episode mp3</a> <a href="{{ .Param "transcript" }}" class="download">↓ Download transcript</a>
|
||||
{{ end -}}
|
||||
{{ partial "pagination.html" . }}
|
||||
</main>
|
||||
{{ end }}
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue