mirror of
https://github.com/gohugoio/hugo.git
synced 2025-08-08 19:36:36 +02:00
Make sure resources directory isn't created in hugo new theme
Fixes #11382
This commit is contained in:
@@ -16,11 +16,13 @@ exists i18n
|
||||
exists layouts
|
||||
exists static
|
||||
exists themes
|
||||
! exists resources
|
||||
|
||||
hugo new theme -h
|
||||
stdout 'Create a new theme \(skeleton\) called \[name\] in ./themes'
|
||||
hugo new theme mytheme
|
||||
stdout 'Creating new theme'
|
||||
! exists resources
|
||||
cd themes
|
||||
cd mytheme
|
||||
checkfile archetypes/default.md
|
Reference in New Issue
Block a user