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 1919< html lang ="en-US ">
2020< meta charset ="utf-8 ">
2121< 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 }} ">
2526< meta name ="robots " content ="noindex ">
2627< 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