Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
84a7173
fix: Remove hidden booking sections from search
MoritzWeber0 Apr 18, 2026
6833577
fix: New section scoping of booking footnotes
MoritzWeber0 Apr 18, 2026
b2e77e6
refactor: Move booking related partials to booking folder
MoritzWeber0 Apr 18, 2026
fa92be3
fix: Add section gap again
MoritzWeber0 Apr 18, 2026
9190ff6
fix: Remove booking page rendering
MoritzWeber0 Apr 18, 2026
372af2c
fix: Remove booking platform descriptions
MoritzWeber0 Apr 21, 2026
c09dc20
Merge branch 'main' into fix/search-hidden-booking-sections
MoritzWeber0 Apr 21, 2026
920a32b
Merge branch 'main' into fix/search-hidden-booking-sections
MoritzWeber0 Apr 24, 2026
bfd77c8
feat: Update archetype and Euskotren
MoritzWeber0 Apr 24, 2026
be63783
feat: Change to raw rendering for booking pages
MoritzWeber0 Apr 25, 2026
cd6b4b9
Merge remote-tracking branch 'origin/main' into fix/search-hidden-boo…
MoritzWeber0 Apr 25, 2026
55ef99e
feat: Add general booking section
MoritzWeber0 Apr 25, 2026
f826006
fix: Remove sources headings from all booking pages
MoritzWeber0 Apr 25, 2026
320541d
fix: Footnote rendering
MoritzWeber0 Apr 25, 2026
8789aca
feat: Improve expander handling in search
MoritzWeber0 Apr 24, 2026
a67d1aa
fix: Apply pagefind-ignore on raw content for headings
MoritzWeber0 Apr 26, 2026
a687946
feat: Add increase-headings for booking expanders
MoritzWeber0 Apr 26, 2026
cba82d7
fix: Live-reloading of operator pages when booking page changes
MoritzWeber0 Apr 27, 2026
bf98d42
feat: Make use of the .RenderShortcode function
MoritzWeber0 Apr 27, 2026
692ef68
feat: Add custom render heading hook
MoritzWeber0 Apr 27, 2026
bc53594
Merge branch 'main' into fix/search-hidden-booking-sections
MoritzWeber0 Apr 27, 2026
0203990
revert: Archetype changes
MoritzWeber0 Apr 27, 2026
60dc189
refactor: Move transformations to separate folder in partials
MoritzWeber0 Apr 27, 2026
f232cd5
revert: Move sources outside of booking sections
MoritzWeber0 Apr 27, 2026
5a24fba
refactor: Move content into separate section
MoritzWeber0 Apr 27, 2026
b09ee75
fix: Remove booking title from search
MoritzWeber0 Apr 27, 2026
de913ae
fix: Change ffestiniog feedback to source
MoritzWeber0 Apr 27, 2026
2574591
fix: Limit gap between booking sections
MoritzWeber0 Apr 27, 2026
2edc2ce
feat: Add copy button to expanders
MoritzWeber0 Apr 27, 2026
9bcf07c
fix: Add missing file
MoritzWeber0 Apr 27, 2026
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
14 changes: 11 additions & 3 deletions assets/js/anchorlinks.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
function initAnchorlinkEventListener() {
const anchorLinks = document.querySelectorAll(".a-anchorlink__link");
const anchorLinks = document.querySelectorAll(
".a-anchorlink__link, .a-anchorlink__button",
);
const snackbar = document.getElementById("snackbar");
const snackbarButton = document.getElementById("snackbar-button");

Expand Down Expand Up @@ -38,12 +40,18 @@ function closeSnackbar() {
}

if (document.readyState === "interactive") {
if (document.querySelectorAll(".a-anchorlink__link").length) {
if (
document.querySelectorAll(".a-anchorlink__link, .a-anchorlink__button")
.length
) {
initAnchorlinkEventListener();
}
} else {
window.addEventListener("DOMContentLoaded", () => {
if (document.querySelectorAll(".a-anchorlink__link").length) {
if (
document.querySelectorAll(".a-anchorlink__link, .a-anchorlink__button")
.length
) {
initAnchorlinkEventListener();
}
});
Expand Down
6 changes: 6 additions & 0 deletions assets/sass/anchorlink.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,12 @@
}
}

.a-anchorlink__button {
@media print {
display: none;
}
}

.a-snackbar {
position: fixed;
bottom: 0;
Expand Down
30 changes: 20 additions & 10 deletions assets/sass/booking.scss
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,10 @@
gap: 0.6rem;
margin-top: 0.4rem;

&:empty {
margin-top: 0;
}

@media (max-width: #{$breakpoint-md}) {
&:empty {
display: none;
Expand All @@ -86,18 +90,24 @@
}
}

@mixin booking_section($name) {
&-#{$name}--hidden &-#{$name} {
display: none;
}
.o-booking__info {
margin-bottom: 1.5rem;
}

.o-booking__section {
@include booking_section("fip_50");
@include booking_section("fip_global_fare");
@include booking_section("reservations");
.o-booking__sections > .o-booking__section:not(:first-child) {
margin-top: 1rem;
}

.o-booking__info {
margin-bottom: 1.5rem;
.o-booking__content {
h4 {
@extend %h3;
}

h5 {
@extend %h4;
}

h6 {
@extend %h5;
}
}
5 changes: 1 addition & 4 deletions assets/sass/button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@
background: transparent;
color: var(--body-color);
width: fit-content;
border: 0.2rem solid var(--link-default);

&:hover,
&:focus {
Expand All @@ -26,10 +27,6 @@
display: block;
}

&__external {
border: 0.2rem solid var(--link-default);
}

&__internal {
border: none;
}
Expand Down
4 changes: 0 additions & 4 deletions assets/sass/form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,10 +33,6 @@
select {
height: 5.5rem;
}

.a-button {
border: 0.2rem solid var(--link-default);
}
}

#success {
Expand Down
36 changes: 30 additions & 6 deletions assets/sass/headings.scss
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
h1 {
%h1 {
font-size: 3rem;
line-height: 1.25;
margin-bottom: 2rem;
Expand All @@ -8,7 +8,7 @@ h1 {
break-after: avoid;
}

h2 {
%h2 {
font-size: 2.2rem;
line-height: 1.25;
margin-bottom: 1rem;
Expand All @@ -18,7 +18,7 @@ h2 {
break-after: avoid;
}

h3 {
%h3 {
font-size: 2rem;
line-height: 1.25;
margin-bottom: 1rem;
Expand All @@ -28,7 +28,7 @@ h3 {
break-after: avoid;
}

h4 {
%h4 {
font-size: 1.8rem;
line-height: 1.25;
margin-bottom: 1rem;
Expand All @@ -38,7 +38,7 @@ h4 {
break-after: avoid;
}

h5 {
%h5 {
font-size: 1.6rem;
line-height: 1.25;
margin-bottom: 1rem;
Expand All @@ -48,7 +48,7 @@ h5 {
break-after: avoid;
}

h6 {
%h6 {
font-size: 1.4rem;
line-height: 1.25;
margin-bottom: 1rem;
Expand All @@ -57,3 +57,27 @@ h6 {
text-wrap: balance;
break-after: avoid;
}

h1 {
@extend %h1;
}

h2 {
@extend %h2;
}

h3 {
@extend %h3;
}

h4 {
@extend %h4;
}

h5 {
@extend %h5;
}

h6 {
@extend %h6;
}
6 changes: 3 additions & 3 deletions assets/sass/trainCategory.scss
Original file line number Diff line number Diff line change
Expand Up @@ -37,14 +37,14 @@ details.o-expander--train-category:not([open]) {

.o-train-category__content {
h4 {
@extend h3;
@extend %h3;
}

h5 {
@extend h4;
@extend %h4;
}

h6 {
@extend h5;
@extend %h5;
}
}
6 changes: 2 additions & 4 deletions content/booking/ffestiniogtravel-email/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
type: "email"
---

Ffestiniog Travel hat direkten Zugriff auf die Buchungssysteme vieler Bahnbetreiber und kann Tickets für viele Züge in Europa anbieten.
Ffestiniog Travel hat direkten Zugriff auf die Buchungssysteme vieler Bahnbetreiber und kann Tickets für viele Züge in Europa anbieten.[^1]
Ausnahmen sind Frankreich (SNCF) und Norwegen (Vy Group).

Auf Anfrage erstellen die Mitarbeitenden das passende Angebot für die Reise:
Expand All @@ -26,6 +26,4 @@ Auf Anfrage erstellen die Mitarbeitenden das passende Angebot für die Reise:

{{% /booking-section %}}

## Quellen

[Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
[^1]: [Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
6 changes: 2 additions & 4 deletions content/booking/ffestiniogtravel-email/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
type: "email"
---

Ffestiniog Travel has direct access to the booking systems of many railway operators and can offer tickets for many trains in Europe.
Ffestiniog Travel has direct access to the booking systems of many railway operators and can offer tickets for many trains in Europe.[^1]
Exceptions are France (SNCF) and Norway (Vy Group).

On request, staff create a suitable offer for the journey:
Expand All @@ -26,6 +26,4 @@ Eurostar tickets can be purchased via Ffestiniog Travel. A booking fee of £5 ap

{{% /booking-section %}}

## Sources

[Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
[^1]: [Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
6 changes: 2 additions & 4 deletions content/booking/ffestiniogtravel-email/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
type: "email"
---

Ffestiniog Travel a un accès direct aux systèmes de réservation de nombreux opérateurs ferroviaires et peut proposer des billets pour de nombreux trains en Europe.
Ffestiniog Travel a un accès direct aux systèmes de réservation de nombreux opérateurs ferroviaires et peut proposer des billets pour de nombreux trains en Europe.[^1]
Les exceptions sont la France (SNCF) et la Norvège (Vy Group).

Sur demande, le personnel établit l'offre adaptée au voyage :
Expand All @@ -26,6 +26,4 @@ Des billets Eurostar peuvent être achetés via Ffestiniog Travel. Des frais de

{{% /booking-section %}}

## Sources

[Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
[^1]: [Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
6 changes: 2 additions & 4 deletions content/booking/ffestiniogtravel-phone/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
type: "phone"
---

Ffestiniog Travel hat direkten Zugriff auf die Buchungssysteme vieler Bahnbetreiber und kann Tickets für viele Züge in Europa anbieten.
Ffestiniog Travel hat direkten Zugriff auf die Buchungssysteme vieler Bahnbetreiber und kann Tickets für viele Züge in Europa anbieten.[^1]
Ausnahmen sind Frankreich (SNCF) und Norwegen (Vy Group).

Auf Anfrage erstellen die Mitarbeitenden das passende Angebot für die Reise: [+44 (0)1766 515630](tel:+441766515630)
Expand All @@ -30,6 +30,4 @@ Um Tickets telefonisch buchen zu können, muss initial ein Foto des FIP-Ausweise

{{% satellite /%}}

## Quellen

[Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
[^1]: [Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
6 changes: 2 additions & 4 deletions content/booking/ffestiniogtravel-phone/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
type: "phone"
---

Ffestiniog Travel has direct access to the booking systems of many railway operators and can offer tickets for many trains in Europe.
Ffestiniog Travel has direct access to the booking systems of many railway operators and can offer tickets for many trains in Europe.[^1]
Exceptions are France (SNCF) and Norway (Vy Group).

On request, staff create a suitable offer for the journey: [+44 (0)1766 515630](tel:+441766515630)
Expand All @@ -30,6 +30,4 @@ FIP Global Fare tickets for Eurostar can be purchased via the Ffestiniog Travel

{{% satellite /%}}

## Sources

[Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
[^1]: [Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
6 changes: 2 additions & 4 deletions content/booking/ffestiniogtravel-phone/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ params:
type: "phone"
---

Ffestiniog Travel a un accès direct aux systèmes de réservation de nombreux opérateurs ferroviaires et peut proposer des billets pour de nombreux trains en Europe.
Ffestiniog Travel a un accès direct aux systèmes de réservation de nombreux opérateurs ferroviaires et peut proposer des billets pour de nombreux trains en Europe.[^1]
Les exceptions sont la France (SNCF) et la Norvège (Vy Group).

Sur demande, le personnel établit l'offre adaptée au voyage : [+44 (0)1766 515630](tel:+441766515630)
Expand All @@ -28,6 +28,4 @@ Des billets au Tarif Global FIP pour Eurostar peuvent être achetés via la hotl

{{% satellite /%}}

## Sources

[Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
[^1]: [Feedback: FIP reduced Ticket booking](https://github.com/fipguide/fipguide.github.io/issues/710)
4 changes: 1 addition & 3 deletions content/booking/kw-ticket-machine/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ An einigen Bahnhöfen gibt es Koleje Wielkopolskie Fahrkartenautomaten. Zudem si

An den Fahrkartenautomaten können ermäßigte FIP 50 Fahrkarten erworben werden. Dafür muss der Rabatt “UMOWA (ulga 50%)” angegeben werden. [^1]

## Quellen
{{% /booking-section %}}

[^1]: [PKP FIP Information](https://www.intercity.pl/en/site/for-passengers/buy-a-ticket/where-to-buy-the-ticket/przejazdy-z-fip-en.html)

{{% /booking-section %}}
4 changes: 1 addition & 3 deletions content/booking/kw-ticket-machine/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ At some stations, Koleje Wielkopolskie ticket machines are available. Additional

Discounted FIP 50 Tickets can be purchased at the ticket machines. The discount "UMOWA (ulga 50%)" must be selected. [^1]

## Sources
{{% /booking-section %}}

[^1]: [PKP FIP information](https://www.intercity.pl/en/site/for-passengers/buy-a-ticket/where-to-buy-the-ticket/przejazdy-z-fip-en.html)

{{% /booking-section %}}
4 changes: 1 addition & 3 deletions content/booking/kw-ticket-machine/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Dans certaines gares, des distributeurs de billets Koleje Wielkopolskie sont dis

Des Billets FIP 50 à tarif réduit peuvent être achetés aux distributeurs de billets. La réduction « UMOWA (ulga 50%) » doit être sélectionnée. [^1]

## Sources
{{% /booking-section %}}

[^1]: [PKP FIP information](https://www.intercity.pl/en/site/for-passengers/buy-a-ticket/where-to-buy-the-ticket/przejazdy-z-fip-en.html)

{{% /booking-section %}}
4 changes: 1 addition & 3 deletions content/booking/kw-website/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Auf der Website der Koleje Wielkopolskie, die nur auf Polnisch verfügbar ist, k

![KW Website FIP 50 Buchung](kw-fip50.webp)

## Quellen
{{% /booking-section %}}

[^1]: [PKP FIP Information](https://www.intercity.pl/en/site/for-passengers/buy-a-ticket/where-to-buy-the-ticket/przejazdy-z-fip-en.html)

{{% /booking-section %}}
4 changes: 1 addition & 3 deletions content/booking/kw-website/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ On the Koleje Wielkopolskie website, which is only available in Polish, tickets

![KW Website FIP 50 Booking](kw-fip50.webp)

## Sources
{{% /booking-section %}}

[^1]: [PKP FIP information](https://www.intercity.pl/en/site/for-passengers/buy-a-ticket/where-to-buy-the-ticket/przejazdy-z-fip-en.html)

{{% /booking-section %}}
4 changes: 1 addition & 3 deletions content/booking/kw-website/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -17,8 +17,6 @@ Sur le site Web de Koleje Wielkopolskie, disponible uniquement en polonais, des

![Site Web KW Réservation FIP 50](kw-fip50.webp)

## Sources
{{% /booking-section %}}

[^1]: [PKP FIP information](https://www.intercity.pl/en/site/for-passengers/buy-a-ticket/where-to-buy-the-ticket/przejazdy-z-fip-en.html)

{{% /booking-section %}}
2 changes: 0 additions & 2 deletions content/booking/sbb-ticket-machine/index.de.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@ Unter anderem in städtischen Gebieten kann eine Fahrkarte mit Halbtax Rabatt au

{{% /booking-section %}}

## Quellen

[^1]: [SBB Community](https://community.sbb.ch/d/2251-kann-man-als-fip-beg%C3%BCnstigter-tickets-weiterhin-online-mittels-halbtax-kaufen)
2 changes: 0 additions & 2 deletions content/booking/sbb-ticket-machine/index.en.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@ In urban areas, a ticket with Halbtax discount may also include transport operat

{{% /booking-section %}}

## Sources

[^1]: [SBB Community](https://community.sbb.ch/d/2251-kann-man-als-fip-beg%C3%BCnstigter-tickets-weiterhin-online-mittels-halbtax-kaufen)
2 changes: 0 additions & 2 deletions content/booking/sbb-ticket-machine/index.fr.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,4 @@ Dans les zones urbaines, un billet avec réduction demi-tarif peut inclure des t

{{% /booking-section %}}

## Sources

[^1]: [SBB Community](https://community.sbb.ch/d/2251-kann-man-als-fip-beg%C3%BCnstigter-tickets-weiterhin-online-mittels-halbtax-kaufen)
Loading
Loading