Fix for hugo update
This commit is contained in:
@ -1,2 +0,0 @@
|
|||||||
---
|
|
||||||
---
|
|
||||||
3
content/_index.md
Normal file
3
content/_index.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
type: serial
|
||||||
|
---
|
||||||
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
date: 2019-09-23
|
date: 2019-09-23
|
||||||
|
weight: 25
|
||||||
---
|
---
|
||||||
|
|
||||||
> You were gone.
|
> You were gone.
|
||||||
|
|||||||
@ -1,5 +1,6 @@
|
|||||||
---
|
---
|
||||||
date: 2019-09-23
|
date: 2019-09-23
|
||||||
|
weight: 26
|
||||||
---
|
---
|
||||||
|
|
||||||
Apophenia
|
Apophenia
|
||||||
|
|||||||
@ -1,6 +1,6 @@
|
|||||||
---
|
---
|
||||||
date: 2019-10-25
|
date: 2019-10-25
|
||||||
weight: 26
|
weight: 27
|
||||||
---
|
---
|
||||||
|
|
||||||
I'm sorry this is taking so long.
|
I'm sorry this is taking so long.
|
||||||
|
|||||||
3
content/gender/01.md
Normal file
3
content/gender/01.md
Normal file
@ -0,0 +1,3 @@
|
|||||||
|
---
|
||||||
|
date: 2019-10-25
|
||||||
|
---
|
||||||
@ -26,6 +26,7 @@ I'm so tired.
|
|||||||
### New content
|
### New content
|
||||||
|
|
||||||
* [Suicide](/self-harm/suicide)
|
* [Suicide](/self-harm/suicide)
|
||||||
|
* [ally 27](/27)
|
||||||
* I wrote a lot about gender but I'm not ready to show it yet.
|
* I wrote a lot about gender but I'm not ready to show it yet.
|
||||||
|
|
||||||
### Updated content
|
### Updated content
|
||||||
|
|||||||
@ -1,14 +1,11 @@
|
|||||||
{{ define "main" }}
|
{{ define "main" }}
|
||||||
<main id="main">
|
<main id="main">
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ $paginator := .Paginate (and (where .Pages ".Params.date" "!=" nil) (where .Pages ".Type" "==" "ally")) 1 }}
|
{{ $paginator := .Paginate (where .Pages ".Type" "==" "ally") 1 }}
|
||||||
{{ range $paginator.Pages.ByWeight }}
|
{{ range $paginator.Pages.ByWeight }}
|
||||||
<p class="date">{{ .Date.Format "January 2, 2006" }}</p>
|
<p class="date">{{ .Date.Format "January 2, 2006" }}</p>
|
||||||
{{ .Content }}
|
{{ .Content }}
|
||||||
{{ end }}
|
{{ end }}
|
||||||
{{ partial "pagination.html" . }}
|
{{ partial "pagination.html" . }}
|
||||||
{{ if (isset .Params "back") }}
|
|
||||||
<div style="text-align: center;"><a href="{{ .Params.back }}" class="pulse">« back to where we left off</a></div>
|
|
||||||
{{ end }}
|
|
||||||
</main>
|
</main>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|||||||
Reference in New Issue
Block a user