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
Change quoting style of handlebars template invocation, just to have a
[mkws-moved-to-github.git]
/
examples
/
htdocs
/
mike.html
diff --git
a/examples/htdocs/mike.html
b/examples/htdocs/mike.html
index
bdf5901
..
846f1ac
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-49,10
+49,14
@@
{{#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>
@@
-63,15
+67,12
@@
{{/first}}
</td>
</tr>
{{/first}}
</td>
</tr>
- {{/if}}
+ {{/if-any}}
<tr>
<th>Locations</th>
<td>
<tr>
<th>Locations</th>
<td>
- <ul>
- {{#each location}}
- <li>{{#json this}}{{/json}}</li>
- {{/each}}
- </ul>
+ {{#commaList location}}
+ {{attr "@name"}}{{/commaList}}
</td>
</tr>
</table>
</td>
</tr>
</table>