tw-runner
Version:
Run and manage Tower Website projects with this utility.
21 lines (20 loc) • 744 B
HTML
<section id="feature-article" class="box md:box-xl grid gap-4 my-4">
<header class="flex justify-center md:justify-between">
<h1 class="text-center font-medium">{{ .Title }}</h1>
</header>
<main class="text-center sm:text-left grid gap-4">
<p class="text-2xl font-extralight">{{ .Params.description }}</p>
{{ partial "image/responsive-bg.html" (dict
"name" "feature-article"
"page" .
"dimensions" "min-h-[24rem]"
"noHeading" true
"content" .Summary
"overlayStyles" "grid"
"contentStyles" "text-xl sm:text-2xl text-center flex justify-center"
"pStyles" "text-xl sm:text-2xl w-3/4"
"footerStyles" "justify-center gap-4"
"cta" "Read More"
) }}
</main>
</section>