mirror of
https://github.com/TryGhost/Ghost.git
synced 2024-11-24 14:43:08 +03:00
95f9fce3be
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
13 lines
462 B
Handlebars
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> |