mirror of
https://github.com/Noratrieb/womangling.git
synced 2026-01-14 17:05:04 +01:00
redirects
This commit is contained in:
commit
29577bd1fe
7 changed files with 116 additions and 0 deletions
32
generate.sh
Executable file
32
generate.sh
Executable file
|
|
@ -0,0 +1,32 @@
|
||||||
|
#!/usr/bin/env bash
|
||||||
|
|
||||||
|
# generated by hand at 2026-01-10
|
||||||
|
links=(
|
||||||
|
"index.html"
|
||||||
|
"lesson-0.html"
|
||||||
|
"lesson-1.html"
|
||||||
|
"lesson-2.html"
|
||||||
|
"lesson-3.html"
|
||||||
|
"practice/primitive-types.html"
|
||||||
|
)
|
||||||
|
|
||||||
|
for link in "${links[@]}"; do
|
||||||
|
mkdir -p "$(dirname "./$link")"
|
||||||
|
url="https://womangling.noratrieb.dev/$link"
|
||||||
|
cat > "$link" <<EOF
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=$url" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="$url">$url</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
|
EOF
|
||||||
|
done
|
||||||
14
index.html
Normal file
14
index.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=https://womangling.noratrieb.dev/index.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="https://womangling.noratrieb.dev/index.html">https://womangling.noratrieb.dev/index.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
14
lesson-0.html
Normal file
14
lesson-0.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=https://womangling.noratrieb.dev/lesson-0.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="https://womangling.noratrieb.dev/lesson-0.html">https://womangling.noratrieb.dev/lesson-0.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
14
lesson-1.html
Normal file
14
lesson-1.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=https://womangling.noratrieb.dev/lesson-1.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="https://womangling.noratrieb.dev/lesson-1.html">https://womangling.noratrieb.dev/lesson-1.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
14
lesson-2.html
Normal file
14
lesson-2.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=https://womangling.noratrieb.dev/lesson-2.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="https://womangling.noratrieb.dev/lesson-2.html">https://womangling.noratrieb.dev/lesson-2.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
14
lesson-3.html
Normal file
14
lesson-3.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=https://womangling.noratrieb.dev/lesson-3.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="https://womangling.noratrieb.dev/lesson-3.html">https://womangling.noratrieb.dev/lesson-3.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
14
practice/primitive-types.html
Normal file
14
practice/primitive-types.html
Normal file
|
|
@ -0,0 +1,14 @@
|
||||||
|
<!DOCTYPE html>
|
||||||
|
<html lang="en">
|
||||||
|
<head>
|
||||||
|
<meta charset="UTF-8">
|
||||||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||||
|
<title>Womangling</title>
|
||||||
|
<meta http-equiv="refresh" content="0; url=https://womangling.noratrieb.dev/practice/primitive-types.html" />
|
||||||
|
</head>
|
||||||
|
<body>
|
||||||
|
<h1>Womangling has moved, redirecting...</h1>
|
||||||
|
<p>if this doesn't happen automatically, click on the link below</p>
|
||||||
|
<a href="https://womangling.noratrieb.dev/practice/primitive-types.html">https://womangling.noratrieb.dev/practice/primitive-types.html</a>
|
||||||
|
</body>
|
||||||
|
</html>
|
||||||
Loading…
Add table
Add a link
Reference in a new issue