From 0fad98da18673985c367a79741084a8da8d2aa99 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Fri, 5 Jun 2026 08:14:05 +0200 Subject: [PATCH 1/2] refactor(cfp): use .Site.Title variable instead of hardcoded conference name in H1 --- layouts/cfp/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/cfp/list.html b/layouts/cfp/list.html index ec11033..9f5b9f1 100644 --- a/layouts/cfp/list.html +++ b/layouts/cfp/list.html @@ -34,7 +34,7 @@ {{ end }}

- PyCon Ireland 2026 Call for Proposals + {{ .Site.Title }} Call for Proposals

PyCon Ireland is looking for speakers. Share your Python knowledge, inspire the community, and take the stage at Trinity College Dublin on 17 October 2026. From 0d5eafabd87844f4690ccc6c3fc7065ece4675ca Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Wirtel?= Date: Fri, 5 Jun 2026 08:18:25 +0200 Subject: [PATCH 2/2] refactor(templates): replace hardcoded conference name and date with 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 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 --- layouts/cfp/list.html | 10 +++++----- layouts/partials/head.html | 2 +- layouts/partials/hero.html | 2 +- layouts/partials/key-questions.html | 6 +++--- layouts/partials/tickets.html | 2 +- layouts/partials/venue-home.html | 2 +- layouts/venue/list.html | 6 +++--- 7 files changed, 15 insertions(+), 15 deletions(-) diff --git a/layouts/cfp/list.html b/layouts/cfp/list.html index 9f5b9f1..9f5e1c3 100644 --- a/layouts/cfp/list.html +++ b/layouts/cfp/list.html @@ -37,7 +37,7 @@ <h1 class="text-4xl sm:text-5xl font-bold text-text-heading mb-6 font-brand"> {{ .Site.Title }} Call for Proposals </h1> <p class="text-xl text-text-secondary max-w-2xl mx-auto mb-8"> - PyCon Ireland is looking for speakers. Share your Python knowledge, inspire the community, and take the stage at <strong class="text-text-primary">Trinity College Dublin</strong> on <strong class="text-text-primary">17 October 2026</strong>. + PyCon Ireland is looking for speakers. Share your Python knowledge, inspire the community, and take the stage at <strong class="text-text-primary">{{ .Site.Params.venue }}</strong> on <strong class="text-text-primary">{{ .Site.Params.dateHuman }}</strong>. </p> {{/* CFP dates */}} @@ -335,7 +335,7 @@ <h3 class="text-lg font-bold text-text-heading mb-3">Financial aid available</h3 {{ if eq .Site.Params.cfpStatus "open" }} <h2 class="text-2xl font-bold text-text-heading mb-4">Ready to Submit?</h2> <p class="text-text-secondary mb-8 leading-relaxed"> - We look forward to your submissions and can't wait to see the incredible talks you'll bring to PyCon Ireland 2026! + We look forward to your submissions and can't wait to see the incredible talks you'll bring to {{ .Site.Title }}! </p> <a href="{{ .Site.Params.cfpUrl }}" target="_blank" rel="noopener" class="inline-flex items-center gap-2 bg-py-yellow hover:bg-py-yellow-light text-bg-primary font-bold px-8 py-4 rounded-xl text-lg transition-colors"> @@ -379,7 +379,7 @@ <h2 class="text-2xl font-bold text-text-heading mb-4">Stay in the Loop</h2> "mainEntity": [ { "@type": "Question", - "name": "Who should submit a talk to PyCon Ireland 2026?", + "name": "Who should submit a talk to {{ .Site.Title }}?", "acceptedAnswer": { "@type": "Answer", "text": "Anyone with Python experience is welcome to submit — from first-time presenters to conference veterans. Topics include Python, data science, AI engineering, scientific computing, and real-world Python use cases." @@ -387,7 +387,7 @@ <h2 class="text-2xl font-bold text-text-heading mb-4">Stay in the Loop</h2> }, { "@type": "Question", - "name": "Do speakers need to buy a ticket for PyCon Ireland 2026?", + "name": "Do speakers need to buy a ticket for {{ .Site.Title }}?", "acceptedAnswer": { "@type": "Answer", "text": "Yes, all accepted speakers are required to purchase a conference ticket. Financial aid is available on request for those who need it." @@ -395,7 +395,7 @@ <h2 class="text-2xl font-bold text-text-heading mb-4">Stay in the Loop</h2> }, { "@type": "Question", - "name": "When does the PyCon Ireland 2026 Call for Proposals close?", + "name": "When does the {{ .Site.Title }} Call for Proposals close?", "acceptedAnswer": { "@type": "Answer", "text": "The Call for Proposals closes on 31 July 2026. Submissions are reviewed by the programme committee and applicants are notified of the outcome." diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 47404e8..7dce4d8 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,6 +1,6 @@ <meta charset="utf-8"> <meta name="viewport" content="width=device-width, initial-scale=1"> -<title>{{ if .IsHome }}PyCon Ireland 2026 — Python Conference · Dublin, 17 October{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} +{{ if .IsHome }}{{ .Site.Title }} — Python Conference · Dublin, {{ dateFormat "2 January" (time .Site.Params.eventStartDate) }}{{ else }}{{ .Title }} | {{ .Site.Title }}{{ end }} diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html index 0f4dce3..0b5f7b5 100644 --- a/layouts/partials/hero.html +++ b/layouts/partials/hero.html @@ -41,7 +41,7 @@

PyCon Ireland diff --git a/layouts/partials/key-questions.html b/layouts/partials/key-questions.html index a91bc14..55ec34f 100644 --- a/layouts/partials/key-questions.html +++ b/layouts/partials/key-questions.html @@ -1,13 +1,13 @@
-

When and where is PyCon Ireland 2026?

+

When and where is {{ .Site.Title }}?

- PyCon Ireland 2026 takes place on {{ .Site.Params.dateHuman }} + {{ .Site.Title }} takes place on {{ .Site.Params.dateHuman }} at {{ .Site.Params.venue }}, College Green, Dublin 2, Ireland. It is a single-day, multi-track conference organised by Python Ireland, a not-for-profit community organisation.

{{ if eq .Site.Params.cfpStatus "open" }} -

How do I submit a talk to PyCon Ireland 2026?

+

How do I submit a talk to {{ .Site.Title }}?

The Call for Proposals is open until {{ dateFormat "2 January 2006" .Site.Params.cfpCloses }}. All experience levels are welcome, from first-time presenters to conference veterans. diff --git a/layouts/partials/tickets.html b/layouts/partials/tickets.html index 6468a68..f61dc6d 100644 --- a/layouts/partials/tickets.html +++ b/layouts/partials/tickets.html @@ -3,7 +3,7 @@

Tickets

- Secure your spot at PyCon Ireland 2026. Early bird pricing available for a limited time. + Secure your spot at {{ .Site.Title }}. Early bird pricing available for a limited time.

diff --git a/layouts/partials/venue-home.html b/layouts/partials/venue-home.html index e6306e4..0830c80 100644 --- a/layouts/partials/venue-home.html +++ b/layouts/partials/venue-home.html @@ -7,7 +7,7 @@

{{ .Site.Params.venue

Trinity College Dublin is one of Ireland's most iconic universities, located in the heart of Dublin city centre. Its historic campus provides a stunning setting - for PyCon Ireland 2026. + for {{ .Site.Title }}.

diff --git a/layouts/venue/list.html b/layouts/venue/list.html index 7cd9cb8..756806e 100644 --- a/layouts/venue/list.html +++ b/layouts/venue/list.html @@ -22,7 +22,7 @@

-

PyCon Ireland 2026

+

{{ .Site.Title }}

{{ .Site.Params.venue }}

@@ -53,7 +53,7 @@

About the Venue

Trinity College Dublin is Ireland's oldest and most prestigious university, founded in 1592 and located in the heart of Dublin city centre.

- With its stunning historic campus and excellent facilities, TCD provides the perfect environment for PyCon Ireland 2026. + With its stunning historic campus and excellent facilities, TCD provides the perfect environment for {{ .Site.Title }}.

@@ -126,7 +126,7 @@

Nearby Accommodation

Accessibility

- We are committed to making PyCon Ireland 2026 accessible to everyone. + We are committed to making {{ .Site.Title }} accessible to everyone. If you have specific requirements, please contact us in advance.