--- # This layout is used to redirect pages, if you moved them. # Use the following settings in front matter: # # layout: redirect # sitemap: false # permalink: /old-location/ # redirect_to: /new-location/ # # Idea and Code by: http://codingtips.kanishkkunal.in/about/ --- {% if page.redirect_to contains 'http' %} {% assign domain = '' %} {% else %} {% assign domain = site.url %} {% endif %}

Redirecting...

{% if page.redirect_to contains 'http' %} {% assign domain = '' %} {% else %} {% assign domain = site.url %} {% endif %} If you are not redirected automatically, visit {{ domain }}{{ page.redirect_to }}.