starters(tailwind): migrate from post
to blog
as default blog post folder
Informed by user feedback.
2
starters/blog/.github/workflows/publish.yaml
vendored
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.123.6'
|
WC_HUGO_VERSION: '0.123.7'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -13,7 +13,7 @@ baseURL: 'https://example.com/' # Website URL
|
||||||
cascade:
|
cascade:
|
||||||
# Blog post options
|
# Blog post options
|
||||||
- _target:
|
- _target:
|
||||||
path: /post/**
|
path: /blog/**
|
||||||
kind: page
|
kind: page
|
||||||
pager: true
|
pager: true
|
||||||
editable: true
|
editable: true
|
||||||
|
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 333 KiB After Width: | Height: | Size: 333 KiB |
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
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-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
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.123.6'
|
hugo_version: '0.123.7'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.123.6"
|
HUGO_VERSION = "0.123.7"
|
||||||
GO_VERSION = "1.21.5"
|
GO_VERSION = "1.21.5"
|
||||||
NODE_VERSION = "21.1.0"
|
NODE_VERSION = "21.1.0"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.123.6'
|
WC_HUGO_VERSION: '0.123.7'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -22,7 +22,7 @@ cascade:
|
||||||
show_date_updated: true
|
show_date_updated: true
|
||||||
# Blog post options
|
# Blog post options
|
||||||
- _target:
|
- _target:
|
||||||
path: /post/**
|
path: /blog/**
|
||||||
kind: page
|
kind: page
|
||||||
pager: true
|
pager: true
|
||||||
editable: true
|
editable: true
|
||||||
|
@ -62,7 +62,6 @@ footnotereturnlinkcontents: <sup>^</sup>
|
||||||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
||||||
enableInlineShortcodes: true
|
enableInlineShortcodes: true
|
||||||
permalinks:
|
permalinks:
|
||||||
post: '/blog/:slug/'
|
|
||||||
authors: '/author/:slug/'
|
authors: '/author/:slug/'
|
||||||
tags: '/tag/:slug/'
|
tags: '/tag/:slug/'
|
||||||
categories: '/category/:slug/'
|
categories: '/category/:slug/'
|
||||||
|
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 228 KiB |
|
@ -4,5 +4,5 @@ go 1.15
|
||||||
|
|
||||||
require (
|
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-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
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.123.6'
|
hugo_version: '0.123.7'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.123.6"
|
HUGO_VERSION = "0.123.7"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.123.6'
|
WC_HUGO_VERSION: '0.123.7'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -13,7 +13,7 @@ baseURL: 'https://example.com/' # Website URL
|
||||||
cascade:
|
cascade:
|
||||||
# Blog post options
|
# Blog post options
|
||||||
- _target:
|
- _target:
|
||||||
path: /post/**
|
path: /blog/**
|
||||||
kind: page
|
kind: page
|
||||||
pager: true
|
pager: true
|
||||||
editable: true
|
editable: true
|
||||||
|
@ -30,10 +30,8 @@ cascade:
|
||||||
enable: true
|
enable: true
|
||||||
# Blog section options
|
# Blog section options
|
||||||
- _target:
|
- _target:
|
||||||
path: /post/*
|
path: /blog/*
|
||||||
kind: section
|
kind: section
|
||||||
# Change url to /blog/
|
|
||||||
url: /blog/
|
|
||||||
# Set the listing view
|
# Set the listing view
|
||||||
view: date-title-summary
|
view: date-title-summary
|
||||||
|
|
||||||
|
@ -60,7 +58,6 @@ enableRobotsTXT: true
|
||||||
footnotereturnlinkcontents: <sup>^</sup>
|
footnotereturnlinkcontents: <sup>^</sup>
|
||||||
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
|
||||||
permalinks:
|
permalinks:
|
||||||
post: '/blog/:slug/'
|
|
||||||
authors: '/author/:slug/'
|
authors: '/author/:slug/'
|
||||||
tags: '/tag/:slug/'
|
tags: '/tag/:slug/'
|
||||||
categories: '/category/:slug/'
|
categories: '/category/:slug/'
|
||||||
|
|
Before Width: | Height: | Size: 228 KiB After Width: | Height: | Size: 228 KiB |
Before Width: | Height: | Size: 333 KiB After Width: | Height: | Size: 333 KiB |
Before Width: | Height: | Size: 177 KiB After Width: | Height: | Size: 177 KiB |
Before Width: | Height: | Size: 112 KiB After Width: | Height: | Size: 112 KiB |
Before Width: | Height: | Size: 170 KiB After Width: | Height: | Size: 170 KiB |
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
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-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
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.123.6'
|
hugo_version: '0.123.7'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.123.6"
|
HUGO_VERSION = "0.123.7"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.123.6'
|
WC_HUGO_VERSION: '0.123.7'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
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-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
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.123.6'
|
hugo_version: '0.123.7'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.123.6"
|
HUGO_VERSION = "0.123.7"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|
|
@ -1,7 +1,7 @@
|
||||||
name: Deploy website to GitHub Pages
|
name: Deploy website to GitHub Pages
|
||||||
|
|
||||||
env:
|
env:
|
||||||
WC_HUGO_VERSION: '0.123.6'
|
WC_HUGO_VERSION: '0.123.7'
|
||||||
|
|
||||||
on:
|
on:
|
||||||
# Trigger the workflow every time you push to the `main` branch
|
# Trigger the workflow every time you push to the `main` branch
|
||||||
|
|
|
@ -8,7 +8,7 @@ main:
|
||||||
url: /
|
url: /
|
||||||
weight: 10
|
weight: 10
|
||||||
- name: Blog
|
- name: Blog
|
||||||
url: post/
|
url: blog/
|
||||||
weight: 20
|
weight: 20
|
||||||
- name: Uses
|
- name: Uses
|
||||||
url: uses/
|
url: uses/
|
||||||
|
|
|
@ -4,5 +4,5 @@ go 1.19
|
||||||
|
|
||||||
require (
|
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-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
|
||||||
)
|
)
|
||||||
|
|
|
@ -1,2 +1,2 @@
|
||||||
build:
|
build:
|
||||||
hugo_version: '0.123.6'
|
hugo_version: '0.123.7'
|
||||||
|
|
|
@ -3,7 +3,7 @@
|
||||||
publish = "public"
|
publish = "public"
|
||||||
|
|
||||||
[build.environment]
|
[build.environment]
|
||||||
HUGO_VERSION = "0.123.6"
|
HUGO_VERSION = "0.123.7"
|
||||||
HUGO_ENABLEGITINFO = "true"
|
HUGO_ENABLEGITINFO = "true"
|
||||||
|
|
||||||
[context.production.environment]
|
[context.production.environment]
|
||||||
|
|