diff --git a/assets/sass/_variables.scss b/assets/sass/_variables.scss index 95690e93..24de4b2e 100644 --- a/assets/sass/_variables.scss +++ b/assets/sass/_variables.scss @@ -11,6 +11,7 @@ body { --bg-accent2: #DABA00; --color-onDark: #FFFFFF; --color-onLight: #000000; + --color-table-border: #5B5B5B; --border-radius-s: .4rem; --border-radius-m: .8rem; --border-radius-l: 1.2rem; diff --git a/assets/sass/content.scss b/assets/sass/content.scss index 5be5b974..01409736 100644 --- a/assets/sass/content.scss +++ b/assets/sass/content.scss @@ -1,4 +1,29 @@ .updateDate { font-size: 1.3rem; margin-bottom: 1.6rem; +} + +code { + font-size: inherit; + font-weight: 700; + color: var(--color-onLight); + background-color: var(--bg-accent); + padding: .2rem .8rem; + border-radius: var(--border-radius-s); +} + +table { + margin-bottom: .6rem; +} + +tr { + border-bottom: .1rem solid var(--color-table-border); +} + +th, td { + padding: .6rem 2rem .6rem 0; +} + +.footnote-backref { + padding: 1rem; } \ No newline at end of file diff --git a/assets/sass/expander.scss b/assets/sass/expander.scss new file mode 100644 index 00000000..578460cb --- /dev/null +++ b/assets/sass/expander.scss @@ -0,0 +1,54 @@ +summary { + display: flex; + + &:hover, + &:focus { + font-weight: 700; + text-decoration: underline; + } +} + +details { + position: relative; + padding: 1.2rem; + background-color: var(--bg-neutral); + border-radius: var(--border-radius-m); + margin-bottom: 1.2rem; +} + +details[open] > summary { + margin-bottom: 0.5rem; +} + +details > summary { + list-style-type: none; +} + +details > div, +summary { + margin-left: 3.2rem; +} + +details > summary::-webkit-details-marker { + display: none; +} + +summary::before { + content: '\e145' / ''; + font-family: "material icons round"; + font-weight: normal; + width: 2.4rem; + height: 2.4rem; + margin-right: .8rem; + text-decoration: none; + position: absolute; + left: 1.2rem; +} + +details[open] > summary::before { + content: '\e15b' / ''; +} + +details[open] > summary { + font-weight: 700; +} \ No newline at end of file diff --git a/assets/sass/fonts.scss b/assets/sass/fonts.scss index 7e141137..e408ee59 100644 --- a/assets/sass/fonts.scss +++ b/assets/sass/fonts.scss @@ -3,6 +3,7 @@ font-style: normal; font-weight: 100 700; src: url(/fonts/Roboto-VariableFont_wdth,wght.ttf) format('woff2'); + font-display: swap; } @font-face { @@ -10,6 +11,7 @@ font-style: italic; font-weight: 100 700; src: url(/fonts/Roboto-Italic-VariableFont_wdth,wght.ttf) format('woff2'); + font-display: swap; } body { diff --git a/assets/sass/main.scss b/assets/sass/main.scss index 8c9aa153..2eb9fd41 100644 --- a/assets/sass/main.scss +++ b/assets/sass/main.scss @@ -10,4 +10,5 @@ @import "content.scss"; @import "textHighlight.scss"; @import "headings.scss"; -@import "form.scss"; \ No newline at end of file +@import "form.scss"; +@import "expander.scss"; \ No newline at end of file diff --git a/assets/sass/navigation.scss b/assets/sass/navigation.scss index f7973348..2efde107 100644 --- a/assets/sass/navigation.scss +++ b/assets/sass/navigation.scss @@ -1,10 +1,15 @@ #header { - position: sticky; + position: fixed; + width: 100%; top: 0; box-shadow: 0 .4rem 1rem 0 rgba(0,0,0,.1); } .o-header { + background-color: #fff; +} + +.o-header__wrapper { display: flex; justify-content: space-between; @@ -70,6 +75,7 @@ img { width: 5rem; + height: 4.7rem; } } diff --git a/assets/sass/stage.scss b/assets/sass/stage.scss index 838e6756..4702e927 100644 --- a/assets/sass/stage.scss +++ b/assets/sass/stage.scss @@ -1,7 +1,3 @@ -.o-stage { - margin-bottom: 4rem; -} - .o-stage > picture { width: 100%; max-width: 1320px; diff --git a/assets/sass/styles.scss b/assets/sass/styles.scss index 7e394974..8434f015 100644 --- a/assets/sass/styles.scss +++ b/assets/sass/styles.scss @@ -38,11 +38,17 @@ a.m-teaser { } } -header { - background-color: #fff; +//space for fixed header +main > .o-stage { + margin-top: 5.3rem; +} + +//space for fixed header +main > .container:first-child { + margin-top: 9.3rem; } -main > .container:not(.o-stage) { +main > .container { margin-top: 4rem; background-color: var(--bg-default); border-radius: var(--border-radius-l); @@ -55,28 +61,8 @@ main > .container:not(.o-stage) { img { width: 100%; - height: auto; -} - -details { - position: relative; - overflow: hidden; - padding: 5px; -} - -details[open] summary ~ * { - animation: slideDown 0.5s ease-in-out; -} - -@keyframes slideDown { - from { - opacity: 0; - transform: translateY(-10px); - } - to { - opacity: 1; - transform: translateY(0); - } + height: 100%; + border-radius: var(--border-radius-m); } p { diff --git a/assets/sass/teaser.scss b/assets/sass/teaser.scss index d51b9af7..d2769dd2 100644 --- a/assets/sass/teaser.scss +++ b/assets/sass/teaser.scss @@ -14,9 +14,7 @@ } .m-teaser img { - width: 100%; aspect-ratio: 16/9; - border-radius: var(--border-radius-l); } .m-teaser__dateline { diff --git a/content/contact.de.html b/content/contact.de.html index 239d2f1c..d4a6d190 100644 --- a/content/contact.de.html +++ b/content/contact.de.html @@ -14,7 +14,7 @@
- +
@@ -24,7 +24,7 @@
- +
diff --git a/content/contact.en.html b/content/contact.en.html index 1cabc23a..62cb898e 100644 --- a/content/contact.en.html +++ b/content/contact.en.html @@ -3,7 +3,7 @@ ---
- + @@ -28,4 +28,4 @@
-Or write us an email: nextstop@fipguide.org +Or write us an email: nextstop@fipguide.org \ No newline at end of file diff --git a/content/operator/sncb/index.de.md b/content/operator/sncb/index.de.md index bc3e9943..939e7abd 100644 --- a/content/operator/sncb/index.de.md +++ b/content/operator/sncb/index.de.md @@ -25,7 +25,7 @@ FIP-Freifahrtscheine und FIP 50 Tickets sind auf Verbindungen der SNCB gültig. Innerhalb Belgiens ist bei der SNCB keine Reservierung erforderlich und in vielen Zügen auch nicht möglich. Beim grenzüberschreitenden ICE nach Deutschland ist eine Reservierung möglich und war beispielsweise im Sommer 2024 auch verpflichtend (nur bei grenzüberschreitenden Reisen). -{{< expander "InterCity Express (ICE)" >}} +{{< expander "InterCity Express (ICE)" category >}} **Beschreibung:** Hochgeschwindigkeitszüge der Deutschen Bahn, die in Belgien von der SNCB übernommen werden. Sie verkehren zwischen Brüssel (Midi) und Deutschland (Köln / Frankfurt am Main), können jedoch auch innerhalb Belgiens zwischen Bruxelles Midi und Liège-Guillemins mit FIP Fahrscheinen ohne Aufschlag genutzt werden. **Reservierung möglich:** ja @@ -35,7 +35,7 @@ Hochgeschwindigkeitszüge der Deutschen Bahn, die in Belgien von der SNCB übern 5,20 € (2. Klasse) {{< /expander >}} -{{< expander "InterCity (IC)" >}} +{{< expander "InterCity (IC)" category >}} **Beschreibung:** Anders als in anderen Ländern keine wirklichen Fernzüge, sondern eher schnelle Regionalzüge mit wenigen Halten. **Reservierung möglich:** nein @@ -43,7 +43,7 @@ Anders als in anderen Ländern keine wirklichen Fernzüge, sondern eher schnelle **Kosten für Reservierung:** - {{< /expander >}} -{{< expander "Train local oder Lokale trein (L)" >}} +{{< expander "Train local oder Lokale trein (L)" category >}} **Beschreibung:** Regionalbahnen mit Halt an meist allen Stationen, in den Verbindungsauskünften oft auch einfach als "R" für Regionalzug zu finden. **Reservierung möglich:** nein @@ -51,7 +51,7 @@ Regionalbahnen mit Halt an meist allen Stationen, in den Verbindungsauskünften **Kosten für Reservierung:** - {{< /expander >}} -{{< expander "Train S oder S-Trein (S)" >}} +{{< expander "Train S oder S-Trein (S)" category >}} **Beschreibung:** Eine S-Bahn in den Großräumen Antwerpen, Brüssel, Charleroi, Gent oder Lüttich. Sie verbinden die großen Städte mit den Vororten und halten meist überall. Anders als in anderen Ländern zeichnen sich die S-Bahnen hier nicht durch dichtere Takte als bei anderen Zugkategorien aus. In der Verbindungsauskunft werden auch diese manchmal als "R" für Regionalzug zusammengefasst. **Reservierung möglich:** nein @@ -59,7 +59,7 @@ Eine S-Bahn in den Großräumen Antwerpen, Brüssel, Charleroi, Gent oder Lütti **Kosten für Reservierung:** - {{< /expander >}} -{{< expander "Train d’heure de pointe oder Piekuurtrein (P)" >}} +{{< expander "Train d’heure de pointe oder Piekuurtrein (P)" category >}} **Beschreibung:** Zusätzliche Züge zu den Hauptverkehrszeiten montags bis freitags morgens sowie am späten Nachmittag, in den Verbindungsauskünften oft auch einfach als "R" für Regionalzug zu finden. **Reservierung möglich:** nein @@ -67,7 +67,7 @@ Zusätzliche Züge zu den Hauptverkehrszeiten montags bis freitags morgens sowie **Kosten für Reservierung:** - {{< /expander >}} -{{< expander "Express (E/EXP/EXTRA)" >}} +{{< expander "Express (E/EXP/EXTRA)" category >}} **Beschreibung:** Zusätzliche Züge bei hohem Verkehrsaufkommen, vor allem in den Sommermonaten zur belgischen Küste. **Reservierung möglich:** nein @@ -75,7 +75,7 @@ Zusätzliche Züge bei hohem Verkehrsaufkommen, vor allem in den Sommermonaten z **Kosten für Reservierung:** - {{< /expander >}} -{{< expander "Tourist (T)" >}} +{{< expander "Tourist (T)" category >}} **Beschreibung:** Zusätzliche Züge zu bestimmten touristischen Zielen, oft auch einfach als "R" für Regionalzug zu finden. **Reservierung möglich:** nein @@ -159,7 +159,9 @@ Auf Verbindungen von und zum Flughafen Brüssel Zaventem muss für den FIP Freif ## Erfahrungen +{{< highlight inofficial "1. Klasse" >}} Die 1. Klasse in den Zügen der SNCB / NMBS wird oft auch mit 2. Klasse Tickets benutzt. Auch ist die 1. Klasse meist nicht viel komfortabler als die 2. Klasse. Anders als in anderen Ländern lohnt sich daher ein Kauf von 1. Klasse Tickets, um hier mehr Platz und Ruhe zu haben, nur bedingt. +{{< /highlight >}} ## Quellen diff --git a/content/operator/sncb/index.en.md b/content/operator/sncb/index.en.md index 2a8f9fc5..4651f9c8 100644 --- a/content/operator/sncb/index.en.md +++ b/content/operator/sncb/index.en.md @@ -25,7 +25,7 @@ FIP vouchers and FIP 50 tickets are valid on SNCB connections. For cross-border Within Belgium, no reservation is required for SNCB and in many trains, it is not possible. For the cross-border ICE to Germany, a reservation is possible and was mandatory in summer 2024 (only for cross-border journeys). -{{< expander "InterCity Express (ICE)" >}} +{{< expander "InterCity Express (ICE)" category >}} **Description:** High-speed trains of Deutsche Bahn, operated by SNCB in Belgium. They run between Brussels (Midi) and Germany (Cologne / Frankfurt am Main), but can also be used with FIP tickets without surcharge within Belgium between Brussels Midi and Liège-Guillemins. **Reservation possible:** yes @@ -35,7 +35,7 @@ High-speed trains of Deutsche Bahn, operated by SNCB in Belgium. They run betwee 5.20 € (2nd class) {{< /expander >}} -{{< expander "InterCity (IC)" >}} +{{< expander "InterCity (IC)" category >}} **Description:** Unlike in other countries, these are not real long-distance trains, but rather fast regional trains with few stops. **Reservation possible:** no @@ -43,7 +43,7 @@ Unlike in other countries, these are not real long-distance trains, but rather f **Cost of reservation:** - {{< /expander >}} -{{< expander "Train local or Lokale trein (L)" >}} +{{< expander "Train local or Lokale trein (L)" category >}} **Description:** Regional trains stopping at most stations, often simply referred to as "R" for regional train in connection information. **Reservation possible:** no @@ -51,7 +51,7 @@ Regional trains stopping at most stations, often simply referred to as "R" for r **Cost of reservation:** - {{< /expander >}} -{{< expander "Train S or S-Trein (S)" >}} +{{< expander "Train S or S-Trein (S)" category >}} **Description:** A suburban train in the metropolitan areas of Antwerp, Brussels, Charleroi, Ghent, or Liège. They connect the major cities with the suburbs and usually stop everywhere. Unlike in other countries, the S-trains here do not have denser schedules than other train categories. In the connection information, these are sometimes also summarized as "R" for regional train. **Reservation possible:** no @@ -59,7 +59,7 @@ A suburban train in the metropolitan areas of Antwerp, Brussels, Charleroi, Ghen **Cost of reservation:** - {{< /expander >}} -{{< expander "Train d’heure de pointe or Piekuurtrein (P)" >}} +{{< expander "Train d’heure de pointe or Piekuurtrein (P)" category >}} **Description:** Additional trains during peak hours from Monday to Friday mornings and late afternoons, often simply referred to as "R" for regional train in connection information. **Reservation possible:** no @@ -67,7 +67,7 @@ Additional trains during peak hours from Monday to Friday mornings and late afte **Cost of reservation:** - {{< /expander >}} -{{< expander "Express (E/EXP/EXTRA)" >}} +{{< expander "Express (E/EXP/EXTRA)" category >}} **Description:** Additional trains during high traffic periods, especially in the summer months to the Belgian coast. **Reservation possible:** no @@ -75,7 +75,7 @@ Additional trains during high traffic periods, especially in the summer months t **Cost of reservation:** - {{< /expander >}} -{{< expander "Tourist (T)" >}} +{{< expander "Tourist (T)" category >}} **Description:** Additional trains to certain tourist destinations, often simply referred to as "R" for regional train. **Reservation possible:** no @@ -156,7 +156,9 @@ For connections to and from Brussels Zaventem Airport, a surcharge must be paid ## Experiences -The 1st class in SNCB / NMBS trains is often used with 2nd class tickets. Also, the 1st class is usually not much more comfortable than the 2nd class. Unlike in other countries, buying 1st class tickets to have more space and quiet is only worthwhile to a limited extent. +{{< highlight inofficial "First class" >}} +The first class in SNCB / NMBS trains is often used with second class tickets. Also, the 1st class is usually not much more comfortable than the second class. Unlike in other countries, buying first class tickets to have more space and quiet is only worthwhile to a limited extent. +{{< /highlight >}} ## Sources diff --git a/content/operator/zsr/index.de.md b/content/operator/zsr/index.de.md index 1fc878ab..00433dd3 100644 --- a/content/operator/zsr/index.de.md +++ b/content/operator/zsr/index.de.md @@ -27,7 +27,7 @@ FIP-Freifahrtscheine und FIP 50 Tickets sind auf Verbindungen der ZSSK mit der E Reservierungspflicht für SC- und IC-Züge. Andere ZSSK Züge erfordern nur eine Reservierung in der 1. Klasse. -{{< expander "SuperCity (SC) ⚠️" >}} +{{< expander "SuperCity (SC) ⚠️" category >}} **Beschreibung:** Schnelle Neigetechnik-Züge (Pendolino), die zwischen Prag (Tschechien) und Košice, mit wenigen Halten verkehren. **Reservierung möglich:** ja @@ -36,7 +36,7 @@ Schnelle Neigetechnik-Züge (Pendolino), die zwischen Prag (Tschechien) und Koš Abhängig von Strecke und Auslastung (inkl. Aufschlag für Zugkategorie) {{< /expander >}} -{{< expander "InterCity (IC) ⚠️" >}} +{{< expander "InterCity (IC) ⚠️" category >}} **Beschreibung:** Grenzüberschreitende Fernzüge, die eigenwirtschaftlich von der ZSSK und CD erbracht werden und meist zwischen Prag und Bratislava/Zilina mit wenigen Halten und schneller Durchschnittsgeschwindigkeit verkehren. **Reservierung möglich:** ja @@ -45,7 +45,7 @@ Grenzüberschreitende Fernzüge, die eigenwirtschaftlich von der ZSSK und CD erb Abhängig von Strecke und Auslastung (inkl. Aufschlag für Zugkategorie) {{< /expander >}} -{{< expander "EuroCity (EC) / RailJet (RJ) ⚠️ (1️⃣)" >}} +{{< expander "EuroCity (EC) / RailJet (RJ) ⚠️ (1️⃣)" category >}} **Beschreibung:** Grenzüberschreitende Züge zwischen der Slowakei und Tschechien, Österreich oder Ungarn. Sie verkehren oft mit wenigen Halten und im Vergleich relativ hoher Durchschnittsgeschwindigkeit. Die RJ-Züge sind RailJet-Züge der Österreichischen Bundesbahn, die auf slowakischem Abschnitt auch mit ZSSK-Freifahrtscheinen genutzt werden können. **Wichtig:** RJ ist gleichzeitig auch die Abkürzung für RegioJet, dort gelten keinerlei FIP-Farscheine. **Reservierung möglich:** ja @@ -55,7 +55,7 @@ Grenzüberschreitende Züge zwischen der Slowakei und Tschechien, Österreich od 1 € (2. Klasse) {{< /expander >}} -{{< expander "EuroNight (EN) ⚠️" >}} +{{< expander "EuroNight (EN) ⚠️" category >}} **Beschreibung:** EN sind internationale Nachtzüge, bei denen Reservierungspflicht besteht und die Möglichkeit einen Aufpreis für Liege- oder Schlafwagen zu zahlen. Sonst sind sie ähnlich wie die EC. **Reservierung möglich:** ja @@ -65,7 +65,7 @@ Abhängig von Strecke und Auslastung sowie Wagenkategorie (inkl. Aufschlag für {{< /expander >}} -{{< expander "Express (Ex) ⚠️ (1️⃣)" >}} +{{< expander "Express (Ex) ⚠️ (1️⃣)" category >}} **Beschreibung:** Eine Art Interregio mit weniger Halten als ein Regionalzug, aber mehr als beispielsweise den IC. Oft haben sie auch ein Bordrestaurant und fahren mit komfortablen Lok-Wagen-Zügen. **Reservierung möglich:** ja @@ -75,7 +75,7 @@ Eine Art Interregio mit weniger Halten als ein Regionalzug, aber mehr als beispi 1 € (2. Klasse) {{< /expander >}} -{{< expander "Rychlik (R) ⚠️ (1️⃣)" >}} +{{< expander "Rychlik (R) ⚠️ (1️⃣)" category >}} **Beschreibung:** Schnelle Regionalzüge mit Halten an den wichtigsten Bahnhöfen in der Region, eine Art Regionalexpress mit sehr unterschiedlichem Wagenmaterial. **Reservierung möglich:** ja @@ -85,7 +85,7 @@ Schnelle Regionalzüge mit Halten an den wichtigsten Bahnhöfen in der Region, e 1 € (2. Klasse) {{< /expander >}} -{{< expander "Osobní vlak (Os) ⚠️ (1️⃣)" >}} +{{< expander "Osobní vlak (Os) ⚠️ (1️⃣)" category >}} **Beschreibung:** Standard-Regionalzüge, die meist überall halten (es gibt jedoch Ausnahmen). Gerade auf Nebenstrecken verkehren sie oft mit veralteten Wagenmaterial. Teilweise werden sie auch als S-Bahnen vermarktet, ohne jedoch wirklich in einem S-Bahn-Takt zu fahren. **Reservierung möglich:** ja diff --git a/content/operator/zsr/index.en.md b/content/operator/zsr/index.en.md index cbb51c03..7c1f16dc 100644 --- a/content/operator/zsr/index.en.md +++ b/content/operator/zsr/index.en.md @@ -27,7 +27,7 @@ FIP vouchers and FIP 50 tickets are valid on ZSSK connections with the restricti Reservation required for SC and IC trains. Other ZSSK trains only require a reservation in 1st class. -{{< expander "SuperCity (SC) ⚠️" >}} +{{< expander "SuperCity (SC) ⚠️" category >}} **Description:** Fast tilting trains (Pendolino) running between Prague (Czech Republic) and Košice, with few stops. **Reservation possible:** yes @@ -36,7 +36,7 @@ Fast tilting trains (Pendolino) running between Prague (Czech Republic) and Koš Depending on route and occupancy (including surcharge for train category) {{< /expander >}} -{{< expander "InterCity (IC) ⚠️" >}} +{{< expander "InterCity (IC) ⚠️" category >}} **Description:** Cross-border long-distance trains operated commercially by ZSSK and CD, usually running between Prague and Bratislava/Zilina with few stops and high average speed. **Reservation possible:** yes @@ -45,7 +45,7 @@ Cross-border long-distance trains operated commercially by ZSSK and CD, usually Depending on route and occupancy (including surcharge for train category) {{< /expander >}} -{{< expander "EuroCity (EC) / RailJet (RJ) ⚠️ (1️⃣)" >}} +{{< expander "EuroCity (EC) / RailJet (RJ) ⚠️ (1️⃣)" category >}} **Description:** Cross-border trains between Slovakia and the Czech Republic, Austria, or Hungary. They often run with few stops and relatively high average speed. RJ trains are RailJet trains of the Austrian Federal Railways, which can also be used with ZSSK vouchers on the Slovak section. **Important:** RJ is also the abbreviation for RegioJet, where no FIP tickets are valid. **Reservation possible:** yes @@ -55,7 +55,7 @@ Cross-border trains between Slovakia and the Czech Republic, Austria, or Hungary 1 € (2nd class) {{< /expander >}} -{{< expander "EuroNight (EN) ⚠️" >}} +{{< expander "EuroNight (EN) ⚠️" category >}} **Description:** EN are international night trains that require reservations and offer the option to pay a surcharge for couchette or sleeper cars. Otherwise, they are similar to EC trains. **Reservation possible:** yes @@ -64,7 +64,7 @@ EN are international night trains that require reservations and offer the option Depending on route and occupancy as well as car category (including surcharge for train category) {{< /expander >}} -{{< expander "Express (Ex) ⚠️ (1️⃣)" >}} +{{< expander "Express (Ex) ⚠️ (1️⃣)" category >}} **Description:** A type of interregional train with fewer stops than a regional train but more than, for example, IC trains. They often have a dining car and run with comfortable locomotive-hauled trains. **Reservation possible:** yes @@ -74,7 +74,7 @@ A type of interregional train with fewer stops than a regional train but more th 1 € (2nd class) {{< /expander >}} -{{< expander "Rychlik (R) ⚠️ (1️⃣)" >}} +{{< expander "Rychlik (R) ⚠️ (1️⃣)" category >}} **Description:** Fast regional trains stopping at the main stations in the region, a type of regional express with very varied rolling stock. **Reservation possible:** yes @@ -84,7 +84,7 @@ Fast regional trains stopping at the main stations in the region, a type of regi 1 € (2nd class) {{< /expander >}} -{{< expander "Osobní vlak (Os) ⚠️ (1️⃣)" >}} +{{< expander "Osobní vlak (Os) ⚠️ (1️⃣)" category >}} **Description:** Standard regional trains that usually stop everywhere (there are exceptions). Especially on branch lines, they often run with outdated rolling stock. They are sometimes marketed as S-Bahn trains, but without really running on an S-Bahn schedule. **Reservation possible:** yes diff --git a/i18n/de.yaml b/i18n/de.yaml index b2ea3221..f6bcbeb2 100644 --- a/i18n/de.yaml +++ b/i18n/de.yaml @@ -18,4 +18,6 @@ highlight-tip: Persönlicher Tipp news-headline: Was gibt's neues? _operator__list_title: Betreiber _country__list_title: Länder -_news__list_title: Neuigkeiten \ No newline at end of file +_news__list_title: Neuigkeiten +updateDate: Zuletzt aktualisiert +related: Verwandte Seiten \ No newline at end of file diff --git a/i18n/en.yaml b/i18n/en.yaml index 564259a0..a89fd4f1 100644 --- a/i18n/en.yaml +++ b/i18n/en.yaml @@ -19,3 +19,5 @@ news-headline: What's new? _operator__list_title: Operator _country__list_title: Countries _news__list_title: News +updateDate: Last updated +related: Related Pages \ No newline at end of file diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html index 7515b53f..1f953d0e 100644 --- a/layouts/_default/baseof.html +++ b/layouts/_default/baseof.html @@ -7,7 +7,7 @@ {{ partial "head.html" . }} - +
{{ block "main" . }}{{ end }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html index 8400b6e0..de55b933 100644 --- a/layouts/_default/single.html +++ b/layouts/_default/single.html @@ -2,28 +2,13 @@

{{ .Title }}

- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} - - {{ if .Date }} -
- -
- {{ end }} + {{ partial "updateDate.html" . }}
{{ .Content }}
- - {{ $related := .Site.RegularPages.RelatedIndices . "country" }} - {{ with $related }} -

See Also

- - {{ end }} +
+ {{ partial "related.html" . }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }} \ No newline at end of file diff --git a/layouts/country/single.html b/layouts/country/single.html index 92abfe30..347c75b0 100644 --- a/layouts/country/single.html +++ b/layouts/country/single.html @@ -2,11 +2,8 @@

{{ .Title }}

- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} -
- -
+ {{ partial "updateDate.html" . }} +
{{ .TableOfContents }} @@ -16,16 +13,8 @@

{{ .Title }}

{{ .Content }}
- - {{ $related := .Site.RegularPages.RelatedIndices . "country" }} - {{ with $related }} -

See Also

- - {{ end }} +
+ {{ partial "related.html" . }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }} \ No newline at end of file diff --git a/layouts/operator/single.html b/layouts/operator/single.html index d2f366f5..302c6d19 100644 --- a/layouts/operator/single.html +++ b/layouts/operator/single.html @@ -2,11 +2,8 @@

{{ .Title }}

- {{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} - {{ $dateHuman := .Date | time.Format ":date_long" }} -
- -
+ {{ partial "updateDate.html" . }} +
{{ .TableOfContents }} @@ -15,16 +12,8 @@

{{ .Title }}

{{ .Content }}
- - {{ $related := .Site.RegularPages.RelatedIndices . "country" }} - {{ with $related }} -

See Also

- - {{ end }} +
+ {{ partial "related.html" . }} {{ partial "terms.html" (dict "taxonomy" "tags" "page" .) }}
{{ end }} \ No newline at end of file diff --git a/layouts/partials/menu.html b/layouts/partials/menu.html index d80633d0..5f90248e 100644 --- a/layouts/partials/menu.html +++ b/layouts/partials/menu.html @@ -2,7 +2,7 @@ {{ $expandicon := resources.Get "images/expand-more.svg" }} {{ $closeicon := resources.Get "images/close.svg" }} {{ $logo := resources.Get "images/logo.svg" }} -
+
+{{ end }} \ No newline at end of file diff --git a/layouts/partials/updateDate.html b/layouts/partials/updateDate.html new file mode 100644 index 00000000..f38087cc --- /dev/null +++ b/layouts/partials/updateDate.html @@ -0,0 +1,8 @@ +{{ $dateMachine := .Date | time.Format "2006-01-02T15:04:05-07:00" }} +{{ $dateHuman := .Date | time.Format ":date_long" }} + +{{ if .Date }} +
+ +
+{{ end }} \ No newline at end of file diff --git a/layouts/shortcodes/expander.html b/layouts/shortcodes/expander.html index b6054f90..ef5d3fde 100644 --- a/layouts/shortcodes/expander.html +++ b/layouts/shortcodes/expander.html @@ -1,4 +1,8 @@ -
- {{ (.Get 0) | markdownify }} - {{ .Inner | markdownify }} +
+ + {{ (.Get 0) | markdownify }} + +
+ {{ .Inner | markdownify }} +
\ No newline at end of file