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:
b029724
)
List only the first location's subjects.
author
Mike Taylor
<mike@indexdata.com>
Thu, 28 Nov 2013 13:11:07 +0000
(13:11 +0000)
committer
Mike Taylor
<mike@indexdata.com>
Thu, 28 Nov 2013 13:11:07 +0000
(13:11 +0000)
examples/htdocs/mike.html
patch
|
blob
|
history
diff --git
a/examples/htdocs/mike.html
b/examples/htdocs/mike.html
index
0614528
..
f7dbf42
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-56,13
+56,11
@@
<tr>
<th>Subject</th>
<td>
- <ul>
- {{#each location}}
- {{#if md-subject}}
- <li>{{md-subject}}</li>
- {{/if}}
- {{/each}}
- </ul>
+ {{#first location}}
+ {{#if md-subject}}
+ {{md-subject}}
+ {{/if}}
+ {{/first}}
</td>
</tr>
{{/if}}