From 07f4564d23c3bfe25a4647b643e9b2dea80ed2cc Mon Sep 17 00:00:00 2001 From: Bryan Stopp Date: Mon, 15 Apr 2024 16:44:44 +0200 Subject: [PATCH] Fix title in teaser. --- cigaradvisor/blocks/author-teaser/author-teaser.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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');