Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions CLAUDE.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ npm run build # Alias
## Tool Versions

Managed via `mise.toml`:
- Hugo: 0.161.1
- Hugo: 0.170.1
- Python: 3.13.11

## Architecture
Expand Down Expand Up @@ -74,7 +74,7 @@ Conference content is stored in **YAML data files** (`data/*.yml`), not Markdown
**`data/dublin.yml`**
- "Discover Dublin" section: intro text, gallery images, highlights (attractions), transport options
- Structure: `intro`, `gallery[]`, `highlights[]`, `transport[]`
- Accessed: `.Site.Data.dublin`
- Accessed: `hugo.Data.dublin`

**Why data files?** Allows non-technical team members to update content without touching templates. Enables programmatic manipulation and structured data generation.

Expand Down Expand Up @@ -338,7 +338,7 @@ The Bree brand font (Adobe Fonts / Typekit) stopped loading in production becaus

- `hugo.toml` — All site configuration and parameters
- `mise.toml` — Tool version pinning (Hugo, Python)
- `netlify.toml` — Netlify build config (Hugo 0.161.1, Node 22, TZ Europe/Dublin)
- `netlify.toml` — Netlify build config (Hugo 0.170.1, Node 22, TZ Europe/Dublin)
- `assets/css/main.css` — Design system tokens and custom CSS
- `assets/img/hero.jpg` — Homepage hero image
- `layouts/partials/head.html` — Meta tags, OG tags, favicon, structured data inclusion
Expand All @@ -354,7 +354,7 @@ The Bree brand font (Adobe Fonts / Typekit) stopped loading in production becaus
Deployed via **Netlify** (not GitHub Pages). Configuration in `netlify.toml`:
- Build command: `npm install && hugo --minify`
- Publish dir: `public/`
- Hugo version: 0.161.1 / Node: 22 / TZ: Europe/Dublin
- Hugo version: 0.170.1 / Node: 22 / TZ: Europe/Dublin
- Production env: `HUGO_ENV=production`
- Footer displays build date and commit SHA on Netlify deployments

Expand Down
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ Conference website for PyCon Ireland 2026, 21 November in Dublin's city centre.

## Tech Stack

- **[Hugo](https://gohugo.io/) v0.161.1** (extended) — static site generator
- **[Hugo](https://gohugo.io/) v0.170.1** (extended) — static site generator
- **[Tailwind CSS](https://tailwindcss.com/) v4** — via Hugo's native `css.TailwindCSS` pipe (no PostCSS or external build tools needed)
- **Inter** — Google Fonts sans-serif typeface
- **Vanilla JS** — mobile menu toggle only, no frameworks
Expand All @@ -13,7 +13,7 @@ Hugo processes Tailwind CSS natively through its asset pipeline. The `hugo_stats

## Prerequisites

- [Hugo Extended](https://gohugo.io/installation/) >= 0.161.1
- [Hugo Extended](https://gohugo.io/installation/) >= 0.170.1
- [Node.js](https://nodejs.org/) >= 20

If you use [mise](https://mise.jdx.dev/), Hugo is configured in `mise.toml`.
Expand Down
4 changes: 4 additions & 0 deletions hugo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,10 @@ enableGitInfo = true
target = "css"

[security]
# Hugo >= 0.165 no longer allows tailwindcss by default (gohugoio/hugo#15178).
# Re-add it to the default list; we own the templates that drive it.
[security.exec]
allow = ['^(dart-)?sass$', '^go$', '^git$', '^node$', '^postcss$', '^tailwindcss$']
[security.funcs]
getenv = ['^HUGO_', '^CI$', '^COMMIT_REF$', '^DEPLOY_ID$']

Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/about.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2 class="text-3xl sm:text-4xl font-bold text-text-heading mb-4">What is PyCon
</div>

<div class="grid grid-cols-1 md:grid-cols-2 gap-8">
{{ range $i, $item := where .Site.Data.site.about "disabled" "!=" true }}
{{ range $i, $item := where hugo.Data.site.about "disabled" "!=" true }}
<div class="bg-bg-card rounded-2xl overflow-hidden card-glow transition-all duration-300 hover:-translate-y-1">
{{ if $item.image }}
<div class="h-52 overflow-hidden">
Expand Down
2 changes: 1 addition & 1 deletion layouts/partials/sponsors-home.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ <h2 class="text-3xl sm:text-4xl font-bold text-text-heading mb-4">Our Sponsors</
</div>

{{/* Show top two tiers on homepage */}}
{{ range first 2 .Site.Data.sponsors.tiers }}
{{ range first 2 hugo.Data.sponsors.tiers }}
<div class="mb-12">
<h3 class="text-center text-sm font-semibold uppercase tracking-widest text-text-secondary mb-8">{{ .name }} Sponsors</h3>
<div class="flex flex-wrap justify-center items-center gap-8">
Expand Down
2 changes: 1 addition & 1 deletion layouts/sponsors/list.html
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ <h1 class="text-4xl sm:text-5xl font-extrabold text-text-heading mb-4">{{ .Title
{{/* Sponsor tiers */}}
<section class="py-16">
<div class="max-w-7xl mx-auto px-4 sm:px-6 lg:px-8">
{{ range .Site.Data.sponsors.tiers }}
{{ range hugo.Data.sponsors.tiers }}
{{ if .sponsors }}
<div class="mb-16 last:mb-0">
<h2 class="text-center text-sm font-semibold uppercase tracking-widest text-text-secondary mb-8">
Expand Down
2 changes: 1 addition & 1 deletion mise.toml
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
[tools]
hugo = "0.161.1"
hugo = "0.170.1"
python = "3.13.11"

[env]
Expand Down
2 changes: 1 addition & 1 deletion netlify.toml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
publish = "public"

[build.environment]
HUGO_VERSION = "0.161.1"
HUGO_VERSION = "0.170.1"
NODE_VERSION = "22"
TZ = "Europe/Dublin"

Expand Down
Loading