A monkeybox website done in hugo
|
hai 1 ano | |
---|---|---|
archetypes | %!s(int64=2) %!d(string=hai) anos | |
content | hai 1 ano | |
layouts | hai 1 ano | |
themes | %!s(int64=2) %!d(string=hai) anos | |
.gitignore | %!s(int64=2) %!d(string=hai) anos | |
.gitmodules | %!s(int64=2) %!d(string=hai) anos | |
README.md | hai 1 ano | |
config.toml | hai 1 ano | |
deploy | hai 1 ano |
Hugo is an easy way to deploy static websites.
There are a lot of themes, though they don't quite seem as drop-in as one would hope.
Anyhow, this will create the site and deploy to s3.
# Installing
git clone ssh://git@git.monkeybox.org:2222/AWS/www.monkeybox.org_hugo.git
cd www.monkeybox.org_hugo
git submodule init
git submodule update
# Hosting / testing via hugo.monkeybox.org:
hugo # Generate content
hugo -D # Generate content with draft content
hugo server -D # locally host a server including draft posts
hugo deploy # Copy generated content to s3
# Hosting on home k8s
./deploy
# Modifying
hugo new home/<topic>.md # Create a new page under content/en/home/<topic>.md