Skip to content

add filter for events and archive tag#43

Merged
mariopesch merged 2 commits intomainfrom
fix/filter-events
Apr 2, 2025
Merged

add filter for events and archive tag#43
mariopesch merged 2 commits intomainfrom
fix/filter-events

Conversation

@mariopesch
Copy link
Copy Markdown
Contributor

This pull request includes several updates to event files and the layout for displaying events. The key changes involve adding an "archive" field to events and updating the layout to filter out archived events.

Updates to event files:

  • Added archive: true to multiple event files to mark them as archived, including content/events/2024-10-12-codeweek_kickoff.md, content/events/2024-10-14-iCODE_MS.md, content/events/2024-10-22-jugendhackt.md, content/events/2024-10-24-codeweek_fashion.md, and content/events/2024-11-13-hackathon.md. [1] [2] [3] [4] [5]

  • Added a new event file content/events/2025-04-01-hyc-hackathon.md with details about a hackathon for teachers.

Updates to layout:

  • Modified layouts/_default/events.html to include logic for filtering out archived events and sorting events by date.

@netlify
Copy link
Copy Markdown

netlify Bot commented Apr 2, 2025

Deploy Preview for opensenselab ready!

Name Link
🔨 Latest commit 1142e42
🔍 Latest deploy log https://app.netlify.com/sites/opensenselab/deploys/67ecf8a7d139bf00080a5d27
😎 Deploy Preview https://deploy-preview-43--opensenselab.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

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

@mariopesch mariopesch merged commit 41295a1 into main Apr 2, 2025
4 checks passed
@mariopesch mariopesch deleted the fix/filter-events branch April 2, 2025 08:59
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