Skip to content

Commit

Permalink
Merge pull request #40 from OpenRailAssociation/improve-news-listing
Browse files Browse the repository at this point in the history
Improve news listing on main page
  • Loading branch information
mxmehl committed Sep 18, 2024
2 parents cf3e797 + 6027095 commit ed97a91
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 6 deletions.
2 changes: 1 addition & 1 deletion content/news/2022-03-24-begin-work.md
Original file line number Diff line number Diff line change
Expand Up @@ -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.

Expand Down
2 changes: 1 addition & 1 deletion data/spotlight2.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ content: |
</blockquote>
<p>
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
Expand Down
7 changes: 3 additions & 4 deletions themes/openrail/layouts/partials/news.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,10 @@
<section class="wrapper style1 align-center" id="news">
<div class="inner medium">
<h2>{{ .news.title }}</h2>
{{ range (where .pages "Section" "news" ) }}
{{ range first 3 (where .pages "Section" "news" ) }}
<p>
<a href="{{ .RelPermalink }}">
<em>{{ .Date.Format "02 Jan 2006" }}:</em> {{ .Title }}
</a>
<em>{{ .Date.Format "02 Jan 2006" }}:</em>
<a href="{{ .RelPermalink }}">{{ .Title }}</a>
</p>
{{ end }}
<ul class="actions stacked">
Expand Down

0 comments on commit ed97a91

Please sign in to comment.