2013-04-14 14:51:37 +09:00
|
|
|
// Session variables
|
2013-11-16 17:44:33 +09:00
|
|
|
Session.set('postsLimit', getSetting('postsPerPage', 10));
|
2013-02-18 13:38:15 +09:00
|
|
|
|
2014-07-06 14:09:55 +09:00
|
|
|
// Sort postModules array position using modulePositions as index
|
2014-12-13 17:43:52 +09:00
|
|
|
postModules = _.sortBy(postModules, 'order');
|
2014-07-14 10:12:02 +09:00
|
|
|
|
|
|
|
postHeading = _.sortBy(postHeading, 'order');
|
|
|
|
|
2014-07-15 07:45:37 +09:00
|
|
|
postMeta = _.sortBy(postMeta, 'order');
|
|
|
|
|
|
|
|
Meteor.startup(function () {
|
2014-11-19 00:00:09 +08:00
|
|
|
$('#rss-link').attr('title', i18n.t('new_posts'));
|
2014-11-29 11:14:44 +09:00
|
|
|
});
|
|
|
|
|
2014-12-05 09:33:07 +09:00
|
|
|
// AutoForm.debug();
|