blog/sh.sh

8 lines
112 B
Bash
Raw Permalink Normal View History

2024-12-22 15:22:04 +03:00
# Hugo new post
hnp() {
hugo new posts/$1.md
$EDITOR content/posts/$1.md
}
2024-12-22 15:44:34 +03:00
echo Use the "'hnp <postname>'"