blog/sh.sh
2024-12-22 17:44:34 +05:00

7 lines
112 B
Bash

# Hugo new post
hnp() {
hugo new posts/$1.md
$EDITOR content/posts/$1.md
}
echo Use the "'hnp <postname>'"