Final Update From Caleb
Incorporated all Caleb's changes
This commit is contained in:
@@ -1,2 +1,14 @@
|
||||
import './Appreciation.html';
|
||||
|
||||
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;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user