Skip to content

Commit b1ca760

Browse files
committed
feat: Auto-fetch "last updated" from Git history
It's not longer needed to provide the "date" attribute in the page metadata. If it's not provided, the information will be auto-fetched from Git.
1 parent 12a62df commit b1ca760

26 files changed

Lines changed: 23 additions & 24 deletions

.github/pull_request_template.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
## Checklist
66
<!-- Check fields with: [x] / Abhaken von Punkten: [x] -->
77

8-
- [ ] Changed the date in updatet content pages <!-- Auf Inhaltsseiten wurde das Bearbeitungsdatum angepasst -->
98
- [ ] Check the License of new pictures (non-commercial use without attribution) <!-- Die Lizenz neuer Bilder geprüft (nicht-kommerzielle Nutzung ohne Namensnennung) -->
109

1110
The content was modified in the following languages: <!-- Der Inhalt wurde für die folgenden Sprachen angepasst -->

archetypes/country.de.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: '{{ .Date }}'
32
draft: <true/false>
43
title: '<Name des Landes in Deutsch>'
54
country: '<Name des Landes auf Englisch>'

archetypes/country.en.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: '{{ .Date }}'
32
draft: <true/false>
43
title: '<Name of the country in English>'
54
country: '<Name of the country in English>'

archetypes/default.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: '{{ .Date }}'
32
draft: true
43
title: '{{ replace .File.ContentBaseName "-" " " | title }}'
54
---

archetypes/operator.de.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: '{{ .Date }}'
32
draft: <true/false>
43
title: '<Abkürzung der Bahngesellschaft>'
54
country:

archetypes/operator.en.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: '{{ .Date }}'
32
draft: <true/false>
43
title: '<Abbreviation of the Railway Company>'
54
country:

assets/sass/content.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22
font-size: 1.3rem;
33
}
44

5+
.updateDate > .material-symbols-rounded {
6+
font-size: 1.5rem
7+
}
8+
59
code {
610
font-size: inherit;
711
font-weight: 700;

content/country/belgium/index.de.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: "2024-10-17"
32
draft: false
43
title: "Belgien"
54
description: "Informationen über die FIP-Bedingungen für Belgien und für welche Betreiber Vergünstigungen genutzt werden können."

content/country/belgium/index.en.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: "2024-10-17"
32
draft: false
43
title: "Belgium"
54
description: "Find out about the FIP conditions for Belgium and for which operators you can benefit from discounts."

content/country/netherlands/index.de.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
---
2-
date: "2024-10-17"
32
draft: false
43
title: "Niederlande"
54
description: "Informationen über die FIP-Bedingungen für die Niederlande und für welche Betreiber Vergünstigungen genutzt werden können."

0 commit comments

Comments
 (0)