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
|
||||
weight: 25
|
||||
---
|
||||
|
||||
> You were gone.
|
||||
|
||||
@ -1,5 +1,6 @@
|
||||
---
|
||||
date: 2019-09-23
|
||||
weight: 26
|
||||
---
|
||||
|
||||
Apophenia
|
||||
|
||||
@ -1,6 +1,6 @@
|
||||
---
|
||||
date: 2019-10-25
|
||||
weight: 26
|
||||
weight: 27
|
||||
---
|
||||
|
||||
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
|
||||
|
||||
* [Suicide](/self-harm/suicide)
|
||||
* [ally 27](/27)
|
||||
* I wrote a lot about gender but I'm not ready to show it yet.
|
||||
|
||||
### Updated content
|
||||
|
||||
@ -1,14 +1,11 @@
|
||||
{{ define "main" }}
|
||||
<main id="main">
|
||||
{{ .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 }}
|
||||
<p class="date">{{ .Date.Format "January 2, 2006" }}</p>
|
||||
{{ .Content }}
|
||||
{{ end }}
|
||||
{{ 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>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user