diff --git a/files/routes/static.py b/files/routes/static.py index d8c6a5111..1b4246f93 100644 --- a/files/routes/static.py +++ b/files/routes/static.py @@ -385,11 +385,8 @@ def transfers(v:User): return render_template("transfers.html", v=v, page=page, comments=comments, standalone=True, next_exists=next_exists) -if not os.path.exists(f'files/templates/donate_{SITE_NAME}.html'): - copyfile('files/templates/donate_rDrama.html', f'files/templates/donate_{SITE_NAME}.html') - @app.get('/donate') @limiter.limit(DEFAULT_RATELIMIT) @auth_desired_with_logingate def donate(v): - return render_template(f'donate_{SITE_NAME}.html', v=v) + return render_template(f'donate.html', v=v) diff --git a/files/templates/donate_WPD.html b/files/templates/donate.html similarity index 100% rename from files/templates/donate_WPD.html rename to files/templates/donate.html diff --git a/files/templates/donate_rDrama.html b/files/templates/donate_rDrama.html deleted file mode 100644 index 9c2571ba8..000000000 --- a/files/templates/donate_rDrama.html +++ /dev/null @@ -1,33 +0,0 @@ -{% extends "default.html" %} -{% block pagetitle %}Donate{% endblock %} -{% block content %} -
{{DONATE_SERVICE}} | -{{DONATE_LINK}} | -
Ethereum/Brave Attention Token | -0xBBf1043A60C6894Db17b3118CA960FFDF84c9eea | -
Bitcoin | -bc1qs5hamvytnkllgml89flzhcyt3l4a3u4gs8lvvp | -
Monero | -44hdEpAYXkB2VwkWz6LR9zZhcaG8zrUzn21aPy1HSdcsjT51fPdpMV8hkf5QQdHKs9VsAs3so5Vq5easdBbzmcifGcqfxfw | -
Merch | -https://redbubble.com/people/rdramanet/explore?sortOrder=top%20selling | -