Ghost/core/client/tpl/list-item.hbs
Hannah Wolfe 95f9fce3be Swapping escape to sanitze
issue #938

- rather than using escape, use node-validatiors santize function which is designed for preventing xss vectors
- added listener for changes to both editor and settings page
- added more sanitization to the user model
- consistently use triple-braces when outputting blog post titles
2013-10-09 19:13:16 +01:00

13 lines
462 B
Handlebars

<a class="permalink{{#if featured}} featured{{/if}}" href="#">
<h3 class="entry-title">{{{title}}}</h3>
<section class="entry-meta">
<time datetime="2013-01-04" class="date">
{{#if published}}
Published {{date published_at timeago="True"}}
{{else}}
<span class="status-draft">Draft</span>
{{/if}}
</time>
{{!<span class="views">1,934</span>}}
</section>
</a>