1
0
mirror of https://github.com/simon987/recipes.simon987.net.git synced 2025-04-10 22:26:45 +00:00

17 lines
213 B
Bash
Executable File

#!/usr/bin/env bash
hugo new --kind recipe recipes/"$1"
curl "$2" > /tmp/tmpimg
convert /tmp/tmpimg content/recipes/"$1"/images/image.jpg
hugo server &
vim content/recipes/"$1"/index.md
kill %1
git status