File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {% if page.redirect == "special_discord" %}
2+ {% assign redirect = site.data.links.project.DiscordInvite %}
3+ {% assign redirect_set = True %}
4+ {% endif %}
5+ {% if redirect_set %}
6+ {% assign redirect = page.redirect | replace: "@@OTD_VERSION@@", site.latest_otd_version %}
7+ {% endif %}
8+ < html >
9+ < head >
10+ < style >
11+ * { background : black; }
12+ </ style >
13+ < meta charset ="utf-8 "/>
14+ < meta http-equiv ="refresh " content ="1;url={{ redirect }} "/>
15+ < link rel ="canonical " href ="{{ redirect }} "/>
16+ < script type ="text/javascript ">
17+ window . location . href = "{{ redirect }}"
18+ </ script >
19+ < title > {{ page.title }} Page Redirection</ title >
20+ </ head >
21+ < body >
22+ If you are not redirected automatically, follow < a href ='{{ redirect }} '> this link</ a > .
23+ </ body >
24+ </ html >
Original file line number Diff line number Diff line change 1+ ---
2+ title : Discord
3+ layout : redirect
4+ redirect : special_discord
5+ ---
You can’t perform that action at this time.
0 commit comments