summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile4
-rw-r--r--templates/public/index.html8
2 files changed, 9 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 925329ed..a43da420 100644
--- a/Makefile
+++ b/Makefile
@@ -24,6 +24,7 @@ targets = \
sitestatic/.gitignore visualize/.gitignore \
sitestatic/rss.png \
sitestatic/rss@2x.png \
+ sitestatic/paypal-donate.gif \
sitestatic/bootstrap-typeahead.js \
sitestatic/homepage.js \
sitestatic/jquery-$(jquery-ver).min.js \
@@ -96,6 +97,9 @@ sitestatic/rss.png: $(dl-cache)/unzip/Feedicons_v.2/RSS_16.png
sitestatic/rss@2x.png: $(dl-cache)/unzip/Feedicons_v.2/RSS_32.png
pngcrush $< $@
+sitestatic/paypal-donate.gif: $(www)/https/www.paypalobjects.com/en_US/i/btn/btn_donateCC_LG.gif
+ cp $< $@
+
$(dl-cache)/unzip/parabola-artwork: $(www)/git/projects.parabola.nu/artwork.git\#branch=official/2013 | $(dl-cache)/unzip
cp -rT '$<' '$@'
make -C '$@'
diff --git a/templates/public/index.html b/templates/public/index.html
index 68020aeb..0af8c25b 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -188,11 +188,13 @@
</ul>
</div>
-{% comment %}
<div id="home-donate-button" class="widget">
-donate button would go here
+ <a href="https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=8WJTKB86BR7MA">
+ <img src="{% static "paypal-donate.gif" %}"
+ alt="Donate via PayPal - The safer, easier way to pay online!"
+ title="Donate via PayPal - The safer, easier way to pay online!" />
+ </a>
</div>
-{% endcomment %}
<div id="arch-sponsors" class="widget">
<a href="https://ceata.org">