From 37d63c206b9d5d3809ff486d50565f7ace57bea4 Mon Sep 17 00:00:00 2001 From: Jacob Janzen Date: Tue, 31 Dec 2024 13:03:06 -0600 Subject: include script for webring --- scripts/cssa-webring.js | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 scripts/cssa-webring.js (limited to 'scripts') diff --git a/scripts/cssa-webring.js b/scripts/cssa-webring.js new file mode 100644 index 0000000..0a5679d --- /dev/null +++ b/scripts/cssa-webring.js @@ -0,0 +1,20 @@ +function load_webring() { + const webring_url = "https://aidang.cc/webring/https://jjanzen.ca"; + + const webring_container = document.getElementById("cssa-webring-container"); + + fetch(webring_url) + .then((response) => response.json()) + .then((obj) => { + const webring_html = ` +
+ "Official" CSSA Webring +
+`; + webring_container.innerHTML = webring_html; + }); +} -- cgit v1.2.3