X-Git-Url: http://sru.miketaylor.org.uk/?a=blobdiff_plain;f=examples%2Fhtdocs%2Fmike.html;h=b19dc47ce53fa49eb30817299f10c5386bee5a46;hb=b7657c6d09b796f945cc64a8e399b6b545df3531;hp=f7dbf4228f104f7b4dd7dd2d72091c361eb7712e;hpb=cd9ab8562bfb04508fe03d9ec7f27613c82f8365;p=mkws-moved-to-github.git diff --git a/examples/htdocs/mike.html b/examples/htdocs/mike.html index f7dbf42..b19dc47 100644 --- a/examples/htdocs/mike.html +++ b/examples/htdocs/mike.html @@ -49,24 +49,30 @@ {{#if md-electronic-url}} URL - {{#link md-electronic-url}}{{/link}} + {{link md-electronic-url}} {{/if}} - {{#if location}} + {{#if-any location having="md-subject"}} Subject - {{#first location}} + {{#first location having="md-subject"}} {{#if md-subject}} {{md-subject}} {{/if}} {{/first}} - {{/if}} + {{/if-any}} Locations - {{#json location}}{{/json}} + + {{#each location}} + {{#if '@name'}} + {{attr '@name'}}
+ {{/if}} + {{/each}} +