File tree Expand file tree Collapse file tree 1 file changed +36
-4
lines changed Expand file tree Collapse file tree 1 file changed +36
-4
lines changed Original file line number Diff line number Diff line change 1
1
< html lang ="en ">
2
2
< head >
3
3
< meta charset ="utf-8 "/>
4
- < meta http-equiv ="refresh " content ="0;url={{ page.target }} "/>
4
+ < meta name ="viewport " content ="width=device-width, initial-scale=1.0 ">
5
+
6
+ {% assign time = 0 %}
7
+ {% assign targetname = page.target %}
8
+
9
+ {% if page.time %}
10
+ {% assign time = page.time %}
11
+ {% endif %}
12
+
13
+ {% if page.targetname %}
14
+ {% assign targetname = page.targetname %}
15
+ {% endif %}
16
+
17
+ {% capture title %}Redirecting to {{ targetname }}{% endcapture %}
18
+ {% if page.targettitle %}
19
+ {% assign title = page.targettitle %}
20
+ {% endif %}
21
+ < meta http-equiv ="refresh " content ="{{ time }};url={{ page.target }} "/>
5
22
< link rel ="canonical " href ="{{ page.target }} "/>
6
- < title > Redirecting</ title >
23
+ < title > {{ title }}</ title >
24
+ < style >
25
+ body {
26
+ font-family : sans-serif;
27
+ max-width : 40em ;
28
+ margin : 1em auto;
29
+ }
30
+ </ style >
7
31
</ head >
8
32
< body >
9
- < p > Document has moved, if you aren't automatically redirected
10
- < a href ="{{ page.target }} "> go here</ a > .</ p >
33
+ < h1 > {{ title }}</ h1 >
34
+
35
+ {% if page.message %}
36
+ < p > {{ page.message }}</ p >
37
+ {% else %}
38
+ < p > This document has moved!</ p >
39
+ {% endif %}
40
+
41
+ < p > Redirecting to < a href ="{{ page.target }} "> {{ targetname }}</ a > in {{ time }} seconds.</ p >
42
+
11
43
</ body >
12
44
</ html >
You can’t perform that action at this time.
0 commit comments