Updating the Website
How the PyLadies Vancouver website is built and edited.
The site is a Hugo project using the Hinode theme, in our GitHub repo . Changes go through a pull request and deploy automatically via Netlify once merged.
Blog posts live in content/blog/ as Markdown files with front matter (title, author,
date, description, tags, thumbnail). Event photos and banner images go in assets/img/.
A post’s thumbnail banner is cropped to different aspect ratios in different places, so
export it at 21:9, ideally 2800x1200 pixels (the largest size the site renders), and
keep the important content (text, logos, faces) centered so nothing gets cut off:
A 21:9 image with centered content looks good in all three.
Build locally with the Hugo version the theme is pinned to: the newer Homebrew Hugo can break the Hinode theme. Run the local dev server, check your changes, then open a pull request.
Upcoming events are pulled live from our Luma calendar, which is embedded on the Events Page and the homepage. Once an event is published on Luma it appears on the site automatically, with no code change needed per event.