From cc8d5d0ba4ffa61070307207da3d6c098a9e9b25 Mon Sep 17 00:00:00 2001 From: William Kwon Date: Wed, 26 Jun 2019 18:58:52 -0700 Subject: [PATCH] STRF-3382 display facebook like button when enabled --- templates/components/amp/common/share.html | 6 ++---- templates/components/common/share.html | 4 ---- templates/components/products/product-view.html | 1 + 3 files changed, 3 insertions(+), 8 deletions(-) diff --git a/templates/components/amp/common/share.html b/templates/components/amp/common/share.html index c131c2904d..194aed2ecc 100644 --- a/templates/components/amp/common/share.html +++ b/templates/components/amp/common/share.html @@ -3,10 +3,8 @@ {{#each settings.add_this.buttons}} {{#all (if service '!==' 'google') (if service '!==' 'print') (if service '!==' 'facebook')}} {{/all}} diff --git a/templates/components/common/share.html b/templates/components/common/share.html index 79343920a4..b71adec7a4 100644 --- a/templates/components/common/share.html +++ b/templates/components/common/share.html @@ -35,10 +35,6 @@ - {{else if service '===' 'facebook_like'}} - - - {{/if}} diff --git a/templates/components/products/product-view.html b/templates/components/products/product-view.html index 78ecd0e4a1..429c1f8c2c 100644 --- a/templates/components/products/product-view.html +++ b/templates/components/products/product-view.html @@ -230,6 +230,7 @@

{{> components/common/share}} + {{#if settings.facebook_like_button}}{{{settings.facebook_like_button}}}{{/if}}