mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00

Title is set via ``PostPageController.getTitle`` in https://github.com/TelescopeJS/Telescope/blob/master/lib/router/filters.js#L170
18 lines
424 B
JavaScript
18 lines
424 B
JavaScript
Template[getTemplate('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[getTemplate('post_page')].rendered = function(){
|
|
$('body').scrollTop(0);
|
|
};
|