Skip to content

Commit

Permalink
Fix title in teaser.
Browse files Browse the repository at this point in the history
  • Loading branch information
bstopp committed Apr 15, 2024
1 parent 7cd1dc9 commit 07f4564
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cigaradvisor/blocks/author-teaser/author-teaser.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ export function buildAuthorTeaser(parentElement, author, isAuthorList = false) {
authorHeadingWrapper.classList.add('author-heading-wrapper');
const authorHeading = document.createElement('div');
authorHeading.classList.add('author-heading');
authorHeading.innerHTML = `<h2 class="author-name">${author.name}</h2><h3 class="author-title">${author.title}</h3>`;
authorHeading.innerHTML = `<h2 class="author-name">${author.name}</h2><h3 class="author-title">${author['author-title']}</h3>`;
authorHeadingWrapper.append(authorHeading);
authorDetails.append(authorHeadingWrapper);
const authorDescription = document.createElement('p');
Expand Down

0 comments on commit 07f4564

Please sign in to comment.