From 2384736cdd35ca2d84dff877af4e832dd8f67f22 Mon Sep 17 00:00:00 2001
From: Enstrayed <48845980+Enstrayed@users.noreply.github.com>
Date: Tue, 24 Dec 2024 19:29:32 -0800
Subject: [PATCH] 1224 cleanup
---
.gitmodules | 3 ++
liberals/libnowplaying.js | 2 +-
routes/frontpage.js | 68 ++++++++++++++++++++++----------
static/markdownposttemplate.html | 21 ----------
website | 1 +
5 files changed, 52 insertions(+), 43 deletions(-)
create mode 100644 .gitmodules
delete mode 100644 static/markdownposttemplate.html
create mode 160000 website
diff --git a/.gitmodules b/.gitmodules
new file mode 100644
index 0000000..0f160b5
--- /dev/null
+++ b/.gitmodules
@@ -0,0 +1,3 @@
+[submodule "website"]
+ path = website
+ url = https://github.com/enstrayed/website
diff --git a/liberals/libnowplaying.js b/liberals/libnowplaying.js
index 04c7ce5..0bfb6a2 100644
--- a/liberals/libnowplaying.js
+++ b/liberals/libnowplaying.js
@@ -60,7 +60,7 @@ async function queryJellyfin() {
"artUrl": `${globalConfig.nowplaying.jellyfin.hostPublic}/Items/${response[x].NowPlayingItem.Id}/Images/Primary`,
"link": `https://www.last.fm/music/${response[x].NowPlayingItem.Artists[0].replaceAll(" ","+")}/_/${response[x].NowPlayingItem.Name.replaceAll(" ","+")}`
},
- "html": `
I'm listening to
from ${response[x].NowPlayingItem.Album ?? `${response[x].NowPlayingItem.Name} (Single)`}
View on Last.fm