diff --git a/content/_index.de.md b/content/_index.de.md index d56c6070..33fbfa1e 100644 --- a/content/_index.de.md +++ b/content/_index.de.md @@ -1,3 +1,8 @@ +--- +description: "Die Community-Website für alle Informationen zu FIP (internationale Fahrvergünstigungen für Eisenbahnpersonal). +In diesem Projekt sind Informationen und Nutzungshinweise zu FIP sowie Besonderheiten zu den jeweiligen beteiligten Bahngesellschaften aufgeführt." +--- + ## Willkommen beim FIP Guide! Die Community-Website für alle Informationen zu FIP (internationale Fahrvergünstigungen für Eisenbahnpersonal). diff --git a/content/_index.en.md b/content/_index.en.md index 05241bf5..d1e898dc 100644 --- a/content/_index.en.md +++ b/content/_index.en.md @@ -1,3 +1,8 @@ +--- +description: "The community website for all information about FIP. +This project includes information and usage instructions for FIP as well as special features of the respective participating railway companies." +--- + ## Welcome to the FIP Guide! The community website for all information about FIP. diff --git a/content/contact.de.html b/content/contact.de.html index 1adb81a9..63783dd5 100644 --- a/content/contact.de.html +++ b/content/contact.de.html @@ -1,5 +1,6 @@ --- title: "Kontakt" +description: "Kontaktiere das Team hinter dem FIP Guide – wir sind für Fragen und Anmerkungen erreichbar und freuen uns auf deinen Inhaltsbeitrag." ---
diff --git a/content/contact.en.html b/content/contact.en.html index 6d3e5193..6d6675ae 100644 --- a/content/contact.en.html +++ b/content/contact.en.html @@ -1,5 +1,6 @@ --- title: "Contact" +description: "Contact the team behind the FIP Guide - we are here for questions and comments and look forward to your content contribution." --- diff --git a/content/country/belgium/index.de.md b/content/country/belgium/index.de.md index 1d4142c0..80897866 100644 --- a/content/country/belgium/index.de.md +++ b/content/country/belgium/index.de.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Belgien" +description: "Informationen über die FIP-Bedingungen für Belgien und für welche Betreiber Vergünstigungen genutzt werden können." country: "belgium" --- diff --git a/content/country/belgium/index.en.md b/content/country/belgium/index.en.md index 744b7db6..84b15576 100644 --- a/content/country/belgium/index.en.md +++ b/content/country/belgium/index.en.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Belgium" +description: "Find out about the FIP conditions for Belgium and for which operators you can benefit from discounts." country: "belgium" --- diff --git a/content/country/netherlands/index.de.md b/content/country/netherlands/index.de.md index 152bc2c9..4dd84517 100644 --- a/content/country/netherlands/index.de.md +++ b/content/country/netherlands/index.de.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Niederlande" +description: "Informationen über die FIP-Bedingungen für die Niederlande und für welche Betreiber Vergünstigungen genutzt werden können." country: "netherlands" --- diff --git a/content/country/netherlands/index.en.md b/content/country/netherlands/index.en.md index fa76380a..e79979b9 100644 --- a/content/country/netherlands/index.en.md +++ b/content/country/netherlands/index.en.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Netherlands" +description: "Find out about the FIP conditions for the nederlands and for which operators you can benefit from discounts." country: "netherlands" --- diff --git a/content/country/slovakia/index.de.md b/content/country/slovakia/index.de.md index ed2bdf3f..76866ead 100644 --- a/content/country/slovakia/index.de.md +++ b/content/country/slovakia/index.de.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Slowakei" +description: "Informationen über die FIP-Bedingungen für die Slowakei und für welche Betreiber Vergünstigungen genutzt werden können." country: "slovakia" --- diff --git a/content/country/slovakia/index.en.md b/content/country/slovakia/index.en.md index 7b2e19b1..a71028f6 100644 --- a/content/country/slovakia/index.en.md +++ b/content/country/slovakia/index.en.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Slovakia" +description: "Find out about the FIP conditions for slovakia and for which operators you can benefit from discounts." country: "slovakia" --- diff --git a/content/generalInformation.de.md b/content/generalInformation.de.md index c04da6c8..e0de0c9f 100644 --- a/content/generalInformation.de.md +++ b/content/generalInformation.de.md @@ -1,6 +1,7 @@ --- date: "2025-03-25" title: "Übergreifende Infos" +description: "Informationen über die allgemeinen Hinweise zu FIP und wie FIP in Anspruch genommen werden kann." --- Hier findest du übergreifende Informationen zum FIP Guide. diff --git a/content/generalInformation.en.md b/content/generalInformation.en.md index 68f5c6a8..8d68f062 100644 --- a/content/generalInformation.en.md +++ b/content/generalInformation.en.md @@ -1,6 +1,7 @@ --- date: "2025-03-25" title: "General Information" +description: "Find out about the general information on FIP and how you can use FIP." --- Here you will find comprehensive information about the FIP Guide. diff --git a/content/imprint.de.md b/content/imprint.de.md index b45d42d6..764cc82c 100644 --- a/content/imprint.de.md +++ b/content/imprint.de.md @@ -1,5 +1,6 @@ --- title: "Impressum" +description: "Impressum der FIP Guide Website: rechtliche Angaben und Informationen zum Anbieter." --- **Lennart Rommeiß**\ diff --git a/content/imprint.en.md b/content/imprint.en.md index c4833ac4..073213f1 100644 --- a/content/imprint.en.md +++ b/content/imprint.en.md @@ -1,5 +1,6 @@ --- title: "Imprint" +description: "Legal notice and provider information of the FIP Guide website." --- **Lennart Rommeiß**\ diff --git a/content/operator/eurostar/index.de.md b/content/operator/eurostar/index.de.md index 3c00688f..c09c6d98 100644 --- a/content/operator/eurostar/index.de.md +++ b/content/operator/eurostar/index.de.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Eurostar" +description: "Informationen über die FIP-Bedingungen bei Eurostar." country: - "belgium" - "netherlands" diff --git a/content/operator/eurostar/index.en.md b/content/operator/eurostar/index.en.md index 3c00688f..15471354 100644 --- a/content/operator/eurostar/index.en.md +++ b/content/operator/eurostar/index.en.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "Eurostar" +description: "Find out about the FIP conditions at Eurostar." country: - "belgium" - "netherlands" diff --git a/content/operator/ns/index.de.md b/content/operator/ns/index.de.md index a557b056..ff6ed20b 100644 --- a/content/operator/ns/index.de.md +++ b/content/operator/ns/index.de.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "NS" +description: "Informationen über die FIP-Bedingungen bei NS." country: - "netherlands" --- diff --git a/content/operator/ns/index.en.md b/content/operator/ns/index.en.md index a557b056..06900757 100644 --- a/content/operator/ns/index.en.md +++ b/content/operator/ns/index.en.md @@ -2,6 +2,7 @@ date: "2024-10-17" draft: false title: "NS" +description: "Find out about the FIP conditions at NS." country: - "netherlands" --- diff --git a/content/operator/sncb/index.de.md b/content/operator/sncb/index.de.md index 1c20ad18..3bf6fb87 100644 --- a/content/operator/sncb/index.de.md +++ b/content/operator/sncb/index.de.md @@ -2,6 +2,7 @@ date: "2025-03-25" draft: false title: "SNCB" +description: "Informationen über die FIP-Bedingungen bei SNCB." country: - "belgium" --- diff --git a/content/operator/sncb/index.en.md b/content/operator/sncb/index.en.md index b17a64b2..85b527ac 100644 --- a/content/operator/sncb/index.en.md +++ b/content/operator/sncb/index.en.md @@ -2,6 +2,7 @@ date: "2025-02-15" draft: false title: "SNCB" +description: "Find out about the FIP conditions at SNCB." country: - "belgium" --- diff --git a/content/operator/zsr/index.de.md b/content/operator/zsr/index.de.md index 078cb879..21a69e3c 100644 --- a/content/operator/zsr/index.de.md +++ b/content/operator/zsr/index.de.md @@ -2,6 +2,7 @@ date: "2025-04-13" draft: false title: "ZSR / ZSSK" +description: "Informationen über die FIP-Bedingungen bei ZSR / ZSSK." country: - "slovakia" --- diff --git a/content/operator/zsr/index.en.md b/content/operator/zsr/index.en.md index 094d17cc..e9f32a4c 100644 --- a/content/operator/zsr/index.en.md +++ b/content/operator/zsr/index.en.md @@ -2,6 +2,7 @@ date: "2025-04-13" draft: false title: "ZSR / ZSSK" +description: "Find out about the FIP conditions at ZSR / ZSSK." country: - "slovakia" --- diff --git a/content/privacy.de.md b/content/privacy.de.md index 9ac5dddf..4b3d7ea2 100644 --- a/content/privacy.de.md +++ b/content/privacy.de.md @@ -1,5 +1,6 @@ --- title: "Datenschutzerklärung" +description: "Informationen über Datenschutzrichtlinien und den Schutz personenbezogener Daten im FIP Guide." --- **Lennart Rommeiß**\ diff --git a/content/privacy.en.md b/content/privacy.en.md index 04eb869b..b48d23ab 100644 --- a/content/privacy.en.md +++ b/content/privacy.en.md @@ -1,5 +1,6 @@ --- title: "Privacy Policy" +description: "Information about privacy policies and the protection of personal data in the FIP Guide." --- **Lennart Rommeiß**\ diff --git a/i18n/de.yaml b/i18n/de.yaml index 91fd5424..af6aa706 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -26,4 +26,8 @@ _operator__nearby: Angrenzende Betreiber toc-backlink: Zurück zu editPage: Seite bearbeiten list-disclaimer: Momemtan sind noch nicht für alle Länder und Betreiber Informationen verfügbar. Den aktuellen Bearbeitungsstand findest du auf -list-disclaimer-link: GitHub \ No newline at end of file +list-disclaimer-link: GitHub +meta-description: + country: Überblick über die Länder, in denen FIP-Vergünstigungen genutzt werden können. + operator: Überblick über die Betreiber, die FIP-Vergünstigungen anbieten. + news: Aktuelle Informationen und Neuigkeiten rund um den FIP Guide. \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index 055abf7b..6d5e7935 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -26,4 +26,8 @@ _operator__nearby: Neighboring Operators toc-backlink: Back to editPage: Edit page list-disclaimer: Currently, information is not yet available for all countries and operators. You can see the current information status on -list-disclaimer-link: GitHub \ No newline at end of file +list-disclaimer-link: GitHub +meta-description: + country: Overview of the countries where FIP benefits are available. + operator: Overview of the operators providing FIP benefits. + news: Latest updates and information about the FIP Guide. \ No newline at end of file diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 5be74a4f..0524006c 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -1,8 +1,29 @@ - - +{{ $metaDescription := "" }} +{{ if eq .Page.Type "country" }} + {{ $metaDescription = T "meta-description.country" }} +{{ else if eq .Page.Type "news" }} + {{ $metaDescription = T "meta-description.news" }} +{{ else if eq .Page.Type "news" }} + {{ $metaDescription = T "meta-description.news" }} +{{ else }} + {{ $metaDescription = .Description }} +{{ end }} + + + + + + + + + + + + + {{ if .IsHome }}{{ site.Title }}{{ else }}{{ printf "%s | %s" .Title site.Title }}{{ end }} @@ -24,5 +45,8 @@ + + + diff --git a/static/og-image.jpg b/static/og-image.jpg new file mode 100644 index 00000000..1566acd6 Binary files /dev/null and b/static/og-image.jpg differ