akashacms-base
Advanced tools
Comparing version 0.7.0 to 0.7.1
@@ -46,3 +46,3 @@ /** | ||
config.addMahabhuta(module.exports.mahabhutaArray(options)); | ||
this[_plugin_options].linkRelTags = []; | ||
if (!options.linkRelTags) this[_plugin_options].linkRelTags = []; | ||
} | ||
@@ -221,2 +221,3 @@ | ||
var ret = ""; | ||
// console.log(`ak-header-linkreltags `, this.array.options); | ||
if (this.array.options.linkRelTags.length > 0) { | ||
@@ -227,7 +228,9 @@ for (var lrtag of this.array.options.linkRelTags) { | ||
} | ||
if (this.array.options.linkRelTags.length > 0) { | ||
// Why was this here a 2nd time? | ||
/* if (this.array.options.linkRelTags.length > 0) { | ||
for (var lrtag of this.array.options.linkRelTags) { | ||
ret += doLinkRelTag(this.array.options.config, lrtag); | ||
} | ||
} | ||
} */ | ||
// console.log(`ak-header-linkreltags `, ret); | ||
return ret; | ||
@@ -234,0 +237,0 @@ } |
@@ -29,6 +29,12 @@ { | ||
}, | ||
"version": "0.7.0", | ||
"version": "0.7.1", | ||
"engines": { | ||
"node": ">=12.2" | ||
}, | ||
"scripts": { | ||
"dopublish": "npm publish --access public", | ||
"test-setup": "cd test && npm run setup", | ||
"test": "cd test && npm test", | ||
"clean": "cd test && npm run clean" | ||
}, | ||
"dependencies": { | ||
@@ -35,0 +41,0 @@ "sightmap": "*" |
Sorry, the diff of this file is not supported yet
388
76643