14 lines
279 B
JavaScript
14 lines
279 B
JavaScript
import './Appreciation.html';
|
|
|
|
Tracker.autorun(function() {
|
|
Meteor.subscribe("pages");
|
|
});
|
|
|
|
|
|
Template.Appreciation.helpers({
|
|
appreciationHTML: function() {
|
|
let doc = Meteor.collections.Pages.findOne({name: 'Appreciation'});
|
|
|
|
return doc === undefined ? "" : doc.html;
|
|
}
|
|
}); |