diff options
author | cel 🌸 <cel@blos.sm> | 2023-08-06 02:40:52 +0100 |
---|---|---|
committer | cel 🌸 <cel@blos.sm> | 2023-08-06 02:40:52 +0100 |
commit | f989f1f6c7e460bfc3294ae32ca8356be9c3fdb2 (patch) | |
tree | 5a2fb6a3045f00a01ed3afec5c7fcef10b57ef19 | |
parent | 621ba5a5bec47bde3f6f7e411186b9e56694472c (diff) | |
download | blossom-f989f1f6c7e460bfc3294ae32ca8356be9c3fdb2.tar.gz blossom-f989f1f6c7e460bfc3294ae32ca8356be9c3fdb2.tar.bz2 blossom-f989f1f6c7e460bfc3294ae32ca8356be9c3fdb2.zip |
remove skweets widget ;-;;;;
-rw-r--r-- | src/main.rs | 7 | ||||
-rw-r--r-- | templates/home.html.tera | 1 |
2 files changed, 3 insertions, 5 deletions
diff --git a/src/main.rs b/src/main.rs index 6f603de..e538f84 100644 --- a/src/main.rs +++ b/src/main.rs @@ -28,22 +28,21 @@ extern crate rocket; #[get("/")] async fn home(clients: &State<Clients>) -> Template { - let (live, listenbrainz, skweets, blogposts) = tokio::join!( + let (live, listenbrainz, blogposts) = tokio::join!( live::get_live_status(&clients.reqwest), scrobbles::get_now_playing(&clients.listenbrainz), - skweets::get_recents(&clients.skinnyverse), + // skweets::get_recents(&clients.skinnyverse), posts::get_blogposts() ); let is_live = live.unwrap_or_default().online; let listenbrainz = listenbrainz.unwrap_or_default(); - let skweets = skweets.unwrap_or_default(); let blogposts = blogposts.unwrap_or_default(); Template::render( "home", context! { is_live, listenbrainz, - skweets, + // skweets, blogposts, }, ) diff --git a/templates/home.html.tera b/templates/home.html.tera index 9a6041f..7927492 100644 --- a/templates/home.html.tera +++ b/templates/home.html.tera @@ -48,7 +48,6 @@ <aside> {% include "latestposts" %} - {% include "latestskweets" %} </aside> |