Compare commits

..

No commits in common. "0909c8e9cc411682e00ded91ff2aab9335215bf4" and "d77b91e27a0dedda918d4d0667b0fe8ae5413b9c" have entirely different histories.

2 changed files with 6 additions and 13 deletions

View File

@ -71,10 +71,10 @@
; ;
entities.forEach(function (f) { entities.forEach(function (f) {
var set; var set
var yindex = 3000 - f.year; , yindex = 3000 - f.year
var mindex = 12 - f.month; , mindex = 12 - f.month
var monthName = months[parseInt(f.month, 10)]; ;
f.url = path.join(env.base_path, f.permalink); f.url = path.join(env.base_path, f.permalink);
@ -84,17 +84,10 @@
set = yearsArr[yindex]; set = yearsArr[yindex];
if (!set.months[mindex]) { if (!set.months[mindex]) {
set.months[mindex] = { set.months[mindex] = { month: months[parseInt(f.month, 10)], pages: [] };
month_name: monthName
, month_number: mindex
, month: monthName
, pages: []
};
} }
set = set.months[mindex]; set = set.months[mindex];
f.month_name = months[parseInt(f.month, 10)];
f.month_number = parseInt(f.month, 10);
set.pages.push(f); set.pages.push(f);
}); });

View File

@ -1,6 +1,6 @@
{ {
"name": "desirae", "name": "desirae",
"version": "0.11.5", "version": "0.11.4",
"description": "An in-browser static blog library and static site generator. Similar to Jekyll, Octopress, Nanoc, etc", "description": "An in-browser static blog library and static site generator. Similar to Jekyll, Octopress, Nanoc, etc",
"main": "desirae.js", "main": "desirae.js",
"scripts": { "scripts": {