123456789101112 |
- /**
- * Client code for the website_list template.
- */
- // Helper function that returns all available websites
- Template.website_list.helpers({
- websites: () => {
- return Websites.find({}, {
- sort: { plusScore: -1, minusScore: 1, title: 1 }
- });
- }
- });
|