aboutsummaryrefslogtreecommitdiffhomepage
path: root/testscripts/commands/new_content.txt
diff options
context:
space:
mode:
authorBjørn Erik Pedersen <[email protected]>2023-08-30 11:05:15 +0200
committerBjørn Erik Pedersen <[email protected]>2023-08-30 16:39:06 +0300
commit94fbab2a8865737c8fb7fe1469215a688ba21314 (patch)
tree3ca1a9b6f9cfa7360842633e905f69a7c39b70ea /testscripts/commands/new_content.txt
parentc3f273b2d7b18f921410cde6e01442694cda5fe7 (diff)
downloadhugo-94fbab2a8865737c8fb7fe1469215a688ba21314.tar.gz
hugo-94fbab2a8865737c8fb7fe1469215a688ba21314.zip
Delay the creation of cache directories until they're used
Fixes #11390
Diffstat (limited to 'testscripts/commands/new_content.txt')
-rw-r--r--testscripts/commands/new_content.txt7
1 files changed, 7 insertions, 0 deletions
diff --git a/testscripts/commands/new_content.txt b/testscripts/commands/new_content.txt
new file mode 100644
index 000000000..217058353
--- /dev/null
+++ b/testscripts/commands/new_content.txt
@@ -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
+
+