From 1fbb54ee006b90c8c6adf9cefd987eaff30d0efe Mon Sep 17 00:00:00 2001 From: Jason Skomorowski Date: Tue, 10 Jun 2014 20:52:53 -0400 Subject: [PATCH] Template for refrence widget --- .../Reference.handlebars | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 src/mkws-widget-reference.templates/Reference.handlebars 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

-- 1.7.10.4