forked from WdeNooy/Statistical-Inference
-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy path404.quarto_ipynb
More file actions
46 lines (46 loc) · 1.1 KB
/
404.quarto_ipynb
File metadata and controls
46 lines (46 loc) · 1.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
{
"cells": [
{
"cell_type": "markdown",
"metadata": {},
"source": [
"---\n",
"title: Page Not Found\n",
"---\n",
"\n",
"\n",
"\n",
"\n",
"The page you requested cannot be found (perhaps it was moved or renamed).\n",
"\n",
"You may want to try searching to find the page's new location.\n",
"\n",
"\n",
"\n",
"\n",
"```{js}\n",
"// Get the current URL\n",
"let currentUrl = window.location.href;\n",
"\n",
"// Use regex to replace the specified part of the URL\n",
"let newUrl = currentUrl.replace(/(\\/1)[^#]+(#[^]*)?$/, '$1-samplingdistr.html');\n",
"\n",
"// Redirect to the new URL\n",
"if (currentUrl !== newUrl) {\n",
" window.location.replace(newUrl);\n",
"}\n",
"```"
],
"id": "b98e30de"
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
}
},
"nbformat": 4,
"nbformat_minor": 5
}