Skip to content

Latest commit

 

History

History
51 lines (40 loc) · 1.05 KB

README.md

File metadata and controls

51 lines (40 loc) · 1.05 KB

Kuberoke Website

Development

Initialise theme

git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish

Run local dev server

In development mode, drafts are served docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:latest serve -D

Build page once

docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:latest

Update theme

cd themes/blowfish
git checkout [VERSION/TAG/COMMIT]
cd ../..
git add themes/blowfish
git commit

Adding content

New author

  1. Create json file in data/authors/, the filename is the author's key
{
    "name": "Lian",
    "image" : "img/avatars/lian.png",
    "bio": "Chief Karaoke Officer",
    "social": [
        { "twitter": "https://twitter.com/lianmakesthings" },
        { "mastodon": "https://hachyderm.io/@lianmakesthings"}
    ]
}
  1. Add key to event pages front matter
authors:
  - "lian"

New Kuberoke event

  1. Create event page hugo new events/<event-slug>/index.md

  2. Add hero image as events/<event-slug>/feature*