2012-09-06 10:18:26 +09:00
|
|
|
<template name="post_page">
|
2012-09-06 10:14:03 +09:00
|
|
|
<div class="single-post grid">
|
2012-08-23 00:35:31 -04:00
|
|
|
{{#with post}}
|
2012-09-08 11:54:08 +09:00
|
|
|
{{> post_item}}
|
2012-08-23 00:35:31 -04:00
|
|
|
{{/with}}
|
2012-08-23 09:49:41 -04:00
|
|
|
{{#if show_comment_form}}
|
2012-08-22 23:40:09 -04:00
|
|
|
<div class="comment-new">
|
2012-08-31 19:10:44 +09:00
|
|
|
<form>
|
|
|
|
<div class="comment-field">
|
|
|
|
<textarea id="comment" rows="3" autofocus="autofocus"></textarea>
|
|
|
|
</div>
|
|
|
|
<div class="comment-submit">
|
2012-09-02 12:33:05 +09:00
|
|
|
<input type="submit" class="button" value="Add Comment" />
|
2012-08-31 19:10:44 +09:00
|
|
|
</div>
|
|
|
|
</form>
|
2012-08-22 23:40:09 -04:00
|
|
|
</div>
|
2012-08-23 09:49:41 -04:00
|
|
|
{{/if}}
|
2012-08-23 00:35:31 -04:00
|
|
|
{{#if has_comments}}
|
|
|
|
<ul>
|
2012-08-23 00:51:31 -04:00
|
|
|
{{#each child_comments}}
|
2012-09-06 10:18:26 +09:00
|
|
|
{{> comment_item}}
|
2012-08-23 00:35:31 -04:00
|
|
|
{{/each}}
|
|
|
|
</ul>
|
|
|
|
{{else}}
|
|
|
|
<p>No comments.</p>
|
|
|
|
{{/if}}
|
2012-08-22 23:40:09 -04:00
|
|
|
</div>
|
|
|
|
</template>
|