fix new script

This commit is contained in:
Greg Gauthier 2023-07-21 21:03:26 +01:00
parent 09501cdde8
commit c4f8bda27f

6
new
View File

@ -39,7 +39,7 @@ fi
tmp=${title// /-} tmp=${title// /-}
filename=${tmp,,} filename=${tmp,,}
echo $filename echo "$filename"
hugo new ${contentType}/${filename}.md hugo new "${contentType}"/"${filename}".md
$ED content/${contentType}/${filename}.md $ED content/"${contentType}"/"${filename}".md