{#if !featured}
Pick a featured course to display.
{:else}
{options.eyebrowLabel}

{featured.title}

{#if payload.design.content.showDescriptionExcerpt && featured.description}

{getCourseExcerpt(featured, 220)}

{/if}
{#if featured.rating != null} {featured.rating.toFixed(1)} ★★★★★ {#if featured.ratingCount} ({featured.ratingCount} reviews) {/if} · {/if} {formatLessonsLine(featured, payload.design.content.showLessonsCount)}
{#if payload.design.content.showCourseTypeBadge || featured.tags.length > 0}
{#if payload.design.content.showCourseTypeBadge} {/if} {#each featured.tags.slice(0, 2) as tag (tag.id)} {tag.name} {/each}
{/if} {options.ctaLabel} →
{#if payload.design.content.showCourseImage}
{/if}
{#if secondary.length > 0}
{#each secondary as course (course.id)}

{course.title}

{#if payload.design.content.showCourseTypeBadge} {/if}
{/each}
{/if} {/if}