From e8a1857e88d635ac29a4be4742ea6b203bf5af18 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sat, 18 Oct 2025 11:40:35 +0200 Subject: [PATCH 1/7] preparations --- layouts/booking/single.html | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/layouts/booking/single.html b/layouts/booking/single.html index ab2c58fa..ac113cf6 100644 --- a/layouts/booking/single.html +++ b/layouts/booking/single.html @@ -1,13 +1,15 @@ {{ define "main" }} -
-
-

{{ .Title }}

-
+
+
+
+

{{ .Title }}

+
-
- {{ .Content }} -
+
+ {{ .Content }} +
- {{ partial "booking-links" . }} + {{ partial "booking-links" . }} +
{{ end }} From f36b2676188cfa09664ef2c600a8f0738ecdf054 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sun, 16 Nov 2025 14:27:27 +0100 Subject: [PATCH 2/7] added index for booking --- assets/sass/contentNavigation.scss | 3 +- assets/sass/styles.scss | 3 +- content/operator/bdz/index.de.md | 4 ++ content/operator/eurostar/index.de.md | 8 +++ hugo.yaml | 2 + i18n/de.yaml | 1 + i18n/en.yaml | 1 + i18n/fr.yaml | 1 + layouts/_default/baseof.html | 2 +- layouts/booking/single.html | 14 ++++- layouts/partials/related.html | 73 ++++++++++++++++++--------- 11 files changed, 85 insertions(+), 27 deletions(-) diff --git a/assets/sass/contentNavigation.scss b/assets/sass/contentNavigation.scss index 26d63ab3..5a7e7e23 100644 --- a/assets/sass/contentNavigation.scss +++ b/assets/sass/contentNavigation.scss @@ -186,7 +186,8 @@ } } - main.o-newspage .o-aside { + main.o-newspage .o-aside, + main.o-bookingpage .o-aside { display: none; } } diff --git a/assets/sass/styles.scss b/assets/sass/styles.scss index b5eebf69..a707742b 100644 --- a/assets/sass/styles.scss +++ b/assets/sass/styles.scss @@ -18,7 +18,8 @@ body { } } @media (max-width: #{$breakpoint-lg}) { - body:has(article.o-single--with-sidemenu):not(:has(.o-newspage)) { + body:has(article.o-single--with-sidemenu):not(:has(.o-newspage)), + body:has(article.o-single--with-sidemenu):not(:has(.o-bookingpage)) { margin: 0 0 calc(7rem + env(safe-area-inset-bottom)) 0; } } diff --git a/content/operator/bdz/index.de.md b/content/operator/bdz/index.de.md index 6ecd86eb..d02f3490 100644 --- a/content/operator/bdz/index.de.md +++ b/content/operator/bdz/index.de.md @@ -5,6 +5,10 @@ description: "Informationen zu den FIP-Bedingungen bei der Balgarski Darschawni country: - "bulgaria" operator: "bdz" +type: "operator" +booking: + - "bdz-ticket-office" + --- Die Balgarski Darschawni Schelesnizi (BDŽ) ist die staatliche Eisenbahngesellschaft von Bulgarien und betreibt derzeit fast alle Verbindungen im Personenverkehr auf dem bulgarischen Schienennetz. diff --git a/content/operator/eurostar/index.de.md b/content/operator/eurostar/index.de.md index 7e83d7e6..40774aaf 100644 --- a/content/operator/eurostar/index.de.md +++ b/content/operator/eurostar/index.de.md @@ -6,6 +6,14 @@ country: - "belgium" - "netherlands" operator: "eurostar" +booking: + - "internationalrail-email" + - "trainseurope-email" + - "eurostar-phone" + - "cfl-phone" + - "trainseurope-phone" + - "eurostar-ticket-office" + - "ns-ticket-office" --- Eurostar ist ein Betreiber von Hochgeschwindigkeitszügen in Westeuropa. Ursprünglich wurden nur die blauen Züge zwischen London und Paris/Brüssel/Amsterdam durch den Eurotunnel als Eurostar bezeichnet. Nach dem Zusammenschluss zwischen Thalys und Eurostar werden auch die roten Thalys-Züge als Eurostar (Red) bezeichnet. diff --git a/hugo.yaml b/hugo.yaml index fe6b3d5b..666fcc95 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -38,6 +38,8 @@ related: weight: 100 - name: operator weight: 100 + - name: booking + weight: 100 markup: tableOfContents: diff --git a/i18n/de.yaml b/i18n/de.yaml index b8d97ce8..1e5a50c1 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -78,6 +78,7 @@ news-headline: Was gibt's Neues? news-other: Weitere News operators_without_fip: Betreiber ohne FIP related: + booking: Bei diesen Betreibern nutzbar countries: Verwandte Länder news: Verwandte News operators: Verwandte Betreiber diff --git a/i18n/en.yaml b/i18n/en.yaml index 9f6f1caf..cda51063 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -77,6 +77,7 @@ news-headline: What's new? news-other: Other News operators_without_fip: Operators without FIP related: + booking: Bei diesen Betreibern nutzbar countries: Related Countries news: Related News operators: Related Operators diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 73e25e2d..9c6364c8 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -77,6 +77,7 @@ news-headline: Quoi de neuf ? news-other: Autres actualités operators_without_fip: Opérateurs sans FIP related: + booking: Bei diesen Betreibern nutzbar countries: Pays associés news: Actualités associées operators: Opérateurs associés diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index ccbb5bd7..074dee2f 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,7 @@ id="content" class="{{ if .IsHome }}o-startpage{{ end }}{{ if eq .Page.Type "news" }} o-newspage - {{ end }}" + {{ end }}{{ if eq .Page.Type "booking" }} o-bookingpage{{ end }}" >
{{ if not .IsHome }} diff --git a/layouts/booking/single.html b/layouts/booking/single.html index ac113cf6..c56c11c7 100644 --- a/layouts/booking/single.html +++ b/layouts/booking/single.html @@ -1,5 +1,17 @@ {{ define "main" }} -
+
+

{{ .Title }}

diff --git a/layouts/partials/related.html b/layouts/partials/related.html index b41533a1..0eed9a3c 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -1,35 +1,62 @@ {{ $pageType := .pageType | default .index }} -{{ $related := where (.page.Site.RegularPages.RelatedIndices .page .index) ".Page.Type" $pageType }} -{{ if gt (len $related) 0 }} + +{{ if eq $pageType "booking" }} + {{ $slug := .page.File.ContentBaseName }} + {{ $operators := where .page.Site.RegularPages "Type" "operator" }} + {{ $related := where $operators "Params.booking" "intersect" (slice $slug) }} + + + +{{ else }} + {{ $related := where (.page.Site.RegularPages.RelatedIndices .page .index) ".Page.Type" $pageType }} + {{ if gt (len $related) 0 }} + {{ end }} {{ end }} From 1631d139a465d50ec3346033093f43ee6c18307b Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sun, 16 Nov 2025 14:30:18 +0100 Subject: [PATCH 3/7] refactoring --- layouts/partials/related.html | 54 ++++++++++++----------------------- 1 file changed, 18 insertions(+), 36 deletions(-) diff --git a/layouts/partials/related.html b/layouts/partials/related.html index 0eed9a3c..ff4f5cc2 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -1,10 +1,15 @@ {{ $pageType := .pageType | default .index }} +{{ $related := slice }} {{ if eq $pageType "booking" }} {{ $slug := .page.File.ContentBaseName }} {{ $operators := where .page.Site.RegularPages "Type" "operator" }} - {{ $related := where $operators "Params.booking" "intersect" (slice $slug) }} + {{ $related = where $operators "Params.booking" "intersect" (slice $slug) }} +{{ else }} + {{ $related = where (.page.Site.RegularPages.RelatedIndices .page .index) ".Page.Type" $pageType }} +{{ end }} +{{ if gt (len $related) 0 }} -{{ else }} - {{ $related := where (.page.Site.RegularPages.RelatedIndices .page .index) ".Page.Type" $pageType }} - {{ if gt (len $related) 0 }} - - + {{ end }} + {{ end }} From b90931d71503be6bd44910cde72aa70d62a9cee6 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sun, 16 Nov 2025 14:51:17 +0100 Subject: [PATCH 4/7] added booking index to all operator pages --- content/operator/bdz/index.en.md | 2 ++ content/operator/bdz/index.fr.md | 2 ++ content/operator/cd/index.de.md | 5 +++++ content/operator/cd/index.en.md | 5 +++++ content/operator/cd/index.fr.md | 5 +++++ content/operator/cp/index.de.md | 2 ++ content/operator/cp/index.en.md | 2 ++ content/operator/cp/index.fr.md | 2 ++ content/operator/dsb/index.de.md | 7 +++++++ content/operator/dsb/index.en.md | 7 +++++++ content/operator/dsb/index.fr.md | 7 +++++++ content/operator/eurostar/index.en.md | 8 ++++++++ content/operator/eurostar/index.fr.md | 8 ++++++++ content/operator/euskotren/index.de.md | 2 ++ content/operator/euskotren/index.en.md | 2 ++ content/operator/euskotren/index.fr.md | 2 ++ content/operator/fs/index.de.md | 7 +++++++ content/operator/fs/index.en.md | 7 +++++++ content/operator/fs/index.fr.md | 7 +++++++ content/operator/gysev/index.de.md | 3 +++ content/operator/gysev/index.en.md | 3 +++ content/operator/gysev/index.fr.md | 3 +++ content/operator/ns/index.de.md | 7 +++++++ content/operator/ns/index.en.md | 6 ++++++ content/operator/ns/index.fr.md | 6 ++++++ content/operator/oebb/index.de.md | 9 +++++++++ content/operator/oebb/index.en.md | 9 +++++++++ content/operator/oebb/index.fr.md | 9 +++++++++ content/operator/pkp/index.de.md | 9 +++++++++ content/operator/pkp/index.en.md | 9 +++++++++ content/operator/pkp/index.fr.md | 9 +++++++++ content/operator/renfe/index.de.md | 3 +++ content/operator/renfe/index.en.md | 3 +++ content/operator/renfe/index.fr.md | 3 +++ content/operator/sbb/index.de.md | 9 +++++++++ content/operator/sbb/index.en.md | 9 +++++++++ content/operator/sbb/index.fr.md | 9 +++++++++ content/operator/sncb/index.de.md | 6 ++++++ content/operator/sncb/index.en.md | 6 ++++++ content/operator/sncb/index.fr.md | 6 ++++++ content/operator/sncf/index.de.md | 8 ++++++++ content/operator/sncf/index.en.md | 8 ++++++++ content/operator/sncf/index.fr.md | 8 ++++++++ content/operator/zssk/index.de.md | 5 +++++ content/operator/zssk/index.en.md | 5 +++++ content/operator/zssk/index.fr.md | 5 +++++ layouts/partials/related.html | 6 ++---- 47 files changed, 266 insertions(+), 4 deletions(-) diff --git a/content/operator/bdz/index.en.md b/content/operator/bdz/index.en.md index adfded8e..e2ea1c11 100644 --- a/content/operator/bdz/index.en.md +++ b/content/operator/bdz/index.en.md @@ -5,6 +5,8 @@ description: "Information about FIP conditions at Balgarski Darschawni Schelesni country: - "bulgaria" operator: "bdz" +booking: + - "bdz-ticket-office" --- Balgarski Darschawni Schelesnizi (BDŽ) is the state railway company of Bulgaria and currently operates almost all passenger services on the Bulgarian rail network. diff --git a/content/operator/bdz/index.fr.md b/content/operator/bdz/index.fr.md index 286d78c2..89b99a18 100644 --- a/content/operator/bdz/index.fr.md +++ b/content/operator/bdz/index.fr.md @@ -5,6 +5,8 @@ description: "Informations sur les conditions FIP chez Balgarski Darschawni Sche country: - "bulgaria" operator: "bdz" +booking: + - "bdz-ticket-office" --- Balgarski Darschawni Schelesnizi (BDŽ) est la compagnie ferroviaire nationale de Bulgarie et exploite actuellement presque tous les services voyageurs sur le réseau ferroviaire bulgare. diff --git a/content/operator/cd/index.de.md b/content/operator/cd/index.de.md index 811ada66..625492c8 100644 --- a/content/operator/cd/index.de.md +++ b/content/operator/cd/index.de.md @@ -5,6 +5,11 @@ description: "Informationen zu den FIP-Bedingungen bei der České dráhy (ČD). country: - "czechia" operator: "cd" +booking: + - "cd-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "cd-ticket-office" --- Die České dráhy (ČD) ist die staatliche Eisenbahngesellschaft der Tschechischen Republik und betreibt einen großen Teil der Verbindungen im Personenverkehr auf dem tschechischen Schienennetz. diff --git a/content/operator/cd/index.en.md b/content/operator/cd/index.en.md index 7738657f..dce0b358 100644 --- a/content/operator/cd/index.en.md +++ b/content/operator/cd/index.en.md @@ -5,6 +5,11 @@ description: "Information about FIP conditions at České dráhy (ČD)." country: - "czechia" operator: "cd" +booking: + - "cd-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "cd-ticket-office" --- České dráhy (ČD) is the state railway company of the Czech Republic and operates a large part of passenger services on the Czech rail network. diff --git a/content/operator/cd/index.fr.md b/content/operator/cd/index.fr.md index 88169577..bce8b8f7 100644 --- a/content/operator/cd/index.fr.md +++ b/content/operator/cd/index.fr.md @@ -5,6 +5,11 @@ description: "Informations sur les conditions FIP chez České dráhy (ČD)." country: - "czechia" operator: "cd" +booking: + - "cd-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "cd-ticket-office" --- České dráhy (ČD) est la compagnie ferroviaire nationale de la République tchèque et exploite une grande partie des services voyageurs sur le réseau ferroviaire tchèque. diff --git a/content/operator/cp/index.de.md b/content/operator/cp/index.de.md index adc6d502..d9ad5b26 100644 --- a/content/operator/cp/index.de.md +++ b/content/operator/cp/index.de.md @@ -5,6 +5,8 @@ description: "Informationen über die FIP-Bedingungen bei Comboios de Portugal ( country: - "portugal" operator: "cp" +booking: + - "cp-ticket-office" --- Die CP (Comboios de Portugal) ist die portugiesische Staatsbahn und die wichtigste Bahngesellschaft in Portugal. diff --git a/content/operator/cp/index.en.md b/content/operator/cp/index.en.md index fbedeaa9..efb1e2be 100644 --- a/content/operator/cp/index.en.md +++ b/content/operator/cp/index.en.md @@ -5,6 +5,8 @@ description: "Information about FIP conditions at Comboios de Portugal (CP)." country: - "portugal" operator: "cp" +booking: + - "cp-ticket-office" --- CP (Comboios de Portugal) is the Portuguese state railway and the main railway company in Portugal. diff --git a/content/operator/cp/index.fr.md b/content/operator/cp/index.fr.md index c9ef8e32..ca0fda0b 100644 --- a/content/operator/cp/index.fr.md +++ b/content/operator/cp/index.fr.md @@ -5,6 +5,8 @@ description: "Informations sur les conditions FIP chez Comboios de Portugal (CP) country: - "portugal" operator: "cp" +booking: + - "cp-ticket-office" --- La CP (Comboios de Portugal) est la compagnie ferroviaire nationale portugaise et la principale société de chemins de fer au Portugal. diff --git a/content/operator/dsb/index.de.md b/content/operator/dsb/index.de.md index cfd269d3..a2a910a7 100644 --- a/content/operator/dsb/index.de.md +++ b/content/operator/dsb/index.de.md @@ -5,6 +5,13 @@ description: "Informationen über die FIP-Bedingungen bei DSB." country: - "denmark" operator: "dsb" +booking: + - "dsb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "dsb-ticket-office" + - "db-ticket-office" --- Die DSB (Danske Statsbaner) ist die staatliche Eisenbahngesellschaft in Dänemark. Sie betreibt den Großteil des Personenverkehrs auf dem dänischen Schienennetz. diff --git a/content/operator/dsb/index.en.md b/content/operator/dsb/index.en.md index 677ddf93..2edb179f 100644 --- a/content/operator/dsb/index.en.md +++ b/content/operator/dsb/index.en.md @@ -5,6 +5,13 @@ description: "Information about FIP conditions at DSB." country: - "denmark" operator: "dsb" +booking: + - "dsb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "dsb-ticket-office" + - "db-ticket-office" --- The DSB (Danske Statsbaner) is the state-owned railway company in Denmark. It operates the majority of passenger traffic on the Danish rail network. diff --git a/content/operator/dsb/index.fr.md b/content/operator/dsb/index.fr.md index cd08158b..162931a3 100644 --- a/content/operator/dsb/index.fr.md +++ b/content/operator/dsb/index.fr.md @@ -5,6 +5,13 @@ description: "Informations sur les conditions FIP chez DSB." country: - "denmark" operator: "dsb" +booking: + - "dsb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "dsb-ticket-office" + - "db-ticket-office" --- La DSB (Danske Statsbaner) est la compagnie ferroviaire publique du Danemark. Elle exploite la majorité du trafic voyageurs sur le réseau ferroviaire danois. diff --git a/content/operator/eurostar/index.en.md b/content/operator/eurostar/index.en.md index ffa0a2b6..1d494b16 100644 --- a/content/operator/eurostar/index.en.md +++ b/content/operator/eurostar/index.en.md @@ -6,6 +6,14 @@ country: - "belgium" - "netherlands" operator: "eurostar" +booking: + - "internationalrail-email" + - "trainseurope-email" + - "eurostar-phone" + - "cfl-phone" + - "trainseurope-phone" + - "eurostar-ticket-office" + - "ns-ticket-office" --- Eurostar is an operator of high-speed trains in Western Europe. Originally, only the blue trains between London and Paris/Brussels/Amsterdam through the Eurotunnel were referred to as Eurostar. After the merger between Thalys and Eurostar, the red Thalys trains are now also referred to as Eurostar (Red). diff --git a/content/operator/eurostar/index.fr.md b/content/operator/eurostar/index.fr.md index 2fa11dbc..ce04bf76 100644 --- a/content/operator/eurostar/index.fr.md +++ b/content/operator/eurostar/index.fr.md @@ -6,6 +6,14 @@ country: - "belgium" - "netherlands" operator: "eurostar" +booking: + - "internationalrail-email" + - "trainseurope-email" + - "eurostar-phone" + - "cfl-phone" + - "trainseurope-phone" + - "eurostar-ticket-office" + - "ns-ticket-office" --- Eurostar est un opérateur de trains à grande vitesse en Europe de l’Ouest. À l’origine, seuls les trains bleus entre Londres et Paris/Bruxelles/Amsterdam via l’Eurotunnel étaient désignés comme Eurostar. Depuis la fusion entre Thalys et Eurostar, les anciens trains rouges Thalys sont désormais appelés Eurostar (Rouge). diff --git a/content/operator/euskotren/index.de.md b/content/operator/euskotren/index.de.md index 09cb7d7e..d22d56b3 100644 --- a/content/operator/euskotren/index.de.md +++ b/content/operator/euskotren/index.de.md @@ -4,6 +4,8 @@ title: "Euskotren" country: - "spain" operator: "euskotren" +booking: + - "euskotren-ticket-office" --- Im Norden Spaniens betreibt Euskotren ein Netz der baskischen Eisenbahn, das die malerischen Küstenorte und das gebirgige Hinterland zwischen der französischen Grenze bei Hendaye und der Metropole Bilbao verbindet. Euskotren gehört der baskische Regionalregierung. diff --git a/content/operator/euskotren/index.en.md b/content/operator/euskotren/index.en.md index d32fe8d4..746d947e 100644 --- a/content/operator/euskotren/index.en.md +++ b/content/operator/euskotren/index.en.md @@ -4,6 +4,8 @@ title: "Euskotren" country: - "spain" operator: "euskotren" +booking: + - "euskotren-ticket-office" --- In northern Spain, Euskotren operates a Basque railway network that connects the picturesque coastal towns and mountainous hinterland between the French border at Hendaye and the metropolis of Bilbao. Euskotren is owned by the Basque regional government. diff --git a/content/operator/euskotren/index.fr.md b/content/operator/euskotren/index.fr.md index dcb9217b..f64d01c7 100644 --- a/content/operator/euskotren/index.fr.md +++ b/content/operator/euskotren/index.fr.md @@ -4,6 +4,8 @@ title: "Euskotren" country: - "spain" operator: "euskotren" +booking: + - "euskotren-ticket-office" --- Dans le nord de l'Espagne, Euskotren exploite un réseau ferroviaire basque qui relie les villes côtières pittoresques et l'arrière-pays montagneux entre la frontière française à Hendaye et la métropole de Bilbao. Euskotren appartient au gouvernement régional basque. diff --git a/content/operator/fs/index.de.md b/content/operator/fs/index.de.md index 37b27cfb..a0513a02 100644 --- a/content/operator/fs/index.de.md +++ b/content/operator/fs/index.de.md @@ -5,6 +5,13 @@ description: "Informationen über die FIP-Bedingungen bei der Trenitalia (FS)." country: - "italy" operator: "trenitalia" +booking: + - "fs-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "fs-ticket-machine" + - "fs-ticket-office" + - "db-ticket-office" --- Ferrovie dello Stato Italiane (FS) ist die italienische Staatsbahn. FIP Vergünstigungen gelten jedoch nur bei der Tochtergesellschaft Trenitalia. diff --git a/content/operator/fs/index.en.md b/content/operator/fs/index.en.md index 8791aeab..2d496956 100644 --- a/content/operator/fs/index.en.md +++ b/content/operator/fs/index.en.md @@ -5,6 +5,13 @@ description: "Find out about the FIP conditions at Trenitalia (FS)." country: - "italy" operator: "trenitalia" +booking: + - "fs-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "fs-ticket-machine" + - "fs-ticket-office" + - "db-ticket-office" --- Ferrovie dello Stato Italiane (FS) is the Italian state railway. FIP discounts only apply to its subsidiary Trenitalia. diff --git a/content/operator/fs/index.fr.md b/content/operator/fs/index.fr.md index 55f631d6..19c4eb5f 100644 --- a/content/operator/fs/index.fr.md +++ b/content/operator/fs/index.fr.md @@ -5,6 +5,13 @@ description: "Informations sur les conditions FIP chez Trenitalia (FS)." country: - "italy" operator: "trenitalia" +booking: + - "fs-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "fs-ticket-machine" + - "fs-ticket-office" + - "db-ticket-office" --- Ferrovie dello Stato Italiane (FS) est la compagnie ferroviaire nationale italienne. Les rabais FIP ne s’appliquent qu’à sa filiale Trenitalia. diff --git a/content/operator/gysev/index.de.md b/content/operator/gysev/index.de.md index 4ccc3e3f..76e72693 100644 --- a/content/operator/gysev/index.de.md +++ b/content/operator/gysev/index.de.md @@ -4,6 +4,9 @@ title: "GySEV / Raaberbahn" country: - "austria" operator: "gysev" +booking: + - "oebb-phone" + - "oebb-ticket-office" --- Die Raab-Oedenburg-Ebenfurter Eisenbahn AG (ungarisch Győr-Sopron-Ebenfurti Vasút Zrt.), kurz GySEV oder Raaberbahn ist ein privates ungarisches Eisenbahnunternehmen, welches Regionalzüge in Ungarn und Österreich betreibt. Die Züge verkehren hauptsächlich südlich und östlich des Neusiedlersees (Westungarn), teilweise sind sie sogar auf eigener Infrastruktur unterwegs. diff --git a/content/operator/gysev/index.en.md b/content/operator/gysev/index.en.md index 826870b9..8a301906 100644 --- a/content/operator/gysev/index.en.md +++ b/content/operator/gysev/index.en.md @@ -4,6 +4,9 @@ title: "GySEV / Raaberbahn" country: - "austria" operator: "gysev" +booking: + - "oebb-phone" + - "oebb-ticket-office" --- The Raab-Oedenburg-Ebenfurter Eisenbahn AG (Hungarian: Győr-Sopron-Ebenfurti Vasút Zrt.), short: GySEV or Raaberbahn, is a private Hungarian railway company that operates regional trains in Hungary and Austria. They primarily operate passenger services south and east of Lake Neusiedl (Western Hungary), partly even on their own infrastructure. diff --git a/content/operator/gysev/index.fr.md b/content/operator/gysev/index.fr.md index d879e9ac..f2c54e8f 100644 --- a/content/operator/gysev/index.fr.md +++ b/content/operator/gysev/index.fr.md @@ -4,6 +4,9 @@ title: "GySEV / Raaberbahn" country: - "austria" operator: "gysev" +booking: + - "oebb-phone" + - "oebb-ticket-office" --- La Raab-Oedenburg-Ebenfurter Eisenbahn AG (en hongrois Győr-Sopron-Ebenfurti Vasút Zrt.), abrégée GySEV ou Raaberbahn, est une compagnie ferroviaire privée hongroise qui exploite des trains régionaux en Hongrie et en Autriche. Elle assure principalement le transport de voyageurs au sud et à l'est du lac de Neusiedl (ouest de la Hongrie), parfois même sur sa propre infrastructure. diff --git a/content/operator/ns/index.de.md b/content/operator/ns/index.de.md index a38c173a..6bdd4129 100644 --- a/content/operator/ns/index.de.md +++ b/content/operator/ns/index.de.md @@ -5,6 +5,13 @@ description: "Informationen über die FIP-Bedingungen bei NS." country: - "netherlands" operator: "ns" +booking: + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "ns-ticket-office" + - "db-ticket-office" + --- Die Nederlandse Spoorwegen (NS) ist die staatliche Eisenbahngesellschaft der Niederlande und betreibt den Großteil des Personenverkehrs auf dem niederländischen Schienennetz. diff --git a/content/operator/ns/index.en.md b/content/operator/ns/index.en.md index 6772b055..d9ff9b15 100644 --- a/content/operator/ns/index.en.md +++ b/content/operator/ns/index.en.md @@ -5,6 +5,12 @@ description: "Information about FIP conditions at NS." country: - "netherlands" operator: "ns" +booking: + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "ns-ticket-office" + - "db-ticket-office" --- Nederlandse Spoorwegen (NS) is the state railway company of the Netherlands and operates the majority of passenger traffic on the Dutch rail network. diff --git a/content/operator/ns/index.fr.md b/content/operator/ns/index.fr.md index 9bf7c685..52f7efe5 100644 --- a/content/operator/ns/index.fr.md +++ b/content/operator/ns/index.fr.md @@ -5,6 +5,12 @@ description: "Informations sur les conditions FIP chez NS." country: - "netherlands" operator: "ns" +booking: + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "ns-ticket-office" + - "db-ticket-office" --- Les Nederlandse Spoorwegen (NS) sont la compagnie ferroviaire nationale des Pays-Bas et assurent la majorité du trafic voyageurs dans le pays. diff --git a/content/operator/oebb/index.de.md b/content/operator/oebb/index.de.md index f838b611..c68f5fdd 100644 --- a/content/operator/oebb/index.de.md +++ b/content/operator/oebb/index.de.md @@ -6,6 +6,15 @@ country: - "austria" - "liechtenstein" operator: "oebb" +booking: + - "oebb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "oebb-phone" + - "oebb-ticket-office" + - "oebb-ticket-machine" + - "db-ticket-office" aliases: - obb diff --git a/content/operator/oebb/index.en.md b/content/operator/oebb/index.en.md index fcd8d555..4708465a 100644 --- a/content/operator/oebb/index.en.md +++ b/content/operator/oebb/index.en.md @@ -6,6 +6,15 @@ country: - "austria" - "liechtenstein" operator: "oebb" +booking: + - "oebb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "oebb-phone" + - "oebb-ticket-office" + - "oebb-ticket-machine" + - "db-ticket-office" aliases: - obb diff --git a/content/operator/oebb/index.fr.md b/content/operator/oebb/index.fr.md index 383df50e..6571577d 100644 --- a/content/operator/oebb/index.fr.md +++ b/content/operator/oebb/index.fr.md @@ -6,6 +6,15 @@ country: - "austria" - "liechtenstein" operator: "oebb" +booking: + - "oebb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "oebb-phone" + - "oebb-ticket-office" + - "oebb-ticket-machine" + - "db-ticket-office" aliases: - obb diff --git a/content/operator/pkp/index.de.md b/content/operator/pkp/index.de.md index 547854f3..61aa4b6a 100644 --- a/content/operator/pkp/index.de.md +++ b/content/operator/pkp/index.de.md @@ -5,6 +5,15 @@ description: "Informationen über die FIP-Bedingungen bei der PKP." country: - "poland" operator: "pkp" +booking: + - "pkp-website" + - "koleo-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "pkp-ticket-office" + - "pkp-ticket-machine" + - "db-ticket-office" --- Die polnische Staatsbahn PKP (Polskie Koleje Państwowe) betreibt mit ihren Tochtergesellschaften PKP Intercity und Polregio einen Großteil des polnischen Schienenpersonenverkehrs. diff --git a/content/operator/pkp/index.en.md b/content/operator/pkp/index.en.md index 2b4dc94b..d69db50a 100644 --- a/content/operator/pkp/index.en.md +++ b/content/operator/pkp/index.en.md @@ -5,6 +5,15 @@ description: "Information about FIP conditions at PKP." country: - "poland" operator: "pkp" +booking: + - "pkp-website" + - "koleo-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "pkp-ticket-office" + - "pkp-ticket-machine" + - "db-ticket-office" --- The Polish State Railways PKP (Polskie Koleje Państwowe) operates, together with its subsidiaries PKP Intercity and Polregio, a large part of Polish passenger rail transport. diff --git a/content/operator/pkp/index.fr.md b/content/operator/pkp/index.fr.md index 95923ffe..c2eadf45 100644 --- a/content/operator/pkp/index.fr.md +++ b/content/operator/pkp/index.fr.md @@ -5,6 +5,15 @@ description: "Informations sur les conditions FIP chez PKP." country: - "poland" operator: "pkp" +booking: + - "pkp-website" + - "koleo-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "pkp-ticket-office" + - "pkp-ticket-machine" + - "db-ticket-office" --- Les chemins de fer polonais PKP (Polskie Koleje Państwowe) exploitent, avec leurs filiales PKP Intercity et Polregio, une grande partie du transport ferroviaire de voyageurs en Pologne. diff --git a/content/operator/renfe/index.de.md b/content/operator/renfe/index.de.md index ce3ff863..6b88e836 100644 --- a/content/operator/renfe/index.de.md +++ b/content/operator/renfe/index.de.md @@ -6,6 +6,9 @@ country: - "spain" - "france" operator: "renfe" +booking: + - "db-ticket-office" + - "renfe-ticket-office" --- Renfe Operadora ist ein staatliches spanisches Eisenbahnunternehmen. Hierzu gehören komfortable Hochgeschwindkeitszüge, diverse Regionalzüge und S-Bahnen. diff --git a/content/operator/renfe/index.en.md b/content/operator/renfe/index.en.md index ad2b2eed..14cb32bf 100644 --- a/content/operator/renfe/index.en.md +++ b/content/operator/renfe/index.en.md @@ -6,6 +6,9 @@ country: - "spain" - "france" operator: "renfe" +booking: + - "db-ticket-office" + - "renfe-ticket-office" --- Renfe Operadora is a Spanish state-owned railroad company. It operates comfortable high-speed trains, various regional trains and suburban trains. diff --git a/content/operator/renfe/index.fr.md b/content/operator/renfe/index.fr.md index 21d6408c..57e2a365 100644 --- a/content/operator/renfe/index.fr.md +++ b/content/operator/renfe/index.fr.md @@ -6,6 +6,9 @@ country: - "spain" - "france" operator: "renfe" +booking: + - "db-ticket-office" + - "renfe-ticket-office" --- Renfe Operadora est la compagnie ferroviaire publique espagnole. Elle exploite des trains à grande vitesse confortables, divers trains régionaux et des trains de banlieue. diff --git a/content/operator/sbb/index.de.md b/content/operator/sbb/index.de.md index d9148a71..29c4984c 100644 --- a/content/operator/sbb/index.de.md +++ b/content/operator/sbb/index.de.md @@ -4,6 +4,15 @@ title: "SBB CFF FFS" description: "Informationen über die FIP-Bedingungen bei der SBB CFF FFS." country: - "switzerland" +booking: + - "sbb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "oebb-phone" + - "sbb-ticket-office" + - "sbb-ticket-machine" + - "db-ticket-office" --- Die SBB (Schweizerische Bundesbahnen) - (Chemins de fer fédéraux suisses CFF, Ferrovie federali svizzere FFS) ist die nationale Eisenbahngesellschaft der Schweiz. Sie betreibt einen Großteil des schweizerischen Schienennetzes. Die SBB ist bekannt für ihre Pünktlichkeit und Zuverlässigkeit. diff --git a/content/operator/sbb/index.en.md b/content/operator/sbb/index.en.md index c2185f78..4031729d 100644 --- a/content/operator/sbb/index.en.md +++ b/content/operator/sbb/index.en.md @@ -4,6 +4,15 @@ title: "SBB CFF FFS" description: "Information about FIP conditions at SBB CFF FFS." country: - "switzerland" +booking: + - "sbb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "oebb-phone" + - "sbb-ticket-office" + - "sbb-ticket-machine" + - "db-ticket-office" --- SBB (Swiss Federal Railways) - (Chemins de fer fédéraux suisses CFF, Ferrovie federali svizzere FFS) is the national railway company of Switzerland. It operates most of the Swiss rail network and is known for its punctuality and reliability. diff --git a/content/operator/sbb/index.fr.md b/content/operator/sbb/index.fr.md index 00d3408f..6de5d536 100644 --- a/content/operator/sbb/index.fr.md +++ b/content/operator/sbb/index.fr.md @@ -4,6 +4,15 @@ title: "SBB CFF FFS" description: "Informations sur les conditions FIP chez les CFF (SBB CFF FFS)." country: - "switzerland" +booking: + - "sbb-website" + - "db-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "oebb-phone" + - "sbb-ticket-office" + - "sbb-ticket-machine" + - "db-ticket-office" --- Les CFF (Chemins de fer fédéraux suisses, SBB en allemand, FFS en italien) sont la compagnie ferroviaire nationale de la Suisse. Ils exploitent la majeure partie du réseau ferroviaire suisse et sont réputés pour leur ponctualité et leur fiabilité. diff --git a/content/operator/sncb/index.de.md b/content/operator/sncb/index.de.md index fa9db5cf..0e60d4cd 100644 --- a/content/operator/sncb/index.de.md +++ b/content/operator/sncb/index.de.md @@ -5,6 +5,12 @@ description: "Informationen über die FIP-Bedingungen bei SNCB." country: - "belgium" operator: "sncb" +booking: + - "sncb-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "sncb-ticket-office" + - "db-ticket-office" --- Die SNCB (Société nationale des chemins de fer belges) bzw. NMBS (Nationale Maatschappij der Belgische Spoorwegen) ist die belgische Staatsbahn und die wichtigste Bahngesellschaft in Belgien. diff --git a/content/operator/sncb/index.en.md b/content/operator/sncb/index.en.md index b96d3e10..b322b9d1 100644 --- a/content/operator/sncb/index.en.md +++ b/content/operator/sncb/index.en.md @@ -5,6 +5,12 @@ description: "Find out about the FIP conditions at SNCB." country: - "belgium" operator: "sncb" +booking: + - "sncb-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "sncb-ticket-office" + - "db-ticket-office" --- The SNCB (Société nationale des chemins de fer belges) or NMBS (Nationale Maatschappij der Belgische Spoorwegen) is the Belgian national railway operator and the most important railway operator in Belgium. diff --git a/content/operator/sncb/index.fr.md b/content/operator/sncb/index.fr.md index f214e943..cefeffb4 100644 --- a/content/operator/sncb/index.fr.md +++ b/content/operator/sncb/index.fr.md @@ -5,6 +5,12 @@ description: "Informations sur les conditions FIP à la SNCB." country: - "belgium" operator: "sncb" +booking: + - "sncb-website" + - "db-website-fip-db" + - "db-website-fip-international" + - "sncb-ticket-office" + - "db-ticket-office" --- La SNCB (Société nationale des chemins de fer belges) ou NMBS (Nationale Maatschappij der Belgische Spoorwegen) est l’opérateur ferroviaire national belge et le plus important du pays. diff --git a/content/operator/sncf/index.de.md b/content/operator/sncf/index.de.md index 8dc53ed5..c997ccd2 100644 --- a/content/operator/sncf/index.de.md +++ b/content/operator/sncf/index.de.md @@ -10,6 +10,14 @@ country: - "belgium" - "luxembourg" operator: "sncf" +booking: + - "db-website-fip-db" + - "db-website-fip-international" + - "sncb-website" + - "sncf-phone" + - "sncf-ticket-office" + - "transilien-ticket-office" + - "db-ticket-office" --- Die SNCF (Société Nationale des Chemins de fer Français) ist die französische Staatsbahn und die wichtigste Bahngesellschaft in Frankreich. Sie betreibt fast alle Fern- und Regionalzüge in Frankreich. diff --git a/content/operator/sncf/index.en.md b/content/operator/sncf/index.en.md index 8f925547..9ed7f65b 100644 --- a/content/operator/sncf/index.en.md +++ b/content/operator/sncf/index.en.md @@ -10,6 +10,14 @@ country: - "belgium" - "luxembourg" operator: "sncf" +booking: + - "db-website-fip-db" + - "db-website-fip-international" + - "sncb-website" + - "sncf-phone" + - "sncf-ticket-office" + - "transilien-ticket-office" + - "db-ticket-office" --- SNCF (Société Nationale des Chemins de fer Français) is the French national railway company and the main rail operator in France. It operates almost all long-distance and regional trains in France. diff --git a/content/operator/sncf/index.fr.md b/content/operator/sncf/index.fr.md index 9d0c17dc..224b7d69 100644 --- a/content/operator/sncf/index.fr.md +++ b/content/operator/sncf/index.fr.md @@ -10,6 +10,14 @@ country: - "belgium" - "luxembourg" operator: "sncf" +booking: + - "db-website-fip-db" + - "db-website-fip-international" + - "sncb-website" + - "sncf-phone" + - "sncf-ticket-office" + - "transilien-ticket-office" + - "db-ticket-office" --- La SNCF (Société Nationale des Chemins de fer Français) est la compagnie ferroviaire nationale française et le principal opérateur ferroviaire en France. Elle exploite la quasi-totalité des trains grandes lignes et régionaux du pays. diff --git a/content/operator/zssk/index.de.md b/content/operator/zssk/index.de.md index 5347623c..fc3e14b6 100644 --- a/content/operator/zssk/index.de.md +++ b/content/operator/zssk/index.de.md @@ -5,6 +5,11 @@ description: "Informationen über die FIP-Bedingungen bei ZSR / ZSSK." country: - "slovakia" operator: "zssk" +booking: + - "zssk-website" + - "db-website" + - "zssk-ticket-office" + - "db-ticket-office" aliases: - zsr diff --git a/content/operator/zssk/index.en.md b/content/operator/zssk/index.en.md index f328491a..36a169f5 100644 --- a/content/operator/zssk/index.en.md +++ b/content/operator/zssk/index.en.md @@ -5,6 +5,11 @@ description: "Find out about the FIP conditions at ZSR / ZSSK." country: - "slovakia" operator: "zssk" +booking: + - "zssk-website" + - "db-website" + - "zssk-ticket-office" + - "db-ticket-office" aliases: - zsr diff --git a/content/operator/zssk/index.fr.md b/content/operator/zssk/index.fr.md index 7299c8d9..42e10fd2 100644 --- a/content/operator/zssk/index.fr.md +++ b/content/operator/zssk/index.fr.md @@ -5,6 +5,11 @@ description: "Découvrez les conditions FIP chez ZSR / ZSSK." country: - "slovakia" operator: "zssk" +booking: + - "zssk-website" + - "db-website" + - "zssk-ticket-office" + - "db-ticket-office" aliases: - zsr diff --git a/layouts/partials/related.html b/layouts/partials/related.html index ff4f5cc2..149819bb 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -1,10 +1,8 @@ {{ $pageType := .pageType | default .index }} -{{ $related := slice }} +{{ $related := "" }} {{ if eq $pageType "booking" }} - {{ $slug := .page.File.ContentBaseName }} - {{ $operators := where .page.Site.RegularPages "Type" "operator" }} - {{ $related = where $operators "Params.booking" "intersect" (slice $slug) }} + {{ $related = where (where .page.Site.RegularPages "Type" "operator") "Params.booking" "intersect" (slice .page.File.ContentBaseName) }} {{ else }} {{ $related = where (.page.Site.RegularPages.RelatedIndices .page .index) ".Page.Type" $pageType }} {{ end }} From cd8977b83ffb842acd6b3173fc4fad645692683f Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sun, 16 Nov 2025 14:51:55 +0100 Subject: [PATCH 5/7] prettier --- content/operator/bdz/index.de.md | 1 - content/operator/cd/index.de.md | 2 +- content/operator/ns/index.de.md | 1 - content/operator/oebb/index.de.md | 2 +- layouts/_default/baseof.html | 2 +- layouts/booking/single.html | 10 +++--- layouts/partials/related.html | 56 +++++++++++++++---------------- 7 files changed, 36 insertions(+), 38 deletions(-) diff --git a/content/operator/bdz/index.de.md b/content/operator/bdz/index.de.md index d02f3490..74657f3e 100644 --- a/content/operator/bdz/index.de.md +++ b/content/operator/bdz/index.de.md @@ -8,7 +8,6 @@ operator: "bdz" type: "operator" booking: - "bdz-ticket-office" - --- Die Balgarski Darschawni Schelesnizi (BDŽ) ist die staatliche Eisenbahngesellschaft von Bulgarien und betreibt derzeit fast alle Verbindungen im Personenverkehr auf dem bulgarischen Schienennetz. diff --git a/content/operator/cd/index.de.md b/content/operator/cd/index.de.md index 625492c8..adf2cad3 100644 --- a/content/operator/cd/index.de.md +++ b/content/operator/cd/index.de.md @@ -5,7 +5,7 @@ description: "Informationen zu den FIP-Bedingungen bei der České dráhy (ČD). country: - "czechia" operator: "cd" -booking: +booking: - "cd-website" - "db-website-fip-db" - "db-website-fip-international" diff --git a/content/operator/ns/index.de.md b/content/operator/ns/index.de.md index 6bdd4129..eb1ee253 100644 --- a/content/operator/ns/index.de.md +++ b/content/operator/ns/index.de.md @@ -11,7 +11,6 @@ booking: - "db-website-fip-international" - "ns-ticket-office" - "db-ticket-office" - --- Die Nederlandse Spoorwegen (NS) ist die staatliche Eisenbahngesellschaft der Niederlande und betreibt den Großteil des Personenverkehrs auf dem niederländischen Schienennetz. diff --git a/content/operator/oebb/index.de.md b/content/operator/oebb/index.de.md index c68f5fdd..f2265515 100644 --- a/content/operator/oebb/index.de.md +++ b/content/operator/oebb/index.de.md @@ -6,7 +6,7 @@ country: - "austria" - "liechtenstein" operator: "oebb" -booking: +booking: - "oebb-website" - "db-website" - "db-website-fip-db" diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 074dee2f..cc226d0e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -13,7 +13,7 @@ id="content" class="{{ if .IsHome }}o-startpage{{ end }}{{ if eq .Page.Type "news" }} o-newspage - {{ end }}{{ if eq .Page.Type "booking" }} o-bookingpage{{ end }}" + {{ end }}{{ if eq .Page.Type "booking" }}o-bookingpage{{ end }}" >
{{ if not .IsHome }} diff --git a/layouts/booking/single.html b/layouts/booking/single.html index c56c11c7..f3436910 100644 --- a/layouts/booking/single.html +++ b/layouts/booking/single.html @@ -2,13 +2,13 @@
diff --git a/layouts/partials/related.html b/layouts/partials/related.html index 149819bb..f028502d 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -8,35 +8,35 @@ {{ end }} {{ if gt (len $related) 0 }} - - {{ end }} From 0bc48e21b376c497bbc7cfba31a43f98659251d8 Mon Sep 17 00:00:00 2001 From: Robert Schuster Date: Sun, 16 Nov 2025 14:56:06 +0100 Subject: [PATCH 6/7] smaller modifications --- content/operator/bdz/index.de.md | 1 - i18n/en.yaml | 2 +- i18n/fr.yaml | 2 +- 3 files changed, 2 insertions(+), 3 deletions(-) diff --git a/content/operator/bdz/index.de.md b/content/operator/bdz/index.de.md index 74657f3e..983441fe 100644 --- a/content/operator/bdz/index.de.md +++ b/content/operator/bdz/index.de.md @@ -5,7 +5,6 @@ description: "Informationen zu den FIP-Bedingungen bei der Balgarski Darschawni country: - "bulgaria" operator: "bdz" -type: "operator" booking: - "bdz-ticket-office" --- diff --git a/i18n/en.yaml b/i18n/en.yaml index cda51063..56fc4d9f 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -77,7 +77,7 @@ news-headline: What's new? news-other: Other News operators_without_fip: Operators without FIP related: - booking: Bei diesen Betreibern nutzbar + booking: Usable with these operators countries: Related Countries news: Related News operators: Related Operators diff --git a/i18n/fr.yaml b/i18n/fr.yaml index 9c6364c8..fa374c2f 100644 --- a/i18n/fr.yaml +++ b/i18n/fr.yaml @@ -77,7 +77,7 @@ news-headline: Quoi de neuf ? news-other: Autres actualités operators_without_fip: Opérateurs sans FIP related: - booking: Bei diesen Betreibern nutzbar + booking: Utilisable avec ces opérateurs countries: Pays associés news: Actualités associées operators: Opérateurs associés From 3d445b278a33d21a6c9fbc3d7db30ce4aad8cbb5 Mon Sep 17 00:00:00 2001 From: MoritzWeber0 Date: Sun, 7 Dec 2025 22:33:37 +0100 Subject: [PATCH 7/7] refactor: Remove custom index, auto-determine operators --- content/operator/bdz/index.de.md | 2 -- content/operator/bdz/index.en.md | 2 -- content/operator/bdz/index.fr.md | 2 -- content/operator/cd/index.de.md | 5 ----- content/operator/cd/index.en.md | 5 ----- content/operator/cd/index.fr.md | 5 ----- content/operator/cp/index.de.md | 2 -- content/operator/cp/index.en.md | 2 -- content/operator/cp/index.fr.md | 2 -- content/operator/dsb/index.de.md | 7 ------- content/operator/dsb/index.en.md | 7 ------- content/operator/dsb/index.fr.md | 7 ------- content/operator/eurostar/index.de.md | 8 -------- content/operator/eurostar/index.en.md | 8 -------- content/operator/eurostar/index.fr.md | 8 -------- content/operator/euskotren/index.de.md | 2 -- content/operator/euskotren/index.en.md | 2 -- content/operator/euskotren/index.fr.md | 2 -- content/operator/fs/index.de.md | 7 ------- content/operator/fs/index.en.md | 7 ------- content/operator/fs/index.fr.md | 7 ------- content/operator/gysev/index.de.md | 3 --- content/operator/gysev/index.en.md | 3 --- content/operator/gysev/index.fr.md | 3 --- content/operator/ns/index.de.md | 6 ------ content/operator/ns/index.en.md | 6 ------ content/operator/ns/index.fr.md | 6 ------ content/operator/oebb/index.de.md | 9 --------- content/operator/oebb/index.en.md | 9 --------- content/operator/oebb/index.fr.md | 9 --------- content/operator/pkp/index.de.md | 9 --------- content/operator/pkp/index.en.md | 9 --------- content/operator/pkp/index.fr.md | 9 --------- content/operator/renfe/index.de.md | 3 --- content/operator/renfe/index.en.md | 3 --- content/operator/renfe/index.fr.md | 3 --- content/operator/sbb/index.de.md | 9 --------- content/operator/sbb/index.en.md | 9 --------- content/operator/sbb/index.fr.md | 9 --------- content/operator/sncb/index.de.md | 6 ------ content/operator/sncb/index.en.md | 6 ------ content/operator/sncb/index.fr.md | 6 ------ content/operator/sncf/index.de.md | 8 -------- content/operator/sncf/index.en.md | 8 -------- content/operator/sncf/index.fr.md | 8 -------- content/operator/zssk/index.de.md | 5 ----- content/operator/zssk/index.en.md | 5 ----- content/operator/zssk/index.fr.md | 5 ----- hugo.yaml | 2 -- layouts/partials/related.html | 8 +++++++- 50 files changed, 7 insertions(+), 276 deletions(-) diff --git a/content/operator/bdz/index.de.md b/content/operator/bdz/index.de.md index 983441fe..6ecd86eb 100644 --- a/content/operator/bdz/index.de.md +++ b/content/operator/bdz/index.de.md @@ -5,8 +5,6 @@ description: "Informationen zu den FIP-Bedingungen bei der Balgarski Darschawni country: - "bulgaria" operator: "bdz" -booking: - - "bdz-ticket-office" --- Die Balgarski Darschawni Schelesnizi (BDŽ) ist die staatliche Eisenbahngesellschaft von Bulgarien und betreibt derzeit fast alle Verbindungen im Personenverkehr auf dem bulgarischen Schienennetz. diff --git a/content/operator/bdz/index.en.md b/content/operator/bdz/index.en.md index e2ea1c11..adfded8e 100644 --- a/content/operator/bdz/index.en.md +++ b/content/operator/bdz/index.en.md @@ -5,8 +5,6 @@ description: "Information about FIP conditions at Balgarski Darschawni Schelesni country: - "bulgaria" operator: "bdz" -booking: - - "bdz-ticket-office" --- Balgarski Darschawni Schelesnizi (BDŽ) is the state railway company of Bulgaria and currently operates almost all passenger services on the Bulgarian rail network. diff --git a/content/operator/bdz/index.fr.md b/content/operator/bdz/index.fr.md index 89b99a18..286d78c2 100644 --- a/content/operator/bdz/index.fr.md +++ b/content/operator/bdz/index.fr.md @@ -5,8 +5,6 @@ description: "Informations sur les conditions FIP chez Balgarski Darschawni Sche country: - "bulgaria" operator: "bdz" -booking: - - "bdz-ticket-office" --- Balgarski Darschawni Schelesnizi (BDŽ) est la compagnie ferroviaire nationale de Bulgarie et exploite actuellement presque tous les services voyageurs sur le réseau ferroviaire bulgare. diff --git a/content/operator/cd/index.de.md b/content/operator/cd/index.de.md index adf2cad3..811ada66 100644 --- a/content/operator/cd/index.de.md +++ b/content/operator/cd/index.de.md @@ -5,11 +5,6 @@ description: "Informationen zu den FIP-Bedingungen bei der České dráhy (ČD). country: - "czechia" operator: "cd" -booking: - - "cd-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "cd-ticket-office" --- Die České dráhy (ČD) ist die staatliche Eisenbahngesellschaft der Tschechischen Republik und betreibt einen großen Teil der Verbindungen im Personenverkehr auf dem tschechischen Schienennetz. diff --git a/content/operator/cd/index.en.md b/content/operator/cd/index.en.md index dce0b358..7738657f 100644 --- a/content/operator/cd/index.en.md +++ b/content/operator/cd/index.en.md @@ -5,11 +5,6 @@ description: "Information about FIP conditions at České dráhy (ČD)." country: - "czechia" operator: "cd" -booking: - - "cd-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "cd-ticket-office" --- České dráhy (ČD) is the state railway company of the Czech Republic and operates a large part of passenger services on the Czech rail network. diff --git a/content/operator/cd/index.fr.md b/content/operator/cd/index.fr.md index bce8b8f7..88169577 100644 --- a/content/operator/cd/index.fr.md +++ b/content/operator/cd/index.fr.md @@ -5,11 +5,6 @@ description: "Informations sur les conditions FIP chez České dráhy (ČD)." country: - "czechia" operator: "cd" -booking: - - "cd-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "cd-ticket-office" --- České dráhy (ČD) est la compagnie ferroviaire nationale de la République tchèque et exploite une grande partie des services voyageurs sur le réseau ferroviaire tchèque. diff --git a/content/operator/cp/index.de.md b/content/operator/cp/index.de.md index 4b20bfaf..15d553cb 100644 --- a/content/operator/cp/index.de.md +++ b/content/operator/cp/index.de.md @@ -5,8 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei Comboios de Portugal ( country: - "portugal" operator: "cp" -booking: - - "cp-ticket-office" --- Die CP (Comboios de Portugal) ist die portugiesische Staatsbahn und die wichtigste Bahngesellschaft in Portugal. diff --git a/content/operator/cp/index.en.md b/content/operator/cp/index.en.md index 0f81adc1..4bc0f38c 100644 --- a/content/operator/cp/index.en.md +++ b/content/operator/cp/index.en.md @@ -5,8 +5,6 @@ description: "Information about FIP conditions at Comboios de Portugal (CP)." country: - "portugal" operator: "cp" -booking: - - "cp-ticket-office" --- CP (Comboios de Portugal) is the Portuguese state railway and the main railway company in Portugal. diff --git a/content/operator/cp/index.fr.md b/content/operator/cp/index.fr.md index ca84a469..8311f4f9 100644 --- a/content/operator/cp/index.fr.md +++ b/content/operator/cp/index.fr.md @@ -5,8 +5,6 @@ description: "Informations sur les conditions FIP chez Comboios de Portugal (CP) country: - "portugal" operator: "cp" -booking: - - "cp-ticket-office" --- La CP (Comboios de Portugal) est la compagnie ferroviaire nationale portugaise et la principale société de chemins de fer au Portugal. diff --git a/content/operator/dsb/index.de.md b/content/operator/dsb/index.de.md index a2a910a7..cfd269d3 100644 --- a/content/operator/dsb/index.de.md +++ b/content/operator/dsb/index.de.md @@ -5,13 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei DSB." country: - "denmark" operator: "dsb" -booking: - - "dsb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "dsb-ticket-office" - - "db-ticket-office" --- Die DSB (Danske Statsbaner) ist die staatliche Eisenbahngesellschaft in Dänemark. Sie betreibt den Großteil des Personenverkehrs auf dem dänischen Schienennetz. diff --git a/content/operator/dsb/index.en.md b/content/operator/dsb/index.en.md index 2edb179f..677ddf93 100644 --- a/content/operator/dsb/index.en.md +++ b/content/operator/dsb/index.en.md @@ -5,13 +5,6 @@ description: "Information about FIP conditions at DSB." country: - "denmark" operator: "dsb" -booking: - - "dsb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "dsb-ticket-office" - - "db-ticket-office" --- The DSB (Danske Statsbaner) is the state-owned railway company in Denmark. It operates the majority of passenger traffic on the Danish rail network. diff --git a/content/operator/dsb/index.fr.md b/content/operator/dsb/index.fr.md index 162931a3..cd08158b 100644 --- a/content/operator/dsb/index.fr.md +++ b/content/operator/dsb/index.fr.md @@ -5,13 +5,6 @@ description: "Informations sur les conditions FIP chez DSB." country: - "denmark" operator: "dsb" -booking: - - "dsb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "dsb-ticket-office" - - "db-ticket-office" --- La DSB (Danske Statsbaner) est la compagnie ferroviaire publique du Danemark. Elle exploite la majorité du trafic voyageurs sur le réseau ferroviaire danois. diff --git a/content/operator/eurostar/index.de.md b/content/operator/eurostar/index.de.md index 96f07a68..d1be3c3e 100644 --- a/content/operator/eurostar/index.de.md +++ b/content/operator/eurostar/index.de.md @@ -8,14 +8,6 @@ country: - "united-kingdom" - "france" operator: "eurostar" -booking: - - "internationalrail-email" - - "trainseurope-email" - - "eurostar-phone" - - "cfl-phone" - - "trainseurope-phone" - - "eurostar-ticket-office" - - "ns-ticket-office" --- Eurostar ist ein Betreiber von Hochgeschwindigkeitszügen in Westeuropa. Ursprünglich wurden nur die blauen Züge zwischen London und Paris/Brüssel/Amsterdam durch den Eurotunnel als Eurostar bezeichnet. Nach dem Zusammenschluss zwischen Thalys und Eurostar werden auch die roten Thalys-Züge als Eurostar (Red) bezeichnet. diff --git a/content/operator/eurostar/index.en.md b/content/operator/eurostar/index.en.md index e5f989ec..e5e69682 100644 --- a/content/operator/eurostar/index.en.md +++ b/content/operator/eurostar/index.en.md @@ -8,14 +8,6 @@ country: - "united-kingdom" - "france" operator: "eurostar" -booking: - - "internationalrail-email" - - "trainseurope-email" - - "eurostar-phone" - - "cfl-phone" - - "trainseurope-phone" - - "eurostar-ticket-office" - - "ns-ticket-office" --- Eurostar is an operator of high-speed trains in Western Europe. Originally, only the blue trains between London and Paris/Brussels/Amsterdam through the Eurotunnel were referred to as Eurostar. After the merger between Thalys and Eurostar, the red Thalys trains are now also referred to as Eurostar (Red). diff --git a/content/operator/eurostar/index.fr.md b/content/operator/eurostar/index.fr.md index d6ae28f8..d1129914 100644 --- a/content/operator/eurostar/index.fr.md +++ b/content/operator/eurostar/index.fr.md @@ -8,14 +8,6 @@ country: - "united-kingdom" - "france" operator: "eurostar" -booking: - - "internationalrail-email" - - "trainseurope-email" - - "eurostar-phone" - - "cfl-phone" - - "trainseurope-phone" - - "eurostar-ticket-office" - - "ns-ticket-office" --- Eurostar est un opérateur de trains à grande vitesse en Europe de l’Ouest. À l’origine, seuls les trains bleus entre Londres et Paris/Bruxelles/Amsterdam via l’Eurotunnel étaient désignés comme Eurostar. Depuis la fusion entre Thalys et Eurostar, les anciens trains rouges Thalys sont désormais appelés Eurostar (Rouge). diff --git a/content/operator/euskotren/index.de.md b/content/operator/euskotren/index.de.md index d22d56b3..09cb7d7e 100644 --- a/content/operator/euskotren/index.de.md +++ b/content/operator/euskotren/index.de.md @@ -4,8 +4,6 @@ title: "Euskotren" country: - "spain" operator: "euskotren" -booking: - - "euskotren-ticket-office" --- Im Norden Spaniens betreibt Euskotren ein Netz der baskischen Eisenbahn, das die malerischen Küstenorte und das gebirgige Hinterland zwischen der französischen Grenze bei Hendaye und der Metropole Bilbao verbindet. Euskotren gehört der baskische Regionalregierung. diff --git a/content/operator/euskotren/index.en.md b/content/operator/euskotren/index.en.md index 746d947e..d32fe8d4 100644 --- a/content/operator/euskotren/index.en.md +++ b/content/operator/euskotren/index.en.md @@ -4,8 +4,6 @@ title: "Euskotren" country: - "spain" operator: "euskotren" -booking: - - "euskotren-ticket-office" --- In northern Spain, Euskotren operates a Basque railway network that connects the picturesque coastal towns and mountainous hinterland between the French border at Hendaye and the metropolis of Bilbao. Euskotren is owned by the Basque regional government. diff --git a/content/operator/euskotren/index.fr.md b/content/operator/euskotren/index.fr.md index f64d01c7..dcb9217b 100644 --- a/content/operator/euskotren/index.fr.md +++ b/content/operator/euskotren/index.fr.md @@ -4,8 +4,6 @@ title: "Euskotren" country: - "spain" operator: "euskotren" -booking: - - "euskotren-ticket-office" --- Dans le nord de l'Espagne, Euskotren exploite un réseau ferroviaire basque qui relie les villes côtières pittoresques et l'arrière-pays montagneux entre la frontière française à Hendaye et la métropole de Bilbao. Euskotren appartient au gouvernement régional basque. diff --git a/content/operator/fs/index.de.md b/content/operator/fs/index.de.md index a0513a02..37b27cfb 100644 --- a/content/operator/fs/index.de.md +++ b/content/operator/fs/index.de.md @@ -5,13 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei der Trenitalia (FS)." country: - "italy" operator: "trenitalia" -booking: - - "fs-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "fs-ticket-machine" - - "fs-ticket-office" - - "db-ticket-office" --- Ferrovie dello Stato Italiane (FS) ist die italienische Staatsbahn. FIP Vergünstigungen gelten jedoch nur bei der Tochtergesellschaft Trenitalia. diff --git a/content/operator/fs/index.en.md b/content/operator/fs/index.en.md index 2d496956..8791aeab 100644 --- a/content/operator/fs/index.en.md +++ b/content/operator/fs/index.en.md @@ -5,13 +5,6 @@ description: "Find out about the FIP conditions at Trenitalia (FS)." country: - "italy" operator: "trenitalia" -booking: - - "fs-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "fs-ticket-machine" - - "fs-ticket-office" - - "db-ticket-office" --- Ferrovie dello Stato Italiane (FS) is the Italian state railway. FIP discounts only apply to its subsidiary Trenitalia. diff --git a/content/operator/fs/index.fr.md b/content/operator/fs/index.fr.md index 19c4eb5f..55f631d6 100644 --- a/content/operator/fs/index.fr.md +++ b/content/operator/fs/index.fr.md @@ -5,13 +5,6 @@ description: "Informations sur les conditions FIP chez Trenitalia (FS)." country: - "italy" operator: "trenitalia" -booking: - - "fs-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "fs-ticket-machine" - - "fs-ticket-office" - - "db-ticket-office" --- Ferrovie dello Stato Italiane (FS) est la compagnie ferroviaire nationale italienne. Les rabais FIP ne s’appliquent qu’à sa filiale Trenitalia. diff --git a/content/operator/gysev/index.de.md b/content/operator/gysev/index.de.md index 76e72693..4ccc3e3f 100644 --- a/content/operator/gysev/index.de.md +++ b/content/operator/gysev/index.de.md @@ -4,9 +4,6 @@ title: "GySEV / Raaberbahn" country: - "austria" operator: "gysev" -booking: - - "oebb-phone" - - "oebb-ticket-office" --- Die Raab-Oedenburg-Ebenfurter Eisenbahn AG (ungarisch Győr-Sopron-Ebenfurti Vasút Zrt.), kurz GySEV oder Raaberbahn ist ein privates ungarisches Eisenbahnunternehmen, welches Regionalzüge in Ungarn und Österreich betreibt. Die Züge verkehren hauptsächlich südlich und östlich des Neusiedlersees (Westungarn), teilweise sind sie sogar auf eigener Infrastruktur unterwegs. diff --git a/content/operator/gysev/index.en.md b/content/operator/gysev/index.en.md index 8a301906..826870b9 100644 --- a/content/operator/gysev/index.en.md +++ b/content/operator/gysev/index.en.md @@ -4,9 +4,6 @@ title: "GySEV / Raaberbahn" country: - "austria" operator: "gysev" -booking: - - "oebb-phone" - - "oebb-ticket-office" --- The Raab-Oedenburg-Ebenfurter Eisenbahn AG (Hungarian: Győr-Sopron-Ebenfurti Vasút Zrt.), short: GySEV or Raaberbahn, is a private Hungarian railway company that operates regional trains in Hungary and Austria. They primarily operate passenger services south and east of Lake Neusiedl (Western Hungary), partly even on their own infrastructure. diff --git a/content/operator/gysev/index.fr.md b/content/operator/gysev/index.fr.md index f2c54e8f..d879e9ac 100644 --- a/content/operator/gysev/index.fr.md +++ b/content/operator/gysev/index.fr.md @@ -4,9 +4,6 @@ title: "GySEV / Raaberbahn" country: - "austria" operator: "gysev" -booking: - - "oebb-phone" - - "oebb-ticket-office" --- La Raab-Oedenburg-Ebenfurter Eisenbahn AG (en hongrois Győr-Sopron-Ebenfurti Vasút Zrt.), abrégée GySEV ou Raaberbahn, est une compagnie ferroviaire privée hongroise qui exploite des trains régionaux en Hongrie et en Autriche. Elle assure principalement le transport de voyageurs au sud et à l'est du lac de Neusiedl (ouest de la Hongrie), parfois même sur sa propre infrastructure. diff --git a/content/operator/ns/index.de.md b/content/operator/ns/index.de.md index 7c2bf529..4f7c1f61 100644 --- a/content/operator/ns/index.de.md +++ b/content/operator/ns/index.de.md @@ -5,12 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei NS." country: - "netherlands" operator: "ns" -booking: - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "ns-ticket-office" - - "db-ticket-office" --- Die Nederlandse Spoorwegen (NS) ist die staatliche Eisenbahngesellschaft der Niederlande und betreibt den Großteil des Personenverkehrs auf dem niederländischen Schienennetz. diff --git a/content/operator/ns/index.en.md b/content/operator/ns/index.en.md index 3c54dc8e..beeb64b8 100644 --- a/content/operator/ns/index.en.md +++ b/content/operator/ns/index.en.md @@ -5,12 +5,6 @@ description: "Information about FIP conditions at NS." country: - "netherlands" operator: "ns" -booking: - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "ns-ticket-office" - - "db-ticket-office" --- Nederlandse Spoorwegen (NS) is the state railway company of the Netherlands and operates the majority of passenger traffic on the Dutch rail network. diff --git a/content/operator/ns/index.fr.md b/content/operator/ns/index.fr.md index c00d36ec..5c24111e 100644 --- a/content/operator/ns/index.fr.md +++ b/content/operator/ns/index.fr.md @@ -5,12 +5,6 @@ description: "Informations sur les conditions FIP chez NS." country: - "netherlands" operator: "ns" -booking: - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "ns-ticket-office" - - "db-ticket-office" --- Les Nederlandse Spoorwegen (NS) sont la compagnie ferroviaire nationale des Pays-Bas et assurent la majorité du trafic voyageurs dans le pays. diff --git a/content/operator/oebb/index.de.md b/content/operator/oebb/index.de.md index f2265515..f838b611 100644 --- a/content/operator/oebb/index.de.md +++ b/content/operator/oebb/index.de.md @@ -6,15 +6,6 @@ country: - "austria" - "liechtenstein" operator: "oebb" -booking: - - "oebb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "oebb-phone" - - "oebb-ticket-office" - - "oebb-ticket-machine" - - "db-ticket-office" aliases: - obb diff --git a/content/operator/oebb/index.en.md b/content/operator/oebb/index.en.md index 4708465a..fcd8d555 100644 --- a/content/operator/oebb/index.en.md +++ b/content/operator/oebb/index.en.md @@ -6,15 +6,6 @@ country: - "austria" - "liechtenstein" operator: "oebb" -booking: - - "oebb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "oebb-phone" - - "oebb-ticket-office" - - "oebb-ticket-machine" - - "db-ticket-office" aliases: - obb diff --git a/content/operator/oebb/index.fr.md b/content/operator/oebb/index.fr.md index 6571577d..383df50e 100644 --- a/content/operator/oebb/index.fr.md +++ b/content/operator/oebb/index.fr.md @@ -6,15 +6,6 @@ country: - "austria" - "liechtenstein" operator: "oebb" -booking: - - "oebb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "oebb-phone" - - "oebb-ticket-office" - - "oebb-ticket-machine" - - "db-ticket-office" aliases: - obb diff --git a/content/operator/pkp/index.de.md b/content/operator/pkp/index.de.md index 61aa4b6a..547854f3 100644 --- a/content/operator/pkp/index.de.md +++ b/content/operator/pkp/index.de.md @@ -5,15 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei der PKP." country: - "poland" operator: "pkp" -booking: - - "pkp-website" - - "koleo-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "pkp-ticket-office" - - "pkp-ticket-machine" - - "db-ticket-office" --- Die polnische Staatsbahn PKP (Polskie Koleje Państwowe) betreibt mit ihren Tochtergesellschaften PKP Intercity und Polregio einen Großteil des polnischen Schienenpersonenverkehrs. diff --git a/content/operator/pkp/index.en.md b/content/operator/pkp/index.en.md index d69db50a..2b4dc94b 100644 --- a/content/operator/pkp/index.en.md +++ b/content/operator/pkp/index.en.md @@ -5,15 +5,6 @@ description: "Information about FIP conditions at PKP." country: - "poland" operator: "pkp" -booking: - - "pkp-website" - - "koleo-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "pkp-ticket-office" - - "pkp-ticket-machine" - - "db-ticket-office" --- The Polish State Railways PKP (Polskie Koleje Państwowe) operates, together with its subsidiaries PKP Intercity and Polregio, a large part of Polish passenger rail transport. diff --git a/content/operator/pkp/index.fr.md b/content/operator/pkp/index.fr.md index c2eadf45..95923ffe 100644 --- a/content/operator/pkp/index.fr.md +++ b/content/operator/pkp/index.fr.md @@ -5,15 +5,6 @@ description: "Informations sur les conditions FIP chez PKP." country: - "poland" operator: "pkp" -booking: - - "pkp-website" - - "koleo-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "pkp-ticket-office" - - "pkp-ticket-machine" - - "db-ticket-office" --- Les chemins de fer polonais PKP (Polskie Koleje Państwowe) exploitent, avec leurs filiales PKP Intercity et Polregio, une grande partie du transport ferroviaire de voyageurs en Pologne. diff --git a/content/operator/renfe/index.de.md b/content/operator/renfe/index.de.md index b5d6091a..33777363 100644 --- a/content/operator/renfe/index.de.md +++ b/content/operator/renfe/index.de.md @@ -6,9 +6,6 @@ country: - "spain" - "france" operator: "renfe" -booking: - - "db-ticket-office" - - "renfe-ticket-office" --- Renfe Operadora ist ein staatliches spanisches Eisenbahnunternehmen. Hierzu gehören komfortable Hochgeschwindkeitszüge, diverse Regionalzüge und S-Bahnen. diff --git a/content/operator/renfe/index.en.md b/content/operator/renfe/index.en.md index df3ccf7b..42e9df6d 100644 --- a/content/operator/renfe/index.en.md +++ b/content/operator/renfe/index.en.md @@ -6,9 +6,6 @@ country: - "spain" - "france" operator: "renfe" -booking: - - "db-ticket-office" - - "renfe-ticket-office" --- Renfe Operadora is a Spanish state-owned railroad company. It operates comfortable high-speed trains, various regional trains and suburban trains. diff --git a/content/operator/renfe/index.fr.md b/content/operator/renfe/index.fr.md index d0ed6565..1c43c70f 100644 --- a/content/operator/renfe/index.fr.md +++ b/content/operator/renfe/index.fr.md @@ -6,9 +6,6 @@ country: - "spain" - "france" operator: "renfe" -booking: - - "db-ticket-office" - - "renfe-ticket-office" --- Renfe Operadora est la compagnie ferroviaire publique espagnole. Elle exploite des trains à grande vitesse confortables, divers trains régionaux et des trains de banlieue. diff --git a/content/operator/sbb/index.de.md b/content/operator/sbb/index.de.md index 29c4984c..d9148a71 100644 --- a/content/operator/sbb/index.de.md +++ b/content/operator/sbb/index.de.md @@ -4,15 +4,6 @@ title: "SBB CFF FFS" description: "Informationen über die FIP-Bedingungen bei der SBB CFF FFS." country: - "switzerland" -booking: - - "sbb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "oebb-phone" - - "sbb-ticket-office" - - "sbb-ticket-machine" - - "db-ticket-office" --- Die SBB (Schweizerische Bundesbahnen) - (Chemins de fer fédéraux suisses CFF, Ferrovie federali svizzere FFS) ist die nationale Eisenbahngesellschaft der Schweiz. Sie betreibt einen Großteil des schweizerischen Schienennetzes. Die SBB ist bekannt für ihre Pünktlichkeit und Zuverlässigkeit. diff --git a/content/operator/sbb/index.en.md b/content/operator/sbb/index.en.md index 4031729d..c2185f78 100644 --- a/content/operator/sbb/index.en.md +++ b/content/operator/sbb/index.en.md @@ -4,15 +4,6 @@ title: "SBB CFF FFS" description: "Information about FIP conditions at SBB CFF FFS." country: - "switzerland" -booking: - - "sbb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "oebb-phone" - - "sbb-ticket-office" - - "sbb-ticket-machine" - - "db-ticket-office" --- SBB (Swiss Federal Railways) - (Chemins de fer fédéraux suisses CFF, Ferrovie federali svizzere FFS) is the national railway company of Switzerland. It operates most of the Swiss rail network and is known for its punctuality and reliability. diff --git a/content/operator/sbb/index.fr.md b/content/operator/sbb/index.fr.md index 6de5d536..00d3408f 100644 --- a/content/operator/sbb/index.fr.md +++ b/content/operator/sbb/index.fr.md @@ -4,15 +4,6 @@ title: "SBB CFF FFS" description: "Informations sur les conditions FIP chez les CFF (SBB CFF FFS)." country: - "switzerland" -booking: - - "sbb-website" - - "db-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "oebb-phone" - - "sbb-ticket-office" - - "sbb-ticket-machine" - - "db-ticket-office" --- Les CFF (Chemins de fer fédéraux suisses, SBB en allemand, FFS en italien) sont la compagnie ferroviaire nationale de la Suisse. Ils exploitent la majeure partie du réseau ferroviaire suisse et sont réputés pour leur ponctualité et leur fiabilité. diff --git a/content/operator/sncb/index.de.md b/content/operator/sncb/index.de.md index 85326db5..61e645b4 100644 --- a/content/operator/sncb/index.de.md +++ b/content/operator/sncb/index.de.md @@ -5,12 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei SNCB." country: - "belgium" operator: "sncb" -booking: - - "sncb-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "sncb-ticket-office" - - "db-ticket-office" --- Die SNCB (Société nationale des chemins de fer belges) bzw. NMBS (Nationale Maatschappij der Belgische Spoorwegen) ist die belgische Staatsbahn und die wichtigste Bahngesellschaft in Belgien. diff --git a/content/operator/sncb/index.en.md b/content/operator/sncb/index.en.md index 95836989..fa462587 100644 --- a/content/operator/sncb/index.en.md +++ b/content/operator/sncb/index.en.md @@ -5,12 +5,6 @@ description: "Find out about the FIP conditions at SNCB." country: - "belgium" operator: "sncb" -booking: - - "sncb-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "sncb-ticket-office" - - "db-ticket-office" --- The SNCB (Société nationale des chemins de fer belges) or NMBS (Nationale Maatschappij der Belgische Spoorwegen) is the Belgian national railway operator and the most important railway operator in Belgium. diff --git a/content/operator/sncb/index.fr.md b/content/operator/sncb/index.fr.md index 212dfc96..7ecfbd85 100644 --- a/content/operator/sncb/index.fr.md +++ b/content/operator/sncb/index.fr.md @@ -5,12 +5,6 @@ description: "Informations sur les conditions FIP à la SNCB." country: - "belgium" operator: "sncb" -booking: - - "sncb-website" - - "db-website-fip-db" - - "db-website-fip-international" - - "sncb-ticket-office" - - "db-ticket-office" --- La SNCB (Société nationale des chemins de fer belges) ou NMBS (Nationale Maatschappij der Belgische Spoorwegen) est l’opérateur ferroviaire national belge et le plus important du pays. diff --git a/content/operator/sncf/index.de.md b/content/operator/sncf/index.de.md index 94451adc..eaae606f 100644 --- a/content/operator/sncf/index.de.md +++ b/content/operator/sncf/index.de.md @@ -10,14 +10,6 @@ country: - "belgium" - "luxembourg" operator: "sncf" -booking: - - "db-website-fip-db" - - "db-website-fip-international" - - "sncb-website" - - "sncf-phone" - - "sncf-ticket-office" - - "transilien-ticket-office" - - "db-ticket-office" --- Die SNCF (Société Nationale des Chemins de fer Français) ist die französische Staatsbahn und die wichtigste Bahngesellschaft in Frankreich. Sie betreibt fast alle Fern- und Regionalzüge in Frankreich. diff --git a/content/operator/sncf/index.en.md b/content/operator/sncf/index.en.md index fc1a495b..b2a18365 100644 --- a/content/operator/sncf/index.en.md +++ b/content/operator/sncf/index.en.md @@ -10,14 +10,6 @@ country: - "belgium" - "luxembourg" operator: "sncf" -booking: - - "db-website-fip-db" - - "db-website-fip-international" - - "sncb-website" - - "sncf-phone" - - "sncf-ticket-office" - - "transilien-ticket-office" - - "db-ticket-office" --- SNCF (Société Nationale des Chemins de fer Français) is the French national railway company and the main rail operator in France. It operates almost all long-distance and regional trains in France. diff --git a/content/operator/sncf/index.fr.md b/content/operator/sncf/index.fr.md index 4b0159f4..8f024382 100644 --- a/content/operator/sncf/index.fr.md +++ b/content/operator/sncf/index.fr.md @@ -10,14 +10,6 @@ country: - "belgium" - "luxembourg" operator: "sncf" -booking: - - "db-website-fip-db" - - "db-website-fip-international" - - "sncb-website" - - "sncf-phone" - - "sncf-ticket-office" - - "transilien-ticket-office" - - "db-ticket-office" --- La SNCF (Société Nationale des Chemins de fer Français) est la compagnie ferroviaire nationale française et le principal opérateur ferroviaire en France. Elle exploite la quasi-totalité des trains grandes lignes et régionaux du pays. diff --git a/content/operator/zssk/index.de.md b/content/operator/zssk/index.de.md index fc3e14b6..5347623c 100644 --- a/content/operator/zssk/index.de.md +++ b/content/operator/zssk/index.de.md @@ -5,11 +5,6 @@ description: "Informationen über die FIP-Bedingungen bei ZSR / ZSSK." country: - "slovakia" operator: "zssk" -booking: - - "zssk-website" - - "db-website" - - "zssk-ticket-office" - - "db-ticket-office" aliases: - zsr diff --git a/content/operator/zssk/index.en.md b/content/operator/zssk/index.en.md index 36a169f5..f328491a 100644 --- a/content/operator/zssk/index.en.md +++ b/content/operator/zssk/index.en.md @@ -5,11 +5,6 @@ description: "Find out about the FIP conditions at ZSR / ZSSK." country: - "slovakia" operator: "zssk" -booking: - - "zssk-website" - - "db-website" - - "zssk-ticket-office" - - "db-ticket-office" aliases: - zsr diff --git a/content/operator/zssk/index.fr.md b/content/operator/zssk/index.fr.md index 42e10fd2..7299c8d9 100644 --- a/content/operator/zssk/index.fr.md +++ b/content/operator/zssk/index.fr.md @@ -5,11 +5,6 @@ description: "Découvrez les conditions FIP chez ZSR / ZSSK." country: - "slovakia" operator: "zssk" -booking: - - "zssk-website" - - "db-website" - - "zssk-ticket-office" - - "db-ticket-office" aliases: - zsr diff --git a/hugo.yaml b/hugo.yaml index 666fcc95..fe6b3d5b 100644 --- a/hugo.yaml +++ b/hugo.yaml @@ -38,8 +38,6 @@ related: weight: 100 - name: operator weight: 100 - - name: booking - weight: 100 markup: tableOfContents: diff --git a/layouts/partials/related.html b/layouts/partials/related.html index f028502d..312d8bc0 100644 --- a/layouts/partials/related.html +++ b/layouts/partials/related.html @@ -2,7 +2,13 @@ {{ $related := "" }} {{ if eq $pageType "booking" }} - {{ $related = where (where .page.Site.RegularPages "Type" "operator") "Params.booking" "intersect" (slice .page.File.ContentBaseName) }} + {{ $related = slice }} + {{ $searchPattern := printf "booking id=\"%s\"" .page.File.ContentBaseName }} + {{ range where .page.Site.RegularPages "Type" "operator" }} + {{ if in .RawContent $searchPattern }} + {{ $related = $related | append . }} + {{ end }} + {{ end }} {{ else }} {{ $related = where (.page.Site.RegularPages.RelatedIndices .page .index) ".Page.Type" $pageType }} {{ end }}