Files
website/post.sh
T
2025-05-12 10:56:15 +02:00

12 lines
219 B
Bash
Executable File

#!/bin/bash
POSTNAME=$1
if [[ -z $1 ]]; then
echo "needs argument: postname"
fi
hugo new content content/posts/${$POSTNAME}.md
echo "Create content/posts/${$POSTNAME}.md. Remember to set the draft flag correctly!"