2015-04-13 14:52:03 +09:00
|
|
|
Template.post_page.helpers({
|
2014-07-05 11:42:28 +09:00
|
|
|
post_item: function () {
|
|
|
|
return getTemplate('post_item');
|
|
|
|
},
|
2014-07-05 16:29:10 +09:00
|
|
|
post_body: function () {
|
|
|
|
return getTemplate('post_body');
|
|
|
|
},
|
2014-07-05 11:42:28 +09:00
|
|
|
comment_form: function () {
|
|
|
|
return getTemplate('comment_form');
|
|
|
|
},
|
|
|
|
comment_list: function () {
|
|
|
|
return getTemplate('comment_list');
|
|
|
|
}
|
2014-09-16 15:18:27 -04:00
|
|
|
});
|
2014-07-05 11:42:28 +09:00
|
|
|
|
2015-04-13 14:52:03 +09:00
|
|
|
Template.post_page.rendered = function(){
|
2014-08-28 11:10:31 +09:00
|
|
|
$('body').scrollTop(0);
|
2014-09-16 15:18:27 -04:00
|
|
|
};
|