Skip to content

feat: Properly show updates of news articles#973

Open
MoritzWeber0 wants to merge 2 commits into
mainfrom
feat/news-updates
Open

feat: Properly show updates of news articles#973
MoritzWeber0 wants to merge 2 commits into
mainfrom
feat/news-updates

Conversation

@MoritzWeber0
Copy link
Copy Markdown
Member

Add a new updated attribute to articles. It should reflect the date of the last major update. This replaces the previous manual handling via updating the original date and the title. The updated date is displayed after the original date as updated tag.

In addition, add an updated partial which can be used to show the updated parts in the news article.

@netlify
Copy link
Copy Markdown

netlify Bot commented May 25, 2026

Deploy Preview for fipguide ready!

Name Link
🔨 Latest commit 5ac0a3f
🔍 Latest deploy log https://app.netlify.com/projects/fipguide/deploys/6a146bf1b643660008def8e8
😎 Deploy Preview https://deploy-preview-973--fipguide.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.
🤖 Make changes Run an agent on this branch

To edit notification comments on pull requests, go to your Netlify project configuration.

@github-actions
Copy link
Copy Markdown

Hi there! 👋

Thank you for your contribution to the FIP Guide! 🚀
We appreciate your effort in making rail staff travel information more accessible. 🚄

Checklist before merging:

  • Added a description to the Pull Request
  • Checked the License of new pictures (non-commercial use without attribution)
  • Modified content in English
  • Modified content in German
  • Modified content in French

@MoritzWeber0 MoritzWeber0 requested a review from therobrob May 25, 2026 15:37
@MoritzWeber0 MoritzWeber0 changed the title feat: Properly show updates to news articles feat: Properly show updates of news articles May 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant