Changed Appreciation to Jr High Summer; Fixed sorting of internships such that changes get properly sorted; Added a proper date on news & notices on the home page using the page's update timestamp.
This commit is contained in:
14
imports/ui/JrHighSummer.js
Normal file
14
imports/ui/JrHighSummer.js
Normal file
@@ -0,0 +1,14 @@
|
||||
import './JrHighSummer.html';
|
||||
|
||||
Tracker.autorun(function() {
|
||||
Meteor.subscribe("pages");
|
||||
});
|
||||
|
||||
|
||||
Template.JrHighSummer.helpers({
|
||||
html: function() {
|
||||
let doc = Meteor.collections.Pages.findOne({name: 'JrHighSummer'});
|
||||
|
||||
return doc === undefined ? "" : doc.html;
|
||||
}
|
||||
});
|
||||
Reference in New Issue
Block a user