summaryrefslogblamecommitdiffstats
path: root/import
blob: e399f96eca8e46910ed0f04b434e944c79b134e7 (plain) (tree)
1
2
3
4
5
6
7






                               
#!/usr/bin/zsh
echo "importing $1..."
slug=${1:t:r}
echo "Post: ${slug}"
path="content/blog/${slug}"
/usr/bin/mkdir ${path}
/usr/bin/cp $1 ${path}/index.md