Skip to content

Commit b7d401c

Browse files
committed
Deploy from jjohare/logseq @ a9ab5854207b8b680f829545d665bf3502d7ef5d jjohare/logseq@a9ab585
1 parent fe1e75e commit b7d401c

399 files changed

Lines changed: 49 additions & 125421 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

404.html

Lines changed: 14 additions & 41 deletions
Original file line numberDiff line numberDiff line change
@@ -1,41 +1,14 @@
1-
<!DOCTYPE html>
2-
<html>
3-
<head>
4-
<meta charset="utf-8">
5-
<title>Not Found</title>
6-
<script type="text/javascript">
7-
// Single Page Apps for GitHub Pages
8-
// https://github.com/rafgraph/spa-github-pages
9-
// Copyright (c) 2016 Rafael Pedicini, licensed under the MIT License
10-
// ----------------------------------------------------------------------
11-
// This script takes the current url and converts the path and query
12-
// string into just a query string, and then redirects the browser
13-
// to the new url with only a query string and hash fragment,
14-
// e.g. https://www.foo.tld/one/two?a=b&c=d#qwe, becomes
15-
// https://www.foo.tld/?p=/one/two&q=a=b~and~c=d#qwe
16-
// Note: this 404.html file must be at least 512 bytes for it to work
17-
// with Internet Explorer (it is currently > 512 bytes)
18-
19-
// If you're creating a Project Pages site and NOT using a custom domain,
20-
// then set segmentCount to 1 (enterprise users may need to set it to > 1).
21-
// This way the code will only replace the route part of the path, and not
22-
// the real directory in which the app resides, for example:
23-
// https://username.github.io/repo-name/one/two?a=b&c=d#qwe becomes
24-
// https://username.github.io/repo-name/?p=/one/two&q=a=b~and~c=d#qwe
25-
// Otherwise, leave segmentCount as 0.
26-
var segmentCount = 0;
27-
28-
var l = window.location;
29-
l.replace(
30-
l.protocol + '//' + l.hostname + (l.port ? ':' + l.port : '') +
31-
l.pathname.split('/').slice(0, 1 + segmentCount).join('/') + '/?p=/' +
32-
l.pathname.slice(1).split('/').slice(segmentCount).join('/').replace(/&/g, '~and~') +
33-
(l.search ? '&q=' + l.search.slice(1).replace(/&/g, '~and~') : '') +
34-
l.hash
35-
);
36-
37-
</script>
38-
</head>
39-
<body>
40-
</body>
41-
</html>
1+
<!DOCTYPE html>
2+
<html lang="en">
3+
<head>
4+
<meta charset="utf-8">
5+
<title>Narrative Goldmine</title>
6+
<script>
7+
// GitHub Pages SPA redirect trick
8+
// Store the path and redirect to index.html
9+
sessionStorage.setItem('redirect', location.pathname + location.search + location.hash);
10+
location.replace(location.origin + location.pathname.split('/').slice(0, -1).join('/') + '/');
11+
</script>
12+
</head>
13+
<body></body>
14+
</html>
-31.7 KB
Binary file not shown.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)