mirror of
https://github.com/hacks-guide/Guide_3DS.git
synced 2024-11-26 19:00:34 +00: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:
parent
98376c09b8
commit
76d31c0130
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 }}">
|
Loading…
Reference in New Issue
Block a user