mirror of
https://github.com/newnius/Dockerfiles.git
synced 2026-03-23 11:05:07 +00:00
add hugo
This commit is contained in:
8
hugo/bootstrap.sh
Executable file
8
hugo/bootstrap.sh
Executable 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
|
||||
Reference in New Issue
Block a user