git submodule add -b main https://github.com/nunocoracao/blowfish.git themes/blowfish
In development mode, drafts are served
docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:latest serve -D
docker run --rm -it -v $(pwd):/src -p 1313:1313 klakegg/hugo:latest
cd themes/blowfish
git checkout [VERSION/TAG/COMMIT]
cd ../..
git add themes/blowfish
git commit
- 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"}
]
}
- Add key to event pages front matter
authors:
- "lian"
-
Create event page
hugo new events/<event-slug>/index.md
-
Add hero image as
events/<event-slug>/feature*