{#snippet sectionHeading(title: string, depth: number)}
{@const headingLevel = Math.min(depth + 1, 6)}
{@const className = $pharosInstance.isFloatingTitle(rootId)
? "discrete"
: "h-leather"}
by {byline(rootId, index)}
{publishedAt(rootId, index)}
{/snippet} {#snippet contentParagraph(content: string, publicationType: string)} {#if publicationType === "novel"}{@html content}
{:else if publicationType === "blog"}{@html content}
{:else}{@html content}
{/if} {/snippet}