mirror of
https://github.com/vale981/Vulcan
synced 2025-03-10 04:26:41 -04:00
9 lines
No EOL
243 B
JavaScript
9 lines
No EOL
243 B
JavaScript
Template.page.onCreated(function () {
|
|
Telescope.SEO.setTitle(Pages.findOne({slug: FlowRouter.getParam("slug")}).title);
|
|
});
|
|
|
|
Template.page.helpers({
|
|
page: function () {
|
|
return Pages.findOne({slug: FlowRouter.getParam("slug")});
|
|
}
|
|
}); |