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
02bf56d
..
846f1ac
100644
(file)
--- a/
examples/htdocs/mike.html
+++ b/
examples/htdocs/mike.html
@@
-34,25
+34,46
@@
{{/if}}
</td>
</tr>
{{/if}}
</td>
</tr>
+ {{#if md-date}}
<tr>
<th>Date</th>
<td>{{md-date}}</td>
</tr>
<tr>
<th>Date</th>
<td>{{md-date}}</td>
</tr>
+ {{/if}}
+ {{#if md-author}}
<tr>
<th>Author</th>
<td>{{md-author}}</td>
</tr>
<tr>
<th>Author</th>
<td>{{md-author}}</td>
</tr>
+ {{/if}}
+ {{#if md-electronic-url}}
<tr>
<th>URL</th>
<tr>
<th>URL</th>
- <td>{{md-electronic-url}}</td>
+ <td>
+ {{#each md-electronic-url}}
+ <a href="{{this}}">{{this}}</a><br/>
+ {{/each}}
+ </td>
</tr>
</tr>
+ {{/if}}
+ {{#if-any location having="md-subject"}}
<tr>
<th>Subject</th>
<tr>
<th>Subject</th>
- <td>{{md-subject}}</td>
+ <td>
+ {{#first location having="md-subject"}}
+ {{#if md-subject}}
+ {{md-subject}}
+ {{/if}}
+ {{/first}}
+ </td>
</tr>
</tr>
+ {{/if-any}}
<tr>
<th>Locations</th>
<tr>
<th>Locations</th>
- <td>{{location}}</td>
+ <td>
+ {{#commaList location}}
+ {{attr "@name"}}{{/commaList}}
+ </td>
</tr>
</table>
</script>
</tr>
</table>
</script>