mirror of
https://github.com/newnius/Dockerfiles.git
synced 2025-12-16 02:46:45 +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