2015-01-16 16:11:36 +09:00
|
|
|
Template[getTemplate('postRank')].helpers({
|
|
|
|
oneBasedRank: function(){
|
2015-01-19 00:48:17 -08:00
|
|
|
if (typeof this.rank !== 'undefined') {
|
2015-01-16 16:11:36 +09:00
|
|
|
return this.rank + 1;
|
2015-01-19 00:48:17 -08:00
|
|
|
}
|
2015-01-16 16:11:36 +09:00
|
|
|
}
|
|
|
|
});
|