Skip to content

Commit 288555c

Browse files
committed
bump Hugo to 0.165.0 and allow tailwindcss to exec again, since 0.165 dropped it from the defaults
1 parent 4094aaf commit 288555c

2 files changed

Lines changed: 11 additions & 1 deletion

File tree

‎.github/workflows/gh-pages.yml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
- name: Setup Hugo
1919
uses: peaceiris/actions-hugo@2752ce1d29631191ea3f27c23495fa06139a5b78 # v3.2.1
2020
with:
21-
hugo-version: '0.164.0'
21+
hugo-version: '0.165.0'
2222
extended: true
2323
- uses: pnpm/action-setup@0e279bb959325dab635dd2c09392533439d90093 # v6.0.8
2424
- uses: actions/setup-node@48b55a011bda9f5d6aeb4c2d9c7362e8dae4041e # v6.4.0

‎config/_default/hugo.yaml‎

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,16 @@ security:
2222
allowContent:
2323
- ^text/html$
2424
- ^text/markdown$
25+
# Hugo 0.165 dropped tailwindcss from the default exec allowlist. This key replaces
26+
# the defaults, so repeat them and add our own trusted Tailwind build back in.
27+
exec:
28+
allow:
29+
- ^(dart-)?sass$
30+
- ^go$
31+
- ^git$
32+
- ^node$
33+
- ^postcss$
34+
- ^tailwindcss$
2535

2636
build:
2737
cachebusters:

0 commit comments

Comments
 (0)