diff --git a/cigaradvisor/blocks/author-teaser/author-teaser.js b/cigaradvisor/blocks/author-teaser/author-teaser.js index 78643b9..e184701 100644 --- a/cigaradvisor/blocks/author-teaser/author-teaser.js +++ b/cigaradvisor/blocks/author-teaser/author-teaser.js @@ -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 = `

${author.name}

${author.title}

`; + authorHeading.innerHTML = `

${author.name}

${author['author-title']}

`; authorHeadingWrapper.append(authorHeading); authorDetails.append(authorHeadingWrapper); const authorDescription = document.createElement('p');