Эх сурвалжийг харах

Redirect sections to tags

Riccardo Balbo 4 жил өмнө
parent
commit
44c0ed60a9

+ 10 - 0
layouts/_default/section.html

@@ -0,0 +1,10 @@
+<html>
+<head> 
+    <meta http-equiv="refresh" content="0; url=/tags/{{.Section}}" />
+    </head> 
+    <body>
+        <p style="text-align: center;">
+        You are being redirected to <a href="/tags/{{.Section}}">/tags/{{.Section}}</a>
+        </p>
+    </body>
+</html>