Add redirects for old urls
This commit is contained in:
parent
00a9bd4ff1
commit
6c04f9bac2
5
content/index.php/apps/bluerock.md
Normal file
5
content/index.php/apps/bluerock.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
layout: redirect
|
||||||
|
redirectUrl: "/apps/bluerock"
|
||||||
|
redirectDelay: "0"
|
||||||
|
---
|
5
content/index.php/apps/speed-climbing-stopwatch-app.md
Normal file
5
content/index.php/apps/speed-climbing-stopwatch-app.md
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
layout: redirect
|
||||||
|
redirectUrl: "/apps/scstw"
|
||||||
|
redirectDelay: "0"
|
||||||
|
---
|
|
@ -0,0 +1,5 @@
|
||||||
|
---
|
||||||
|
layout: redirect
|
||||||
|
redirectUrl: "/apps/scrt"
|
||||||
|
redirectDelay: "0"
|
||||||
|
---
|
7
themes/quark-hugo/layouts/_default/redirect.html
Normal file
7
themes/quark-hugo/layouts/_default/redirect.html
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{{ define "content" }}
|
||||||
|
<article class="mb-16 max-w-5xl mx-auto px-4 prose lg:prose-lg prose-blue dark:prose-dark">
|
||||||
|
<meta http-equiv="refresh" content="{{ .Params.redirectDelay }}; url={{ .Params.redirectUrl }}" />
|
||||||
|
<h1 class="font-bold text-3xl">Redirecting ...</h1>
|
||||||
|
<a href="{{ .Params.redirectUrl }}">Click here if nothing happens</a>
|
||||||
|
</article>
|
||||||
|
{{ end }}
|
Loading…
Reference in a new issue