From: Mike Taylor Date: Tue, 10 Mar 2015 12:02:53 +0000 (+0000) Subject: Fix SUP-725. X-Git-Url: http://git.indexdata.com/?p=mkws-moved-to-github.git;a=commitdiff_plain;h=533bc3d16cec2ce53fd55225f22c2b52d3fcfe8a Fix SUP-725. When the wikipedia widget finds no records, emit a "Not found in Wikipedia" message rather than a blank widget with a meaningless "Source: Wikipedia" attribution. --- diff --git a/src/templates/wikipedia.handlebars b/src/templates/wikipedia.handlebars index 0400cae..c7a88d9 100644 --- a/src/templates/wikipedia.handlebars +++ b/src/templates/wikipedia.handlebars @@ -6,6 +6,7 @@ paragraphs - number of paragraphs to include md-* - metadata fields passed through from backend }} +{{#if md-title}}