Skip to content

Commit d9112b2

Browse files
committed
Close registrations
1 parent 04d0f6f commit d9112b2

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

_layouts/register.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
<section class="section">
55
<h1 class="has-text-centered">Register</h1>
66
<div class="content container">
7+
{% if page.open %}
78
<p class="has-text-centered">Fill the form to register yourself for <b>{{ page.title }}</b>. <br />Time:{{ page.time }}, Date:{{ page.date }}<br /> Venue: {{ page.venue }}<br />See you at the event!!</p>
89
</div>
910
<form action="{{ page.form.formurl }}"
@@ -79,5 +80,9 @@ <h1 class="has-text-centered">Register</h1>
7980
</div>
8081
</form>
8182

83+
{% else %}
84+
<p class="has-text-centered">Registrations are currently not open for any event</p>
85+
</div>
86+
{% endif %}
8287
</section>
8388
{% include registerScript.html %}

register.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
---
22
layout: register
33
permalink: /register/
4+
open: false
45
title: "MLH Localhost: Hack The Technical Interview"
56
date: "29th July 2019"
67
time: "2 PM to 4 PM"

0 commit comments

Comments
 (0)