Compare commits
No commits in common. "a9cb7a58a374c03968311064790e74fabf538db1" and "9131fb9a425ba99e45c8c0998b4614cbd3d74d59" have entirely different histories.
a9cb7a58a3
...
9131fb9a42
28
desirae.js
28
desirae.js
|
@ -405,20 +405,20 @@
|
|||
desi.config.rootdir = desi.config.rootdir || "_root";
|
||||
// TODO create a config linter as a separate module
|
||||
/*
|
||||
if ('object' !== typeof desi.config.collections || !Object.keys(desi.config.collections).length) {
|
||||
desi.config.collections = { 'posts': {} };
|
||||
}
|
||||
if ('object' !== typeof desi.config.themes || !Object.keys(desi.config.themes).length) {
|
||||
desi.config.themes = { 'ruhoh-twitter': {} };
|
||||
}
|
||||
if ('object' !== typeof desi.config.assets || !Object.keys(desi.config.assets).length) {
|
||||
desi.config.assets = { 'media': {} };
|
||||
}
|
||||
if ('object' !== typeof desi.config.collections || !Object.keys(desi.config.collections).length) {
|
||||
desi.config.collections = { 'posts': {} };
|
||||
}
|
||||
if ('object' !== typeof desi.config.themes || !Object.keys(desi.config.themes).length) {
|
||||
desi.config.themes = { 'ruhoh-twitter': {} };
|
||||
}
|
||||
if ('object' !== typeof desi.config.assets || !Object.keys(desi.config.assets).length) {
|
||||
desi.config.assets = { 'media': {} };
|
||||
}
|
||||
|
||||
if ('string' !== typeof desi.site.theme) {
|
||||
desi.site.theme = 'ruhoh-twitter';
|
||||
}
|
||||
*/
|
||||
if ('string' !== typeof desi.site.theme) {
|
||||
desi.site.theme = 'ruhoh-twitter';
|
||||
}
|
||||
*/
|
||||
if (
|
||||
!Array.isArray(desi.site.navigation) ||
|
||||
!desi.site.navigation.length
|
||||
|
@ -671,7 +671,7 @@
|
|||
}
|
||||
|
||||
// TODO add missing metadata and resave file
|
||||
desi.navigation = desi.site.navigation || [];
|
||||
desi.navigation = [];
|
||||
|
||||
desi.content.root.forEach(function (entity) {
|
||||
var name = path.join(
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "desirae",
|
||||
"version": "0.11.6",
|
||||
"version": "0.11.5",
|
||||
"lockfileVersion": 1,
|
||||
"requires": true,
|
||||
"dependencies": {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "desirae",
|
||||
"version": "0.11.6",
|
||||
"version": "0.11.5",
|
||||
"description": "An in-browser static blog library and static site generator. Similar to Jekyll, Octopress, Nanoc, etc",
|
||||
"main": "desirae.js",
|
||||
"scripts": {
|
||||
|
|
Loading…
Reference in New Issue