commit e4316c9844236e26150bfd29d2b37ba8d202e2c7
Author: kez <[email protected]>
Date:   Fri Jul 9 16:50:54 2021 -0400

    Move the donate-thank-you page to markdown
---
 content/donate-thank-you/contents.lr | 13 -------------
 templates/donate-thank-you.html      | 20 ++++++++++++++++++++
 2 files changed, 20 insertions(+), 13 deletions(-)

diff --git a/content/donate-thank-you/contents.lr 
b/content/donate-thank-you/contents.lr
index 74c7206c..0a9d469e 100644
--- a/content/donate-thank-you/contents.lr
+++ b/content/donate-thank-you/contents.lr
@@ -15,24 +15,11 @@ header_description:
 Thank you for standing up for privacy and freedom online.
 With your gift, you're helping the Tor Project give millions of people private 
access to the open web.
 Your contribution helps make Tor an even stronger tool against authoritarian 
governments and privacy-invading corporations.
-
-<div class="content-center">
-<h4 class="text-white text-uppercase">Share the Tor Project</h4>
-<div class="share-icons">
-  <a 
href="http://www.facebook.com/sharer.php?u=https://donate.torproject.org";><img 
src="../static/images/facebook-logo.png">
-  </a>
-  <a 
href="https://twitter.com/intent/tweet?text=Let%27s%20resist%20the%20surveillance%20pandemic.%20Use%20a%20mask,%20use%20Tor.%20Join%20me%20and%20donate%20to%20%40torproject%3A%20https%3A//donate.torproject.org%20%23UseAMaskUseTor";><img
 src="../static/images/twitter-white-on-blue.png">
-  </a>
-</div>
-</div>
 ---
 header_description_alignment: center
 ---
 body:
-<h4 class="text-uppercase">Got Skills?</h4>
 
 The Tor network depends on volunteers.
 We need people to run relays, write code, organize the community and spread 
the word about our good work.
 Learn how you can help.
-<hr>
-<a class="btn btn-primary" href="https://community.torproject.org/"; 
target="_blank">I Want To Volunteer</a>
diff --git a/templates/donate-thank-you.html b/templates/donate-thank-you.html
new file mode 100644
index 00000000..31cefa38
--- /dev/null
+++ b/templates/donate-thank-you.html
@@ -0,0 +1,20 @@
+{% extends "donate-empty.html" %}
+{% block header_description %}
+{{ this.header_description }}
+
+  <div class="content-center">
+    <h4 class="text-white text-uppercase">Share the Tor Project</h4>
+    <div class="share-icons">
+      <a 
href="http://www.facebook.com/sharer.php?u=https://donate.torproject.org";><img 
src="../static/images/facebook-logo.png">
+      </a>
+      <a 
href="https://twitter.com/intent/tweet?text=Let%27s%20resist%20the%20surveillance%20pandemic.%20Use%20a%20mask,%20use%20Tor.%20Join%20me%20and%20donate%20to%20%40torproject%3A%20https%3A//donate.torproject.org%20%23UseAMaskUseTor";><img
 src="../static/images/twitter-white-on-blue.png">
+      </a>
+    </div>
+  </div>
+{% endblock %}
+{% block donate_content %}
+  <h4 class="text-uppercase">Got Skills?</h4>
+  {{ this.body }}
+  <hr>
+  <a class="btn btn-primary" href="https://community.torproject.org/"; 
target="_blank">I Want To Volunteer</a>
+{% endblock %}

_______________________________________________
tor-commits mailing list
[email protected]
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits

Reply via email to