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