From 3ec592287523ee5283d465666cfd8c2c923d0467 Mon Sep 17 00:00:00 2001 From: garrying Date: Sun, 28 Mar 2021 23:11:58 +0000 Subject: [PATCH] deploy: 6f650f390a43fb9e6aa164149c5b5eafc39fa388 --- 404.html | 20 +- assets/js/scripts.js | 8 + bentway.html | 2 +- dawn.html | 2 +- digital-public-garden.html | 2 +- feed.xml | 14 +- garry.html | 2 +- hypercore.html | 2 +- hypertext-transfer-protocol.html | 2 +- hypertext.html | 2 +- hypha.html | 2 +- index.html | 409 +------------------------------ infrastructure.html | 2 +- initial-seeds.html | 2 +- ipfs.html | 2 +- peer-to-peer.html | 2 +- protocol.html | 2 +- public-space.html | 2 +- publishing.html | 2 +- rss.html | 2 +- statement-of-intent.html | 2 +- web-browser.html | 2 +- world-wide-web.html | 2 +- 23 files changed, 41 insertions(+), 448 deletions(-) diff --git a/404.html b/404.html index 5cb8e5a..fc54b8a 100644 --- a/404.html +++ b/404.html @@ -7,24 +7,10 @@
- +
+

404

-
-

404

- -

Page not found :(

+

Page not found :(

The requested page could not be found.

diff --git a/assets/js/scripts.js b/assets/js/scripts.js index 20f7ec7..81af71e 100644 --- a/assets/js/scripts.js +++ b/assets/js/scripts.js @@ -112,6 +112,14 @@ const setupListeners = (linkElement) => { document.querySelectorAll('#notes-entry-container a').forEach(setupListeners) +// Random note index + +if (typeof window.graphDataIndex !== 'undefined') { + const indexNodes = window.graphDataIndex.nodes + const randomNode = indexNodes[Math.floor(Math.random() * indexNodes.length)] + window.location = randomNode.path +} + // Notes graph const d3 = window.d3 diff --git a/bentway.html b/bentway.html index 23f4ddf..8aa0d08 100644 --- a/bentway.html +++ b/bentway.html @@ -19,7 +19,7 @@ - -