summaryrefslogtreecommitdiff
path: root/content/assets/ring.js
diff options
context:
space:
mode:
authorbdunahu <bdunahu@operationnull.com>2026-03-01 22:22:46 -0500
committerbdunahu <bdunahu@operationnull.com>2026-03-01 22:22:46 -0500
commitfbba36ebe0437eb93c0b92c113995d1c3d043ea4 (patch)
tree1b4d58c2d05a0ea77ee3564ed664a07ae8b56993 /content/assets/ring.js
parent3631eae3593112414610fdb6c7791cdd68c1e8dd (diff)
many changes to header, css, page contentHEADmaster
Diffstat (limited to 'content/assets/ring.js')
-rw-r--r--content/assets/ring.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/content/assets/ring.js b/content/assets/ring.js
new file mode 100644
index 0000000..a094844
--- /dev/null
+++ b/content/assets/ring.js
@@ -0,0 +1,12 @@
+fetch('https://umaring.github.io/bdunahu.json')
+ .then(function(ret) { return ret.json(); })
+ .then(function(json) {
+ document.getElementById('umaring-id').innerHTML = `<ul>
+ <li> <a href=${json.prev.url}>${json.prev.name}</a> </li>
+ <li> <span>←</span>
+ <li> <a href="https://github.com/umacabal/umaring">umass ring</a> </li>
+ <li> <span>→</span>
+ <li> <a href=${json.next.url}>${json.next.name}</a> </li>
+</ul>`
+ })
+ .catch(function() {});