Skip to content

Commit

Permalink
starters(tailwind): migrate from post to blog as default blog pos…
Browse files Browse the repository at this point in the history
…t folder

Informed by user feedback.
  • Loading branch information
gcushen committed Mar 3, 2024
1 parent 469a458 commit 4e81f62
Show file tree
Hide file tree
Showing 57 changed files with 25 additions and 29 deletions.
2 changes: 1 addition & 1 deletion starters/blog/.github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion starters/blog/config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion starters/blog/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -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
)
2 changes: 1 addition & 1 deletion starters/blog/hugoblox.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
hugo_version: '0.123.6'
hugo_version: '0.123.7'
2 changes: 1 addition & 1 deletion starters/blog/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion starters/documentation/.github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
3 changes: 1 addition & 2 deletions starters/documentation/config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ cascade:
show_date_updated: true
# Blog post options
- _target:
path: /post/**
path: /blog/**
kind: page
pager: true
editable: true
Expand Down Expand Up @@ -62,7 +62,6 @@ footnotereturnlinkcontents: <sup>^</sup>
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
enableInlineShortcodes: true
permalinks:
post: '/blog/:slug/'
authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
Expand Down
2 changes: 1 addition & 1 deletion starters/documentation/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.15

require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20240217212918-ae7f0c597978
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
)
2 changes: 1 addition & 1 deletion starters/documentation/hugoblox.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
hugo_version: '0.123.6'
hugo_version: '0.123.7'
2 changes: 1 addition & 1 deletion starters/documentation/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.123.6"
HUGO_VERSION = "0.123.7"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
Expand Down
2 changes: 1 addition & 1 deletion starters/landing-page/.github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
7 changes: 2 additions & 5 deletions starters/landing-page/config/_default/hugo.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -30,10 +30,8 @@ cascade:
enable: true
# Blog section options
- _target:
path: /post/*
path: /blog/*
kind: section
# Change url to /blog/
url: /blog/
# Set the listing view
view: date-title-summary

Expand All @@ -60,7 +58,6 @@ enableRobotsTXT: true
footnotereturnlinkcontents: <sup>^</sup>
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
permalinks:
post: '/blog/:slug/'
authors: '/author/:slug/'
tags: '/tag/:slug/'
categories: '/category/:slug/'
Expand Down
2 changes: 1 addition & 1 deletion starters/landing-page/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.19

require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
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
)
2 changes: 1 addition & 1 deletion starters/landing-page/hugoblox.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
hugo_version: '0.123.6'
hugo_version: '0.123.7'
2 changes: 1 addition & 1 deletion starters/landing-page/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.123.6"
HUGO_VERSION = "0.123.7"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
Expand Down
2 changes: 1 addition & 1 deletion starters/link-in-bio/.github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion starters/link-in-bio/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.19

require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231108143325-448ed0e3bd2b
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
)
2 changes: 1 addition & 1 deletion starters/link-in-bio/hugoblox.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
hugo_version: '0.123.6'
hugo_version: '0.123.7'
2 changes: 1 addition & 1 deletion starters/link-in-bio/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.123.6"
HUGO_VERSION = "0.123.7"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
Expand Down
2 changes: 1 addition & 1 deletion starters/resume/.github/workflows/publish.yaml
Original file line number Diff line number Diff line change
@@ -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
Expand Down
2 changes: 1 addition & 1 deletion starters/resume/config/_default/menus.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ main:
url: /
weight: 10
- name: Blog
url: post/
url: blog/
weight: 20
- name: Uses
url: uses/
Expand Down
2 changes: 1 addition & 1 deletion starters/resume/go.mod
Original file line number Diff line number Diff line change
Expand Up @@ -4,5 +4,5 @@ go 1.19

require (
github.com/HugoBlox/hugo-blox-builder/modules/blox-plugin-netlify v1.1.2-0.20231125200520-804c70f7efb8
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
)
2 changes: 1 addition & 1 deletion starters/resume/hugoblox.yaml
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
build:
hugo_version: '0.123.6'
hugo_version: '0.123.7'
2 changes: 1 addition & 1 deletion starters/resume/netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.123.6"
HUGO_VERSION = "0.123.7"
HUGO_ENABLEGITINFO = "true"

[context.production.environment]
Expand Down

0 comments on commit 4e81f62

Please sign in to comment.