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