A monkeybox website done in hugo
|
1 year ago | |
---|---|---|
archetypes | 2 years ago | |
archive | 1 year ago | |
content | 1 year ago | |
layouts | 1 year ago | |
static | 1 year ago | |
themes | 2 years ago | |
.gitignore | 2 years ago | |
.gitmodules | 2 years ago | |
README.md | 1 year ago | |
config.toml | 1 year ago | |
deploy | 1 year ago |
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