diff --git a/_layouts/default.liquid b/_layouts/default.liquid index 6809a73d75ff..1c3584e01082 100644 --- a/_layouts/default.liquid +++ b/_layouts/default.liquid @@ -3,7 +3,14 @@ {% if page.redirect %} - + {% if page.redirect == true %} + {% assign redirect = site.baseurl | append: '/' %} + {% elsif page.redirect contains '://' %} + {% assign redirect = page.redirect %} + {% else %} + {% assign redirect = page.redirect | relative_url %} + {% endif %} + {% endif %} {% include head.liquid %}