From 9bb5ea00356d21293a950dba94e4b18df74f5f21 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mar 24 2016 16:55:05 +0000 Subject: De-duplicate the "Read more" link if it already appears in the long_form content. --- diff --git a/hubs/widgets/templates/feed.html b/hubs/widgets/templates/feed.html index 138612b..534a51a 100644 --- a/hubs/widgets/templates/feed.html +++ b/hubs/widgets/templates/feed.html @@ -35,7 +35,7 @@ {% endif %}
{{constituent['long_form']}} - {% if constituent['link'] %} + {% if constituent['link'] and constituent['link'] not in constituent['long_form'] %} Read more