Skip to content

Commit

Permalink
Merge pull request #374 from Netcentric/373-blog-overview-goes-to-wrong
Browse files Browse the repository at this point in the history
373 - change default link to blog overview button
  • Loading branch information
sonaldhekale authored Aug 3, 2023
2 parents 911b3e4 + e640cf7 commit 4ba1257
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion blocks/related-blogs/related-blogs.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function buildCTASection(parent, checkBtnLink, count) {
if (checkBtnLink && count > 1) {
buttonRow.innerHTML = `<a href="${checkBtnLink}" class="button secondary">${window.placeholders?.default?.blogOverview || 'Blog Overview'}</a>`;
} else {
buttonRow.innerHTML = `<a href="/insights" class="button secondary">${window.placeholders?.default?.blogOverview || 'Blog Overview'}</a>`;
buttonRow.innerHTML = `<a href="/insights/blog" class="button secondary">${window.placeholders?.default?.blogOverview || 'Blog Overview'}</a>`;
}
addChevronToButtons(buttonRow);
decorateIcons(buttonRow);
Expand Down

0 comments on commit 4ba1257

Please sign in to comment.