From 8eda9a4cc7c588ff09a520e9f7fa183d1fb11031 Mon Sep 17 00:00:00 2001 From: Talha Mansoor Date: Thu, 5 Dec 2019 08:35:47 +0500 Subject: [PATCH] feat(applause): add option to set applause_button_id --- templates/_includes/applause_button.html | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/templates/_includes/applause_button.html b/templates/_includes/applause_button.html index 08aaa438..0c73c9f6 100644 --- a/templates/_includes/applause_button.html +++ b/templates/_includes/applause_button.html @@ -3,9 +3,15 @@ article.applause_button_filter == "off") and article.applause_button_filter != "on" %} +{% set url = SITEURL+ '/' + article.url %} +{% set identifier = SITEURL+ '/' + article.url %} +{% if article.applause_button_id %} +{% set identifier = article.applause_button_id %} +{% endif %} +
- +
{% endif %} {% endmacro %}