diff --git a/desirae.js b/desirae.js index 8d10bd7..245eba7 100644 --- a/desirae.js +++ b/desirae.js @@ -264,6 +264,10 @@ desi.config.assets = { 'media': {} }; } + if (!Array.isArray(desi.site.navigation) || !desi.site.navigation.length) { + desi.site.navigation = ['archive']; + } + var collectionnames = Object.keys(desi.config.collections) , themenames = Object.keys(desi.config.themes) .filter(function (k) { return 'default' !== k; })