This commit is contained in:
2019-11-23 20:28:15 +08:00
parent b677d7f0da
commit e9b0ca3b9b
3 changed files with 66 additions and 0 deletions

8
hugo/bootstrap.sh Executable file
View File

@@ -0,0 +1,8 @@
#!/bin/sh
# init hugo if dir is empty
if ! [ "$(ls -A /blog )" ]; then
hugo new site /blog
fi
hugo server --bind 0.0.0.0