Skip to content

refactor(templates): replace hardcoded conference name and date with Hugo variables#140

Merged
matrixise merged 2 commits into
mainfrom
worktree-feat+seo-cfp-h1-keyword
Jun 5, 2026
Merged

refactor(templates): replace hardcoded conference name and date with Hugo variables#140
matrixise merged 2 commits into
mainfrom
worktree-feat+seo-cfp-h1-keyword

Conversation

@matrixise

Copy link
Copy Markdown
Contributor

Summary

Replace all hardcoded occurrences of PyCon Ireland 2026, 17 October 2026, and Trinity College Dublin in layout files with the corresponding Hugo variables from hugo.toml.

Variable Value
.Site.Title PyCon Ireland 2026
.Site.Params.dateHuman 17 October 2026
.Site.Params.venue Trinity College Dublin
dateFormat "2 January" (time .Site.Params.eventStartDate) 17 October

Files changed

  • partials/head.html: homepage <title> tag
  • partials/hero.html: aria-label
  • partials/venue-home.html: body text
  • partials/tickets.html: section intro paragraph
  • partials/key-questions.html: H2 headings and body text
  • venue/list.html: eyebrow label, body text, accessibility section
  • cfp/list.html: hero paragraph, closing CTA, FAQ JSON-LD question strings

Test plan

  • Verify homepage title still renders as "PyCon Ireland 2026 — Python Conference · Dublin, 17 October"
  • Verify CFP hero paragraph and FAQ questions render correctly
  • Verify venue page eyebrow and accessibility section render correctly

🤖 Generated with Claude Code

matrixise added 2 commits June 5, 2026 08:14
…Hugo variables

Replace all occurrences of hardcoded 'PyCon Ireland 2026', '17 October 2026',
and 'Trinity College Dublin' in layout files with .Site.Title,
.Site.Params.dateHuman, and .Site.Params.venue from hugo.toml.

Files updated:
- partials/head.html: homepage <title> tag
- partials/hero.html: aria-label
- partials/venue-home.html: body text
- partials/tickets.html: section intro
- partials/key-questions.html: H2 headings and body text
- venue/list.html: eyebrow label, body text, accessibility section
- cfp/list.html: hero paragraph, closing CTA, FAQ JSON-LD questions
@netlify

netlify Bot commented Jun 5, 2026

Copy link
Copy Markdown

Deploy Preview for pycon-ireland-2026 ready!

Name Link
🔨 Latest commit 0d5eafa
🔍 Latest deploy log https://app.netlify.com/projects/pycon-ireland-2026/deploys/6a226a3fdaac260008c143ee
😎 Deploy Preview https://deploy-preview-140--pycon-ireland-2026.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@matrixise matrixise merged commit 9b18e82 into main Jun 5, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant