Skip to content

Commit 883b97a

Browse files
Added redirects (#632)
1 parent f4b4d0c commit 883b97a

File tree

4 files changed

+18
-0
lines changed

4 files changed

+18
-0
lines changed

uri/_metadata.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
listing:
2+
template: redirect.ejs

uri/initial-parameters.qmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: "Troubleshooting - Initial parameters"
3+
aliases: [initial-parameters]
4+
redirect: https://turinglang.org/docs/usage/troubleshooting/#initial-parameters
5+
---

uri/redirect.ejs

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
```{=html}
2+
<p>If you are not redirected, please <a href="{{< meta redirect >}}">click here</a>.</p>
3+
<script>
4+
window.location.href = "{{< meta redirect >}}";
5+
</script>
6+
```

uri/troubleshooting.qmd

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
title: Troubleshooting
3+
aliases: [troubleshooting]
4+
redirect: https://turinglang.org/docs/usage/troubleshooting/
5+
---

0 commit comments

Comments
 (0)