diff --git a/src/app.py b/src/app.py index ab9ef69..6aca496 100644 --- a/src/app.py +++ b/src/app.py @@ -56,13 +56,16 @@ def resume(): @app.route("/hotspots") def hotspotsRIT(): + url = HotspotsURL + if flask.request.args.get("legend") == "true": + url += "?legend=true" pagevars = { "template": "iframe.html", "title": f"Hotspots @ RIT", "description": "Hotspots @ RIT by Andrew Simonson", "canonical": "/hotspots", } - return flask.render_template("iframe.html", url=HotspotsURL, var=pagevars) + return flask.render_template("iframe.html", url=url, var=pagevars) @app.route("/hotspots/") def hotspotsProxy(path): diff --git a/src/static/json/projects.json b/src/static/json/projects.json index 74a1471..f35e115 100644 --- a/src/static/json/projects.json +++ b/src/static/json/projects.json @@ -9,7 +9,7 @@ "github", "https://github.com/asimonson1125/hotspotsrit", "git repo" ], [ - "globe", "https://asimonson.com/hotspots", "demo" + "globe", "https://asimonson.com/hotspots?legend=true", "demo" ] ] },