diff --git a/assets/js/search.js b/assets/js/search.js index 3f08cb37..3035d562 100644 --- a/assets/js/search.js +++ b/assets/js/search.js @@ -149,12 +149,17 @@ function executeQuery(term) { if (results.length > 0) { results.forEach(function (value, key) { + var title = value.item.externalUrl? value.item.title + ''+value.item.externalUrl+'' : value.item.title; + var linkconfig = value.item.externalUrl? 'target="_blank" rel="noopener" href="'+value.item.externalUrl+'"' : 'href="'+value.item.permalink+'"'; resultsHTML = resultsHTML + `