---
# This layout is used to redirect pages, if you moved them.
# Use the following settings in front matter:
#
# layout: redirect
# permalink: /old-location
# redirect_to: /new-location/
# sitemap:
#   exclude: true
---
<!DOCTYPE html>
<html lang="en">
<head>
    <title>{{ site.title }}</title>
    <meta http-equiv="content-type" content="text/html; charset=utf-8"/>
    <meta http-equiv="refresh" content="0; url={{ page.redirect_to }}"/>
    {% if page.redirect_to contains 'http' %}
      {% assign canonical = page.redirect_to %}
    {% else %}
      {% assign canonical = page.redirect_to | prepend: site.baseurl | prepend: site.url %}
    {% endif %}
    <link rel="canonical" href="{{ canonical }}">
</head>
<body>
    <h1>Redirecting...</h1>
    <a href="{{ page.redirect_to }}">Click here if you are not redirected</a>
    <script>location = '{{ page.redirect_to }}'</script>
</body>
</html>
