mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2025-08-25 17:43:07 +02:00
includes: add a redirect macro
Usage example: {% include redirect.html redirect_to="page.html" %} Hopefully SEO doesn't hate us too much for doing it this way, but we shall find out.
This commit is contained in:
2
_includes/redirect.html
Normal file
2
_includes/redirect.html
Normal file
@@ -0,0 +1,2 @@
|
||||
<meta http-equiv="refresh" content="0; URL={{ include.redirect_to }}">
|
||||
<link rel="canonical" href="{{ include.redirect_to }}">
|
Reference in New Issue
Block a user