Delay the creation of cache directories until they're used

Fixes #11390
This commit is contained in:
Bjørn Erik Pedersen 2023-08-30 11:05:15 +02:00
parent c3f273b2d7
commit 94fbab2a88
3 changed files with 46 additions and 4 deletions

View file

@ -0,0 +1,7 @@
hugo new site myblog
cd myblog
hugo new content --kind post post/first-post.md
! exists resources
grep 'draft = true' content/post/first-post.md