Merge branch 'master' into month_name

This commit is contained in:
AJ ONeal 2017-05-18 15:28:17 -05:00
commit 11484146e9
4 changed files with 23 additions and 16 deletions

View File

@ -1,6 +1,6 @@
{
"name": "desirae",
"version": "0.11.1",
"version": "0.11.2",
"authors": [
"AJ ONeal <awesome@coolaj86.com>"
],

View File

@ -267,6 +267,10 @@
if (!themename) {
themename = desi.site.theme || desi.config.theme;
}
if (!desi.config.themes[themename]) {
console.error("'" + themename + "' was not found among the themes");
return arr;
}
// TODO NO DEFAULTS
if ('__page__' === layoutname) {

View File

@ -78,7 +78,10 @@
console.error(file);
}
obj[keyname][filename] = data || obj[keyname][filename];
data = obj[keyname][filename] = data || obj[keyname][filename];
if (data) {
data.filename = file.name;
}
/*
if (!obj[keyname][filename]) {
obj[keyname][filename] = {};

View File

@ -1,6 +1,6 @@
{
"name": "desirae",
"version": "0.11.1",
"version": "0.11.2",
"description": "An in-browser static blog library and static site generator. Similar to Jekyll, Octopress, Nanoc, etc",
"main": "desirae.js",
"scripts": {
@ -8,7 +8,7 @@
},
"repository": {
"type": "git",
"url": "git@github.com:DearDesi/desirae.git"
"url": "git@git.daplie.com:Daplie/desirae.git"
},
"keywords": [
"dear",
@ -25,9 +25,9 @@
"author": "AJ ONeal",
"license": "Apache2",
"bugs": {
"url": "https://github.com/DearDesi/desirae/issues"
"url": "https://git.daplie.com/Daplie/desirae/issues"
},
"homepage": "https://github.com/DearDesi/desirae",
"homepage": "https://git.daplie.com/Daplie/desirae",
"dependencies": {
"bluebird": "^2.5.3",
"escape-string-regexp": "^1.0.2",