diff options
| author | bdunahu <bdunahu@operationnull.com> | 2026-03-01 22:22:46 -0500 |
|---|---|---|
| committer | bdunahu <bdunahu@operationnull.com> | 2026-03-01 22:22:46 -0500 |
| commit | fbba36ebe0437eb93c0b92c113995d1c3d043ea4 (patch) | |
| tree | 1b4d58c2d05a0ea77ee3564ed664a07ae8b56993 /content/assets/ring.js | |
| parent | 3631eae3593112414610fdb6c7791cdd68c1e8dd (diff) | |
Diffstat (limited to 'content/assets/ring.js')
| -rw-r--r-- | content/assets/ring.js | 12 |
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() {}); |
