1
0
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:
lifehackerhansol
2024-01-09 11:07:35 -08:00
parent 98376c09b8
commit 76d31c0130

2
_includes/redirect.html Normal file
View File

@@ -0,0 +1,2 @@
<meta http-equiv="refresh" content="0; URL={{ include.redirect_to }}">
<link rel="canonical" href="{{ include.redirect_to }}">