Skip to content

Commit e20b34b

Browse files
authored
Merge pull request #66 from CloudNativeLinz/feature/add-april2025-edition
Add April 2025 edition placeholder
2 parents 91712ad + 42c1650 commit e20b34b

File tree

4 files changed

+49
-8
lines changed

4 files changed

+49
-8
lines changed

_data/events.yml

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -377,3 +377,13 @@
377377
event_link: "https://www.meetup.com/cloud-native-linz/events/306377483/"
378378
registrations: ""
379379
recording: []
380+
381+
- id: 39
382+
edition: "Cloud Native Linz - TBD"
383+
date: "2025-04-29"
384+
host: "tractive"
385+
event_link: ""
386+
registrations: ""
387+
participants: ""
388+
recording: []
389+

_layouts/default.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ <h1 class="site-name"><a href="{{ site.baseurl }}/">{{ site.name }}</a></h1>
3434
<a href="{{ site.baseurl }}/join">Join us!</a>
3535
<a href="{{ site.baseurl }}/speaker-info">Speaker Info</a>
3636
<a href="{{ site.baseurl }}/slides">Slides & Content</a>
37-
<a href="{{ site.baseurl }}/statistics">Events</a>
37+
<a href="{{ site.baseurl }}/events">Events</a>
3838
<a href="{{ site.baseurl }}/random-number-generator">🎲</a>
3939
<!--
4040
<a href="{{ site.baseurl }}/search">Search</a>

_pages/statistics.md renamed to _pages/events.md

Lines changed: 35 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
---
22
layout: page
33
title: Events
4-
permalink: /statistics/
4+
permalink: /events/
55
---
66

77
<style>
@@ -17,13 +17,37 @@ permalink: /statistics/
1717
text-align: center; /* Center align text horizontally */
1818
vertical-align: middle; /* Center align text vertically */
1919
}
20+
.today-event {
21+
background-color: #e6f3ff;
22+
border-left: 4px solid #0066cc;
23+
padding: 10px;
24+
margin: 5px 0;
25+
}
26+
.today-label {
27+
display: inline-block;
28+
padding: 2px 8px;
29+
margin-right: 8px;
30+
background-color: #0066cc;
31+
color: white;
32+
border-radius: 12px;
33+
font-size: 0.8em;
34+
font-weight: bold;
35+
}
36+
.host-label {
37+
display: inline-block;
38+
padding: 2px 8px;
39+
margin-right: 8px;
40+
background-color: #f0f0f0;
41+
border-radius: 12px;
42+
font-size: 0.8em;
43+
}
2044
</style>
2145

2246
{% assign upcoming_events = false %}
2347
{% for event in site.data.events %}
2448
{% assign event_date = event.date | date: "%Y-%m-%d" %}
2549
{% assign today = site.time | date: "%Y-%m-%d" %}
26-
{% if event_date > today %}
50+
{% if event_date >= today %}
2751
{% assign upcoming_events = true %}
2852
{% break %}
2953
{% endif %}
@@ -35,14 +59,18 @@ permalink: /statistics/
3559
{% for event in site.data.events %}
3660
{% assign event_date = event.date | date: "%Y-%m-%d" %}
3761
{% assign today = site.time | date: "%Y-%m-%d" %}
38-
{% if event_date > today %}
39-
<tr>
62+
{% if event_date >= today %}
63+
<tr {% if event_date == today %}class="today-event"{% endif %}>
4064
<td>
41-
<span class="date-label">{{ event.date }}
65+
{% if event_date == today %}
66+
<span class="today-label">TODAY</span>
67+
{% else %}
68+
<span class="date-label">{{ event.date }}</span>
69+
{% endif %}
4270
{% if !event.host || event.host != "" %}
43-
- hosted by {{ event.host }}
71+
<span class="host-label">hosted by {{ event.host }}</span>
4472
{% endif %}
45-
</span><br>
73+
<br>
4674
<strong><a href="{{ event.event_link }}">{{ event.edition }}</a></strong>
4775
</td>
4876
</tr>

makefile

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,9 @@ FORCE_POLLING_FLAG = --force_polling
88
# Default target
99
all: serve
1010

11+
# Helper for Juergen ;)
12+
run: serve-livereload
13+
1114
# Serve the site
1215
serve:
1316
$(JEKYLL_CMD)

0 commit comments

Comments
 (0)