From: Jason Skomorowski Date: Wed, 11 Jun 2014 00:52:53 +0000 (-0400) Subject: Template for refrence widget X-Git-Tag: 1.0.0~324^2~63 X-Git-Url: http://sru.miketaylor.org.uk/cgi-bin?a=commitdiff_plain;h=1fbb54ee006b90c8c6adf9cefd987eaff30d0efe;p=mkws-moved-to-github.git Template for refrence widget --- diff --git a/src/mkws-widget-reference.templates/Reference.handlebars b/src/mkws-widget-reference.templates/Reference.handlebars new file mode 100644 index 0000000..62a9d2a --- /dev/null +++ b/src/mkws-widget-reference.templates/Reference.handlebars @@ -0,0 +1,17 @@ +{{! +Paragraphs and images from a reference source. + +sentences - number of sentences to include +paragraphs - number of paragraphs to include +md-* - metadata fields passed through from backend +}} +{{md-title}} +

{{md-title}}

+{{#if md-title-remainder}} +{{md-title-remainder}} +{{/if}} +{{#if md-title-responsibility}} +{{md-title-responsibility}} +{{/if}} +{{{mkws-paragraphs md-description paragraphs sentences}}} +

Wikipedia