hextra_mirror/layouts/shortcodes/hextra/hero-headline.html

10 lines
323 B
HTML
Raw Normal View History

{{- $style := .Get "style" -}}
<h1
class="not-prose text-4xl font-bold leading-none tracking-tighter md:text-5xl py-2 bg-clip-text text-transparent bg-gradient-to-r from-gray-900 to-gray-600 dark:from-gray-100 dark:to-gray-400"
{{ with $style }}style="{{ . | safeCSS }}"{{ end }}
>
{{ .Inner | markdownify }}
</h1>