Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/J-Siu/hugo-theme-sk3.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'layouts/partials/paypal.html')
-rw-r--r--layouts/partials/paypal.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/layouts/partials/paypal.html b/layouts/partials/paypal.html
new file mode 100644
index 0000000..32658f1
--- /dev/null
+++ b/layouts/partials/paypal.html
@@ -0,0 +1,6 @@
+{{if site.Params.paypal.businessId}}
+<a style="all:initial;"
+ href="https://www.paypal.com/donate/?business={{site.Params.paypal.businessId}}&amount={{site.Params.paypal.amount|default 0}}&no_recurring={{if site.Params.paypal.enableRecurring}}0{{else}}1{{end}}&currency_code={{site.Params.paypal.currency}}">
+ <img style="all:initial;height:24px" src="https://www.paypalobjects.com/en_US/i/btn/btn_donate_LG.gif" />
+</a>
+{{end}} \ No newline at end of file