projects
/
mkws-moved-to-github.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7fab2ca
)
Wrap various field templates in {{##if}} guards.
author
Mike Taylor
<mike@indexdata.com>
Wed, 27 Nov 2013 16:39:31 +0000
(16:39 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Wed, 27 Nov 2013 16:39:31 +0000
(16:39 +0000)
Use {{#link}} helper for md-electronic-url.
examples/htdocs/mike.html
patch
|
blob
|
history
diff --git
a/examples/htdocs/mike.html
b/examples/htdocs/mike.html
index
02bf56d
..
6e15b2e
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-34,18
+34,24
@@
{{/if}}
</td>
</tr>
+ {{#if md-date}}
<tr>
<th>Date</th>
<td>{{md-date}}</td>
</tr>
+ {{/if}}
+ {{#if md-author}}
<tr>
<th>Author</th>
<td>{{md-author}}</td>
</tr>
+ {{/if}}
+ {{#if md-electronic-url}}
<tr>
<th>URL</th>
- <td>{{md-electronic-url}}</td>
+ <td>{{#link md-electronic-url}}{{/link}}</td>
</tr>
+ {{/if}}
<tr>
<th>Subject</th>
<td>{{md-subject}}</td>