From 0518917b79b59b2fc991a52abc94f81c2591c9d1 Mon Sep 17 00:00:00 2001 From: Splitter Date: Sun, 3 Mar 2024 17:02:32 +0000 Subject: [PATCH] starters(tailwind): migrate from `post` to `blog` as default blog post folder --- .github/workflows/publish.yaml | 2 +- config/_default/hugo.yaml | 2 +- content/{post => blog}/_index.md | 0 .../{post => blog}/data-visualization/featured.jpg | Bin content/{post => blog}/data-visualization/index.md | 0 .../data-visualization/line-chart.json | 0 .../{post => blog}/data-visualization/results.csv | 0 content/{post => blog}/get-started/featured.jpg | Bin content/{post => blog}/get-started/index.md | 0 .../{post => blog}/project-management/featured.jpg | Bin content/{post => blog}/project-management/index.md | 0 content/{post => blog}/second-brain/featured.jpg | Bin content/{post => blog}/second-brain/index.md | 0 .../{post => blog}/teach-courses/ambient-piano.mp3 | Bin content/{post => blog}/teach-courses/featured.jpg | Bin content/{post => blog}/teach-courses/index.md | 0 go.mod | 2 +- hugoblox.yaml | 2 +- netlify.toml | 2 +- 19 files changed, 5 insertions(+), 5 deletions(-) rename content/{post => blog}/_index.md (100%) rename content/{post => blog}/data-visualization/featured.jpg (100%) rename content/{post => blog}/data-visualization/index.md (100%) rename content/{post => blog}/data-visualization/line-chart.json (100%) rename content/{post => blog}/data-visualization/results.csv (100%) rename content/{post => blog}/get-started/featured.jpg (100%) rename content/{post => blog}/get-started/index.md (100%) rename content/{post => blog}/project-management/featured.jpg (100%) rename content/{post => blog}/project-management/index.md (100%) rename content/{post => blog}/second-brain/featured.jpg (100%) rename content/{post => blog}/second-brain/index.md (100%) rename content/{post => blog}/teach-courses/ambient-piano.mp3 (100%) rename content/{post => blog}/teach-courses/featured.jpg (100%) rename content/{post => blog}/teach-courses/index.md (100%) diff --git a/.github/workflows/publish.yaml b/.github/workflows/publish.yaml index abbefe2..b02b9c1 100644 --- a/.github/workflows/publish.yaml +++ b/.github/workflows/publish.yaml @@ -1,7 +1,7 @@ name: Deploy website to GitHub Pages env: - WC_HUGO_VERSION: '0.123.6' + WC_HUGO_VERSION: '0.123.7' on: # Trigger the workflow every time you push to the `main` branch diff --git a/config/_default/hugo.yaml b/config/_default/hugo.yaml index c484c48..11d520c 100644 --- a/config/_default/hugo.yaml +++ b/config/_default/hugo.yaml @@ -13,7 +13,7 @@ baseURL: 'https://example.com/' # Website URL cascade: # Blog post options - _target: - path: /post/** + path: /blog/** kind: page pager: true editable: true diff --git a/content/post/_index.md b/content/blog/_index.md similarity index 100% rename from content/post/_index.md rename to content/blog/_index.md diff --git a/content/post/data-visualization/featured.jpg b/content/blog/data-visualization/featured.jpg similarity index 100% rename from content/post/data-visualization/featured.jpg rename to content/blog/data-visualization/featured.jpg diff --git a/content/post/data-visualization/index.md b/content/blog/data-visualization/index.md similarity index 100% rename from content/post/data-visualization/index.md rename to content/blog/data-visualization/index.md diff --git a/content/post/data-visualization/line-chart.json b/content/blog/data-visualization/line-chart.json similarity index 100% rename from content/post/data-visualization/line-chart.json rename to content/blog/data-visualization/line-chart.json diff --git a/content/post/data-visualization/results.csv b/content/blog/data-visualization/results.csv similarity index 100% rename from content/post/data-visualization/results.csv rename to content/blog/data-visualization/results.csv diff --git a/content/post/get-started/featured.jpg b/content/blog/get-started/featured.jpg similarity index 100% rename from content/post/get-started/featured.jpg rename to content/blog/get-started/featured.jpg diff --git a/content/post/get-started/index.md b/content/blog/get-started/index.md similarity index 100% rename from content/post/get-started/index.md rename to content/blog/get-started/index.md diff --git a/content/post/project-management/featured.jpg b/content/blog/project-management/featured.jpg similarity index 100% rename from content/post/project-management/featured.jpg rename to content/blog/project-management/featured.jpg diff --git a/content/post/project-management/index.md b/content/blog/project-management/index.md similarity index 100% rename from content/post/project-management/index.md rename to content/blog/project-management/index.md diff --git a/content/post/second-brain/featured.jpg b/content/blog/second-brain/featured.jpg similarity index 100% rename from content/post/second-brain/featured.jpg rename to content/blog/second-brain/featured.jpg diff --git a/content/post/second-brain/index.md b/content/blog/second-brain/index.md similarity index 100% rename from content/post/second-brain/index.md rename to content/blog/second-brain/index.md diff --git a/content/post/teach-courses/ambient-piano.mp3 b/content/blog/teach-courses/ambient-piano.mp3 similarity index 100% rename from content/post/teach-courses/ambient-piano.mp3 rename to content/blog/teach-courses/ambient-piano.mp3 diff --git a/content/post/teach-courses/featured.jpg b/content/blog/teach-courses/featured.jpg similarity index 100% rename from content/post/teach-courses/featured.jpg rename to content/blog/teach-courses/featured.jpg diff --git a/content/post/teach-courses/index.md b/content/blog/teach-courses/index.md similarity index 100% rename from content/post/teach-courses/index.md rename to content/blog/teach-courses/index.md diff --git a/go.mod b/go.mod index 99a5861..42f16b3 100644 --- a/go.mod +++ b/go.mod @@ -4,5 +4,5 @@ go 1.19 require ( github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125204555-f431a4a2c705 - github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240228195300-ae83c68788d6 + github.com/HugoBlox/hugo-blox-builder/modules/blox-tailwind v0.2.1-0.20240303165809-469a458ab94f ) diff --git a/hugoblox.yaml b/hugoblox.yaml index 9797bce..976a936 100644 --- a/hugoblox.yaml +++ b/hugoblox.yaml @@ -1,2 +1,2 @@ build: - hugo_version: '0.123.6' + hugo_version: '0.123.7' diff --git a/netlify.toml b/netlify.toml index d1318cb..63849ee 100644 --- a/netlify.toml +++ b/netlify.toml @@ -3,7 +3,7 @@ publish = "public" [build.environment] - HUGO_VERSION = "0.123.6" + HUGO_VERSION = "0.123.7" GO_VERSION = "1.21.5" NODE_VERSION = "21.1.0" HUGO_ENABLEGITINFO = "true"