projects
/
mkws-moved-to-github.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Location names now listed with #commaList instead of #each.
[mkws-moved-to-github.git]
/
examples
/
htdocs
/
mike.html
diff --git
a/examples/htdocs/mike.html
b/examples/htdocs/mike.html
index
f7dbf42
..
ca2da46
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-49,24
+49,31
@@
{{#if md-electronic-url}}
<tr>
<th>URL</th>
{{#if md-electronic-url}}
<tr>
<th>URL</th>
- <td>{{#link md-electronic-url}}{{/link}}</td>
+ <td>
+ {{#each md-electronic-url}}
+ <a href="{{this}}">{{this}}</a><br/>
+ {{/each}}
+ </td>
</tr>
{{/if}}
</tr>
{{/if}}
- {{#if location}}
+ {{#if-any location having="md-subject"}}
<tr>
<th>Subject</th>
<td>
<tr>
<th>Subject</th>
<td>
- {{#first location}}
+ {{#first location having="md-subject"}}
{{#if md-subject}}
{{md-subject}}
{{/if}}
{{/first}}
</td>
</tr>
{{#if md-subject}}
{{md-subject}}
{{/if}}
{{/first}}
</td>
</tr>
- {{/if}}
+ {{/if-any}}
<tr>
<th>Locations</th>
<tr>
<th>Locations</th>
- <td>{{#json location}}{{/json}}</td>
+ <td>
+ {{#commaList location}}
+ {{attr '@name'}}{{/commaList}}
+ </td>
</tr>
</table>
</script>
</tr>
</table>
</script>