From 14f700fa22f41adae666f5ef4c7f10c9f17cb196 Mon Sep 17 00:00:00 2001
From: probonopd
Date: Tue, 1 Jan 2019 13:12:59 +0100
Subject: [PATCH] Add donation link, closes #752
---
_includes/app_teaser.html | 6 ++++++
1 file changed, 6 insertions(+)
diff --git a/_includes/app_teaser.html b/_includes/app_teaser.html
index 79b181d1..7fa22ec6 100644
--- a/_includes/app_teaser.html
+++ b/_includes/app_teaser.html
@@ -40,3 +40,9 @@
{% include list_links.html %}
{% endif %}
+
+{% if post.appdata.Url.donation %}
+Donate: {{ post.appdata.Url.donation }}
+{% elsif post.description %}
+ If you would like to see a donation link for the application here, please ask the appliction author to include on in the AppStream metainfo file
+{% endif %}