Prefix names of all Handlebars helpers with "mkws-":
[mkws-moved-to-github.git] / examples / htdocs / lolcat.html
1 <?xml version="1.0"?>
2 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3 <html xmlns="http://www.w3.org/1999/xhtml">
4   <head>
5     <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
6     <title>MKWS demo: LOLcat demo</title>
7     <link rel="stylesheet" type="text/css" href="http://mkws.indexdata.com/mkws.css" />
8     <script type="text/javascript">mkws_config = { perpage_default: 1 }</script>
9     <script type="text/javascript" src="http://mkws.indexdata.com/mkws-complete.js"></script>
10     <script class="mkwsTemplate_Summary" type="text/x-handlebars-template">
11       <a href="#" id="{{_id}}" onclick="{{_onclick}}">
12         {{#mkws-first md-thumburl}}
13           <img src="{{this}}" alt="{{../md-title}}"/>
14         {{/mkws-first}}
15         <br/>
16       </a>
17     </script>
18   </head>
19   <body>
20     <div class='mkwsRecords' autosearch='cat' sort='date:0'
21         targets='pz:id=localhost:9003/flickr_api'
22         >kitteh will appear here</div>
23   </body>
24 </html>