From eccf71ebdc251300bff88bd8635b7889cbf06fd0 Mon Sep 17 00:00:00 2001 From: yequari Date: Mon, 17 Apr 2023 16:45:29 -0700 Subject: [PATCH] move /posts to /blog --- content/{posts => blog}/2022/04/elon.md | 0 content/{posts => blog}/2022/04/nothing.md | 0 content/{posts => blog}/2022/04/welcome.md | 0 content/{posts => blog}/2022/05/recentpast.md | 0 content/{posts => blog}/2022/05/ripipod.md | 0 content/{posts => blog}/2022/05/selfhostedcloud.md | 0 content/{posts => blog}/2022/07/kazuki-takahashi.md | 0 content/{posts => blog}/2022/11/goodbye-tiktok.md | 0 content/{posts => blog}/2022/12/taking-a-break.md | 0 content/{posts => blog}/2023/03/i-bought-a-thinkpad.md | 0 themes/genesis/layouts/{posts => blog}/list.html | 2 +- themes/genesis/layouts/{posts => blog}/single.html | 0 themes/genesis/layouts/partials/header.html | 2 +- 13 files changed, 2 insertions(+), 2 deletions(-) rename content/{posts => blog}/2022/04/elon.md (100%) rename content/{posts => blog}/2022/04/nothing.md (100%) rename content/{posts => blog}/2022/04/welcome.md (100%) rename content/{posts => blog}/2022/05/recentpast.md (100%) rename content/{posts => blog}/2022/05/ripipod.md (100%) rename content/{posts => blog}/2022/05/selfhostedcloud.md (100%) rename content/{posts => blog}/2022/07/kazuki-takahashi.md (100%) rename content/{posts => blog}/2022/11/goodbye-tiktok.md (100%) rename content/{posts => blog}/2022/12/taking-a-break.md (100%) rename content/{posts => blog}/2023/03/i-bought-a-thinkpad.md (100%) rename themes/genesis/layouts/{posts => blog}/list.html (96%) rename themes/genesis/layouts/{posts => blog}/single.html (100%) diff --git a/content/posts/2022/04/elon.md b/content/blog/2022/04/elon.md similarity index 100% rename from content/posts/2022/04/elon.md rename to content/blog/2022/04/elon.md diff --git a/content/posts/2022/04/nothing.md b/content/blog/2022/04/nothing.md similarity index 100% rename from content/posts/2022/04/nothing.md rename to content/blog/2022/04/nothing.md diff --git a/content/posts/2022/04/welcome.md b/content/blog/2022/04/welcome.md similarity index 100% rename from content/posts/2022/04/welcome.md rename to content/blog/2022/04/welcome.md diff --git a/content/posts/2022/05/recentpast.md b/content/blog/2022/05/recentpast.md similarity index 100% rename from content/posts/2022/05/recentpast.md rename to content/blog/2022/05/recentpast.md diff --git a/content/posts/2022/05/ripipod.md b/content/blog/2022/05/ripipod.md similarity index 100% rename from content/posts/2022/05/ripipod.md rename to content/blog/2022/05/ripipod.md diff --git a/content/posts/2022/05/selfhostedcloud.md b/content/blog/2022/05/selfhostedcloud.md similarity index 100% rename from content/posts/2022/05/selfhostedcloud.md rename to content/blog/2022/05/selfhostedcloud.md diff --git a/content/posts/2022/07/kazuki-takahashi.md b/content/blog/2022/07/kazuki-takahashi.md similarity index 100% rename from content/posts/2022/07/kazuki-takahashi.md rename to content/blog/2022/07/kazuki-takahashi.md diff --git a/content/posts/2022/11/goodbye-tiktok.md b/content/blog/2022/11/goodbye-tiktok.md similarity index 100% rename from content/posts/2022/11/goodbye-tiktok.md rename to content/blog/2022/11/goodbye-tiktok.md diff --git a/content/posts/2022/12/taking-a-break.md b/content/blog/2022/12/taking-a-break.md similarity index 100% rename from content/posts/2022/12/taking-a-break.md rename to content/blog/2022/12/taking-a-break.md diff --git a/content/posts/2023/03/i-bought-a-thinkpad.md b/content/blog/2023/03/i-bought-a-thinkpad.md similarity index 100% rename from content/posts/2023/03/i-bought-a-thinkpad.md rename to content/blog/2023/03/i-bought-a-thinkpad.md diff --git a/themes/genesis/layouts/posts/list.html b/themes/genesis/layouts/blog/list.html similarity index 96% rename from themes/genesis/layouts/posts/list.html rename to themes/genesis/layouts/blog/list.html index 4602ad6..f24400b 100644 --- a/themes/genesis/layouts/posts/list.html +++ b/themes/genesis/layouts/blog/list.html @@ -1,6 +1,6 @@ {{ define "main" }}
-

{{ .Title }}

+

Blog

{{ template "_internal/pagination.html" . }} {{ range .Paginator.Pages.ByPublishDate.Reverse }}

diff --git a/themes/genesis/layouts/posts/single.html b/themes/genesis/layouts/blog/single.html similarity index 100% rename from themes/genesis/layouts/posts/single.html rename to themes/genesis/layouts/blog/single.html diff --git a/themes/genesis/layouts/partials/header.html b/themes/genesis/layouts/partials/header.html index 4cba0ec..6a258f0 100644 --- a/themes/genesis/layouts/partials/header.html +++ b/themes/genesis/layouts/partials/header.html @@ -5,7 +5,7 @@