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