From 5e5a3e10623f31f52e4f0809b12276f6ffdefd56 Mon Sep 17 00:00:00 2001 From: Madison Scott-Clary Date: Sat, 26 Oct 2019 20:04:57 -0700 Subject: [PATCH] Fix for hugo update --- content/_index.html | 2 -- content/_index.md | 3 +++ content/ally/025.md | 1 + content/ally/026.md | 1 + content/ally/027.md | 2 +- content/gender/01.md | 3 +++ content/news/2019-10-10-heavy-shit.md | 1 + themes/ally/layouts/core/list.html | 5 +---- 8 files changed, 11 insertions(+), 7 deletions(-) delete mode 100644 content/_index.html create mode 100644 content/_index.md create mode 100644 content/gender/01.md diff --git a/content/_index.html b/content/_index.html deleted file mode 100644 index a845151..0000000 --- a/content/_index.html +++ /dev/null @@ -1,2 +0,0 @@ ---- ---- diff --git a/content/_index.md b/content/_index.md new file mode 100644 index 0000000..5f2544d --- /dev/null +++ b/content/_index.md @@ -0,0 +1,3 @@ +--- +type: serial +--- diff --git a/content/ally/025.md b/content/ally/025.md index a5188c7..c99a092 100644 --- a/content/ally/025.md +++ b/content/ally/025.md @@ -1,5 +1,6 @@ --- date: 2019-09-23 +weight: 25 --- > You were gone. diff --git a/content/ally/026.md b/content/ally/026.md index 2118242..55b5d51 100644 --- a/content/ally/026.md +++ b/content/ally/026.md @@ -1,5 +1,6 @@ --- date: 2019-09-23 +weight: 26 --- Apophenia diff --git a/content/ally/027.md b/content/ally/027.md index 2dcfcdb..0d9ce2c 100644 --- a/content/ally/027.md +++ b/content/ally/027.md @@ -1,6 +1,6 @@ --- date: 2019-10-25 -weight: 26 +weight: 27 --- I'm sorry this is taking so long. diff --git a/content/gender/01.md b/content/gender/01.md new file mode 100644 index 0000000..089b24d --- /dev/null +++ b/content/gender/01.md @@ -0,0 +1,3 @@ +--- +date: 2019-10-25 +--- diff --git a/content/news/2019-10-10-heavy-shit.md b/content/news/2019-10-10-heavy-shit.md index f49025a..a8ab492 100644 --- a/content/news/2019-10-10-heavy-shit.md +++ b/content/news/2019-10-10-heavy-shit.md @@ -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 diff --git a/themes/ally/layouts/core/list.html b/themes/ally/layouts/core/list.html index d584826..1c748fa 100644 --- a/themes/ally/layouts/core/list.html +++ b/themes/ally/layouts/core/list.html @@ -1,14 +1,11 @@ {{ define "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 }}

{{ .Date.Format "January 2, 2006" }}

{{ .Content }} {{ end }} {{ partial "pagination.html" . }} - {{ if (isset .Params "back") }} -
« back to where we left off
- {{ end }}
{{end}}