File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change 19
19
< html lang ="en-US ">
20
20
< meta charset ="utf-8 ">
21
21
< title > Redirecting…</ title >
22
- < link rel ="canonical " href ="{{ page.redirect.to }}.html ">
23
- < script > location = "{{ page.redirect.to }}.html" </ script >
24
- < meta http-equiv ="refresh " content ="0; url={{ page.redirect.to }}.html ">
22
+ {% assign redirect_url = page.redirect.to | replace_first: '/', '' | prepend: rel_path_to_root | append: '.html' %}
23
+ < link rel ="canonical " href ="{{ redirect_url }} ">
24
+ < script > location = "{{ redirect_url }}" </ script >
25
+ < meta http-equiv ="refresh " content ="0; url={{ redirect_url }} ">
25
26
< meta name ="robots " content ="noindex ">
26
27
< h1 > Redirecting…</ h1 >
27
- < a href ="{{ page.redirect.to }}.html "> Click here if you are not redirected.</ a >
28
- </ html >
28
+ < a href ="{{ redirect_url }} "> Click here if you are not redirected.</ a >
29
+ </ html >
You can’t perform that action at this time.
0 commit comments