From 8c4f33bc9c5d4f75ed97300eced261384a367bd4 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Wed, 18 Sep 2024 12:05:53 +0200 Subject: [PATCH 1/2] fix Open Source capitalization --- content/news/2022-03-24-begin-work.md | 2 +- data/spotlight2.yml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/content/news/2022-03-24-begin-work.md b/content/news/2022-03-24-begin-work.md index e301ad1..0e76a64 100644 --- a/content/news/2022-03-24-begin-work.md +++ b/content/news/2022-03-24-begin-work.md @@ -6,7 +6,7 @@ image: alt: A handshake in front of a train --- -DB, SBB, SNCF and UIC are working on a joint initiative to create an open-source association dedicated to railway business. +DB, SBB, SNCF and UIC are working on a joint initiative to create an Open Source association dedicated to railway business. As announced by UIC's Director General, François Davenne, at the association's most recent General Assembly in December 2021, the aim of the association, to be called the "OpenRail Association", will be to provide an open space enabling cooperative innovation and software development for railways. diff --git a/data/spotlight2.yml b/data/spotlight2.yml index 8159554..2dc1606 100644 --- a/data/spotlight2.yml +++ b/data/spotlight2.yml @@ -27,7 +27,7 @@ content: |

- From Microsoft to IBM, Tesla to Airbus, open-source methods and solutions + From Microsoft to IBM, Tesla to Airbus, Open Source methods and solutions are no longer in question. Open Source consists in opening the source code of a software so that everyone can read it, use it, and suggest improvements. Everyone can adapt the software to their own requirements From 6027095a9304a061e68c5fa60441e4d10b59add8 Mon Sep 17 00:00:00 2001 From: Max Mehl Date: Wed, 18 Sep 2024 12:06:18 +0200 Subject: [PATCH 2/2] improve news listing on /: limit to 3 news, do not underline date --- themes/openrail/layouts/partials/news.html | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/themes/openrail/layouts/partials/news.html b/themes/openrail/layouts/partials/news.html index 6ec925f..5c24803 100644 --- a/themes/openrail/layouts/partials/news.html +++ b/themes/openrail/layouts/partials/news.html @@ -2,11 +2,10 @@

{{ .news.title }}

- {{ range (where .pages "Section" "news" ) }} + {{ range first 3 (where .pages "Section" "news" ) }}

- - {{ .Date.Format "02 Jan 2006" }}: {{ .Title }} - + {{ .Date.Format "02 Jan 2006" }}: + {{ .Title }}

{{ end }}