Final Update From Caleb
Incorporated all Caleb's changes
This commit is contained in:
@@ -1,2 +1,15 @@
|
||||
|
||||
import './ImportantDates.html';
|
||||
|
||||
|
||||
Tracker.autorun(function() {
|
||||
Meteor.subscribe("pages");
|
||||
});
|
||||
|
||||
|
||||
Template.ImportantDates.helpers({
|
||||
importantDatesHTML: function() {
|
||||
let doc = Meteor.collections.Pages.findOne({name: 'Dates'});
|
||||
|
||||
return doc === undefined ? "" : doc.html;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user