diff options
Diffstat (limited to 'templates/banners/donations.swig')
| -rw-r--r-- | templates/banners/donations.swig | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/templates/banners/donations.swig b/templates/banners/donations.swig new file mode 100644 index 0000000..884f4ba --- /dev/null +++ b/templates/banners/donations.swig @@ -0,0 +1,23 @@ +<p class="alert alert-info"> + <strong>{{siteName}} is free to use, but our hosting costs are far from it</strong> — donations are what keep {{siteName}} alive, free, and fast. + <span class="donate-btns"> + {% if paypalUrl != '' %} + <a class="donate-btn donate-paypal" href="{{paypalUrl}}" target="_BLANK"> + <span class="icon icon-paypal"></span> + PayPal + </a> + {% endif %} + {% if bitcoinAddress != '' %} + <a class="donate-btn donate-bitcoin" href="bitcoin:{{bitcoinAddress}}?label={{siteName}}&message=Hosting%20Costs" target="_BLANK"> + <span class="icon icon-bitcoin"></span> + Bitcoin + </a> + {% endif %} + {% if flattrUrl != '' %} + <a class="donate-btn donate-flattr" href="{{flattrUrl}}" target="_BLANK"> + <span class="icon icon-flattr"></span> + Flattr + </a> + {% endif %} + </span> +</p> |
