From: Mike Taylor Date: Fri, 23 Jan 2015 09:30:19 +0000 (+0000) Subject: Related to MKWS-163. X-Git-Url: http://jsfdemo.indexdata.com/cgi-bin?a=commitdiff_plain;h=a992ab611ca5ca61674a2617fdd4dafdab391d10;p=mkws-moved-to-github.git Related to MKWS-163. The wikipedia widget now includes "Or did you mean a different XXX?" links to disambiguation pages, when a disambiguationurl field is present. These pages open in a new tab. The main Wikipedia links now also open in a new tab. --- diff --git a/src/templates/wikipedia.handlebars b/src/templates/wikipedia.handlebars index b2a92cb..8967945 100644 --- a/src/templates/wikipedia.handlebars +++ b/src/templates/wikipedia.handlebars @@ -19,7 +19,7 @@ display only the first image {{md-title}} {{/each}} -

{{md-title}}

+

{{md-title}}

{{#if md-title-remainder}} {{md-title-remainder}} {{/if}} @@ -27,4 +27,8 @@ display only the first image {{md-title-responsibility}} {{/if}} {{{mkws-paragraphs md-description paragraphs sentences}}} +{{#if md-disambiguationurl}} +

Or did you mean a different {{md-title}}?

+{{/if}}

{{credit}}