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