Skip to content

Commit 5512c96

Browse files
author
nyadiia
committed
open registrations 🎉
1 parent ccd9bdc commit 5512c96

2 files changed

Lines changed: 18 additions & 3 deletions

File tree

content/register.md

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,7 @@
11
+++
2-
template = "page.html"
2+
template = "redirect.html"
33
title = "Register"
44
[extra]
55
navbar = "page"
6+
url = "https://registration.minnehack.io/"
67
+++
7-
8-
MinneHack registration is closed at this time. Check again in a few months!

templates/redirect.html

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
{% extends "page.html" %}
2+
3+
{% block meta %}
4+
<meta property="og:type" content="website">
5+
<meta property="og:title" content="{{ full_title }}">
6+
<meta property="og:image" content="/images/logo.png">
7+
<meta property="og:url" content="{{ current_url }}">
8+
<!-- the magic -->
9+
<meta http-equiv="refresh" content="1; url={{ page.extra.url }}">
10+
{% endblock meta %}
11+
12+
{% block content %}
13+
<div class="container">
14+
<p><a href="{{ page.extra.url }}">Click here</a> if you are not redirected automatically.</p>
15+
</div>
16+
{% endblock %}

0 commit comments

Comments
 (0)