Tweak comment.
authorMike Taylor <mike@indexdata.com>
Mon, 12 Jan 2015 17:24:04 +0000 (17:24 +0000)
committerMike Taylor <mike@indexdata.com>
Mon, 12 Jan 2015 17:24:04 +0000 (17:24 +0000)
DEFINTELY the last part of MKWS-349.

src/templates/wikipedia.handlebars [new file with mode: 0644]

diff --git a/src/templates/wikipedia.handlebars b/src/templates/wikipedia.handlebars
new file mode 100644 (file)
index 0000000..9447fb5
--- /dev/null
@@ -0,0 +1,17 @@
+{{!
+Paragraphs and images from a reference source such as Wikipedia
+
+sentences - number of sentences to include
+paragraphs - number of paragraphs to include
+md-* - metadata fields passed through from backend
+}}
+<img src="{{md-thumburl}}" alt="{{md-title}}">
+<h1><a href="{{md-electronic-url}}">{{md-title}}</a></h1>
+{{#if md-title-remainder}}
+<b>{{md-title-remainder}}</b>
+{{/if}}
+{{#if md-title-responsibility}}
+<i>{{md-title-responsibility}}</i>
+{{/if}}
+{{{mkws-paragraphs md-description paragraphs sentences}}}
+<p class="mkws-credit mkwsCredit">{{credit}}</p>