akashacms-base
Advanced tools
Comparing version 0.6.4 to 0.6.5
13
index.js
@@ -270,3 +270,4 @@ /** | ||
process($element, metadata, dirty, done) { | ||
if (typeof metadata.config.authorship === 'undefined') { | ||
throw new Error("author-link disabled"); | ||
/* if (typeof metadata.config.authorship === 'undefined') { | ||
return Promise.resolve(""); | ||
@@ -289,3 +290,3 @@ } | ||
throw new Error(`author-link: no author data found for ${auname} in ${metadata.document.path}`); | ||
} | ||
} */ | ||
} | ||
@@ -381,2 +382,4 @@ } | ||
/* This is now in akashacms-external-links | ||
* | ||
module.exports.mahabhuta.addMahafunc( | ||
@@ -432,3 +435,3 @@ function($, metadata, dirty, done) { | ||
$(link).append('<img class="ak-extlink-icon" src="/img/extlink.png"/>'); | ||
} */ | ||
} * / | ||
@@ -461,3 +464,3 @@ next(); | ||
} | ||
} */ | ||
} * / | ||
next(); | ||
@@ -472,2 +475,2 @@ } | ||
}); | ||
}); | ||
}); */ |
@@ -29,3 +29,3 @@ { | ||
}, | ||
"version": "0.6.4", | ||
"version": "0.6.5", | ||
"engines": { | ||
@@ -32,0 +32,0 @@ "node": ">=6.1" |
76263
426