Skip to content

Commit bc1a1a7

Browse files
author
Splitter
committed
starters(tailwind): migrate from post to blog as default blog post folder
1 parent 480bcb4 commit bc1a1a7

File tree

19 files changed

+6
-9
lines changed

19 files changed

+6
-9
lines changed

.github/workflows/publish.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
name: Deploy website to GitHub Pages
22

33
env:
4-
WC_HUGO_VERSION: '0.123.6'
4+
WC_HUGO_VERSION: '0.123.7'
55

66
on:
77
# Trigger the workflow every time you push to the `main` branch

config/_default/hugo.yaml

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ baseURL: 'https://example.com/' # Website URL
1313
cascade:
1414
# Blog post options
1515
- _target:
16-
path: /post/**
16+
path: /blog/**
1717
kind: page
1818
pager: true
1919
editable: true
@@ -30,10 +30,8 @@ cascade:
3030
enable: true
3131
# Blog section options
3232
- _target:
33-
path: /post/*
33+
path: /blog/*
3434
kind: section
35-
# Change url to /blog/
36-
url: /blog/
3735
# Set the listing view
3836
view: date-title-summary
3937

@@ -60,7 +58,6 @@ enableRobotsTXT: true
6058
footnotereturnlinkcontents: <sup>^</sup>
6159
ignoreFiles: [\.ipynb$, .ipynb_checkpoints$, \.Rmd$, \.Rmarkdown$, _cache$]
6260
permalinks:
63-
post: '/blog/:slug/'
6461
authors: '/author/:slug/'
6562
tags: '/tag/:slug/'
6663
categories: '/category/:slug/'
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 commit comments

Comments
 (0)