diff --git a/site/_data/shortlinks.yml b/site/_data/shortlinks.yml index a6cef3766..0a6744fc8 100644 --- a/site/_data/shortlinks.yml +++ b/site/_data/shortlinks.yml @@ -1,9 +1,9 @@ - title: Troubleshooting key: troubleshooting destination: troubleshooting -- title: Support Matrix - key: support-matrix - destination: support-matrix +- title: Supported Providers + key: supported-providers + destination: supported-providers - title: ZenHub key: zenhub destination: zenhub diff --git a/site/_layouts/redirect.html b/site/_layouts/redirect.html index a1758f747..9ff421b31 100644 --- a/site/_layouts/redirect.html +++ b/site/_layouts/redirect.html @@ -1,28 +1,15 @@ - {% if page.dir != "/docs/" %} - - - Redirecting... - - -Redirecting to {{ page.redirect.to }}. If it doesn't load, click here. - - - {% endif %} - {% if page.dir == "/docs/" %} + {% if page.dir contains "/docs/" %} - Redirecting... + Redirecting to docs... Redirecting to {{ page.destination }}. If it doesn't load, click here. -{% endif %} - + {% endif %}