mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 12:36:39 -04:00
18 lines
392 B
JavaScript
18 lines
392 B
JavaScript
Template.post_page.helpers({
|
|
post_item: function () {
|
|
return getTemplate('post_item');
|
|
},
|
|
post_body: function () {
|
|
return getTemplate('post_body');
|
|
},
|
|
comment_form: function () {
|
|
return getTemplate('comment_form');
|
|
},
|
|
comment_list: function () {
|
|
return getTemplate('comment_list');
|
|
}
|
|
});
|
|
|
|
Template.post_page.rendered = function(){
|
|
$('body').scrollTop(0);
|
|
};
|