diff --git a/site/app.py b/site/app.py index 8e246d0..f48e7fc 100644 --- a/site/app.py +++ b/site/app.py @@ -11,7 +11,6 @@ buttons = [ ("assets/88x31s/benjae.nekoweb.org.gif", "https://benjae.nekoweb.org"), ("assets/88x31s/freetards.xyz.gif", "https://freetards.xyz"), ("assets/88x31s/fsky.io.webp", "https://fsky.io"), - ("assets/88x31s/nyx.everypizza.im.webp", "https://nyx.everypizza.im"), ("assets/88x31s/purplebored.pl.gif", "https://purplebored.pl"), ("assets/88x31s/squarebowl.club.gif", "https://squarebowl.club"), ("assets/88x31s/synth.download.svg", "https://synth.download"), @@ -19,6 +18,10 @@ buttons = [ ("assets/88x31s/voxel.fsky.io.webp", "https://voxel.fsky.io"), ] +nyxbuttons = [ + ("assets/88x31s/nyx.everypizza.im.webp", "https://nyx.everypizza.im"), +] + app = Flask(__name__) countFile = "visitorCount.txt" @@ -50,7 +53,7 @@ def index(): album = data.json()['payload']['listens'][0]['track_metadata']['release_name'] nowPlayingString = f"now playing for {user}: {track} by {artist} from {album}" - return render_template('index.j2', np=nowPlayingString, visitor=get_visitor_count(), buttons=buttons) + return render_template('index.j2', np=nowPlayingString, visitor=get_visitor_count(), buttons=buttons, nyxbuttons=nyxbuttons) @app.route('/assets/index.css') def indexStyle(): diff --git a/site/templates/index.j2 b/site/templates/index.j2 index 41600a0..360b3c1 100644 --- a/site/templates/index.j2 +++ b/site/templates/index.j2 @@ -94,4 +94,13 @@ {% endfor %}
+
+ {% for image, link in nyxbuttons %}
+
+
+
+ {% endfor %}