Source code for the PyCon Ireland conference website. This repository is the shared base for every edition of the conference: the 2026 edition (21 November 2026, Dublin) has just taken place, and the 2027 edition will be built and published from the same code.
Each edition lives on its own branch and is deployed to its own Netlify site and subdomain.
| Edition | Branch | URL | Status |
|---|---|---|---|
| 2026 | 2026 |
https://2026.pycon.ie/ | Archived (event over) |
| 2027 | main, then 2027 |
https://2027.pycon.ie/ | In preparation |
mainholds the shared code (templates, partials, styles, scripts, CI) and the edition currently being prepared.- One branch per edition (
2026,2027, ...) freezes the site of that year. It keeps receiving small edition-specific updates (post-event thank-you, photos, videos) after the conference. - Generic fixes and improvements go to
mainfirst, then are cherry-picked into an edition branch when that site needs them.
| File | Edition-specific content |
|---|---|
hugo.toml |
baseURL, event dates (eventStartDate / eventEndDate), venue, sessionizeApiUrl, ticketsUrl, hero text |
mise.toml |
NETLIFY_SITE_ID of the edition's Netlify site |
data/*.yml |
Sponsors, organising team, "Discover Dublin" content |
content/ |
Blog posts, CFP, venue, about pages |
assets/img/, static/img/ |
Hero image, OG image, venue photos |
content/credits.md |
Photo and image attribution |
- Create the edition branch from
main(for examplegit switch -c 2027 main) once the site is ready to go live, or keep working onmainuntil then. - Create a new Netlify site for the edition and set its id in
mise.toml(NETLIFY_SITE_ID). - Point the
<year>.pycon.iesubdomain to that Netlify site. - While the edition is not confirmed, keep
editionStatus = "planning"inhugo.toml: the homepage says the edition is in preparation, no date, venue, tickets or Event structured data are shown, the menu only keeps entries markedplanning = true, and the programme sections are not built ([[cascade]]block at the end ofhugo.toml). To announce the edition, seteditionStatus = "announced"and remove that[[cascade]]block. - In
hugo.toml, updatebaseURL,title,edition(the year shown in the hero and badges), the event dates (Dublin is on GMT+00:00in November, IST+01:00in summer), the venue, and the Sessionize and Tito URLs of the new event. - Reset edition content: sponsors in
data/sponsors.yml, blog posts incontent/blog/, CFP dates. If the venue changes, rewrite the venue-specific text inlayouts/venue/list.htmlandlayouts/partials/venue-home.html(transport, parking, accessibility). - Replace images and update
content/credits.mdaccordingly.
- Hugo v0.170.1 (extended): static site generator
- Tailwind CSS v4: via Hugo's native
css.TailwindCSSpipe (no PostCSS or external build tools needed) - Inter (Google Fonts) for body text, Bree (Adobe Fonts) for brand headings
- Sessionize: speakers, sessions and schedule (embedded widgets plus JSON fetched at build time)
- Tito: ticket sales (widget plus prices fetched at build time)
- Vanilla JS: mobile menu and anchor scrolling only, no frameworks
Hugo processes Tailwind CSS natively through its asset pipeline. The hugo_stats.json file (generated by Hugo's buildStats) tracks CSS class usage across templates, enabling Tailwind to tree-shake unused styles. CSS rendering is deferred via templates.Defer to ensure all classes are captured before processing.
- Hugo Extended >= 0.170.1
- Node.js >= 20
- Python 3.13 (only for the helper scripts in
scripts/)
If you use mise, Hugo and Python are pinned in mise.toml.
npm install # install Tailwind CSS
hugo server # start dev server with live reloadOpen http://localhost:1313/ in your browser.
hugo --minifyOutput goes to public/. CSS is minified and fingerprinted automatically in production builds.
├── hugo.toml # Site config, menus, params (edition-specific)
├── mise.toml # Tool versions and Netlify site id (edition-specific)
├── netlify.toml # Netlify build settings
├── csp-dynamic-loaders.yml # Runtime loaders for the CSP checker
├── assets/
│ ├── css/main.css # Tailwind v4 entry + theme tokens
│ └── img/ # Processed images (hero, ...)
├── content/ # Markdown content pages
│ ├── _index.md # Homepage
│ ├── about/ # About Python Ireland
│ ├── blog/ # Blog posts
│ ├── cfp/ # Call for Proposals
│ ├── code-of-conduct/ # Code of Conduct
│ ├── credits.md # Photo & image attribution
│ ├── dublin/ # Discover Dublin section
│ ├── grid/ # Schedule grid (Sessionize widget)
│ ├── schedule/ # Schedule (Sessionize widget)
│ ├── speakers/ # Speakers (Sessionize widget)
│ ├── sponsors/
│ ├── terms-and-conditions/
│ └── venue/
├── data/ # YAML data files
│ ├── sponsors.yml # Sponsor tiers
│ ├── team.yml # Organising team
│ ├── site.yml # About section content
│ └── dublin.yml # Discover Dublin (gallery, highlights, transport)
├── layouts/
│ ├── _default/ # Base and fallback templates
│ ├── partials/ # Reusable components, Sessionize/Tito data, JSON-LD
│ └── <section>/ # One folder per section template
├── scripts/ # check-csp.py, convert-images.py
└── static/
├── _headers # Netlify security headers (CSP)
└── img/ # Images, logo, favicon
Speakers, sessions and schedule: managed in Sessionize. The embedded widgets update on their own; trigger a new deploy so the JSON-LD structured data (built from sessionizeApiUrl) picks up the changes.
Tickets: managed in Tito. Ticket names, prices and sale state are fetched at build time; redeploy after a change.
Sponsors: edit data/sponsors.yml. Sponsors are grouped by tier (Platinum, Gold, Silver, Community).
Blog posts: add a Markdown file in content/blog/:
---
title: "Post Title"
date: 2026-03-01
description: "Short description."
---
Post content here.Images: always add the attribution to content/credits.md.
- Dependabot (
.github/dependabot.yml): npm packages (Tailwind) and GitHub Actions, weekly onmain. - Renovate (
renovate.json): the Hugo version, which Dependabot cannot read.mise.tomlandnetlify.tomlare bumped together in a single PR, weekly onmain. Requires the Renovate GitHub App on the repository.
Edition branches (2026, ...) are not updated automatically: cherry-pick from main when needed.
Dark theme with Python brand colours as accents:
| Token | Colour | Usage |
|---|---|---|
py-blue |
#306998 |
Primary accent, buttons, links |
py-yellow |
#FFD43B |
Secondary accent, highlights |
bg-primary |
#0f1117 |
Page background |
bg-card |
#1a1d2e |
Card surfaces |
Theme tokens are defined in assets/css/main.css using Tailwind v4's @theme directive.
Each edition is deployed by Netlify to its own site (see Editions). Settings live in netlify.toml:
- Build command:
npm install && hugo --minify - Publish directory:
public/ - Hugo 0.170.1, Node 22,
TZ=Europe/Dublin
The Netlify CLI picks the right site from NETLIFY_SITE_ID in mise.toml, so no netlify link is needed.
Security headers, including the CSP, are defined in static/_headers. When adding a third-party script, stylesheet or font, add its domain to the CSP and run:
python scripts/check-csp.py --verboseThe same check runs in CI (.github/workflows/csp-check.yml) on pull requests touching layouts/, static/_headers or csp-dynamic-loaders.yml.