Skip to content

Commit 47305eb

Browse files
committed
[TEMP FIX] Display past events to avoid empty home
New events publication is currently broken, leaving the home page empty due to no upcoming events. As a temporary measure, past events are now displayed until the issue is resolved.
1 parent ab38586 commit 47305eb

2 files changed

Lines changed: 7 additions & 0 deletions

File tree

data/index.njk

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@
44
{% extends "./templates/default.njk" %}
55
{% from "./templates/macros/event.njk" import image, dayOfWeek, time, shortDate, dateBadge %}
66

7+
{% block head %}
8+
<meta http-equiv="refresh" content="5; url="https://vlctechhub.org/events/past/">
9+
{% endblock %}
10+
711
{% block main %}
812
<article id="next-events">
913
<header>

templates/default.njk

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,9 @@
3333
<meta name="msapplication-TileImage" content="/assets/favicon/mstile-144x144.png">
3434
<meta name="msapplication-config" content="/assets/favicon/browserconfig.xml">
3535
<meta name="theme-color" content="#ffffff">
36+
{% block head %}
37+
{{contents | safe }}
38+
{% endblock %}
3639
</head>
3740
<body>
3841
{% include "./layout/header.njk" %}

0 commit comments

Comments
 (0)