redlib-patches/0001-add-rapidsave-button-to-media-posts.patch

26 lines
708 B
Diff

From bce0101390dd17da657d689d20adde61e1d97b0d Mon Sep 17 00:00:00 2001
From: architect <architect@noreply.forge.fsky.io>
Date: Sun, 6 Apr 2025 19:41:46 +0200
Subject: [PATCH] Add a RapidSave button to media posts
---
templates/utils.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/templates/utils.html b/templates/utils.html
index 4cee979..5d62cbb 100644
--- a/templates/utils.html
+++ b/templates/utils.html
@@ -193,6 +193,9 @@
<span class="desktop_item">download</span>
</a>
</li>
+ <li>
+ <a href="https://rapidsave.com{{ post.permalink }}">rapidsave</a>
+ </li>
{% endif %}
</ul>
<p>{{ post.upvote_ratio }}%<span id="upvoted"> Upvoted</span></p>
--
2.49.0