diff --git a/assets/index.html b/assets/index.html index ffe62f5..d0826d4 100644 --- a/assets/index.html +++ b/assets/index.html @@ -1,122 +1,128 @@ - - - Weirdradio - - -
-
-
-

Weirdradio

-
-
- {playlist} -
+ + + Weirdradio + + + +
+
+
+

Weirdradio

-
-
-
-
+
{playlist}
+
+
+
+
-
- - - \ No newline at end of file + }; + } + + function updatePlaylist() { + pl = document.getElementById("playlist"); + output = ""; + playlist.forEach((e) => { + output = + output + `
${e.title}
${e.link}
`; + }); + pl.innerHTML = output; + } + +