You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
16 lines
613 B
16 lines
613 B
<!-- {{/*
|
|
Basic usage:
|
|
{{< hackcss-card header="title" text="Lorem ipsum dolor sit amet">}}
|
|
{{% hackcss-card header="Bacon Ipsum" %}}
|
|
_Flank **pancetta** beef tri-tip frankfurter chuck._
|
|
{{% /hackcss-card %}}
|
|
|
|
Advanced usage:
|
|
{{< hackcss-card header="SUX 3000 (2 left in stock)" >}}
|
|
<p>Available now for a limited time at the low price of just $1,000,000.</p>
|
|
{{< hackcss-button type="success" text="Buy Now" isblock="true" />}}
|
|
{{< /hackcss-card >}}
|
|
*/}} -->
|
|
{{ $header := .Get "header" }}
|
|
{{ $body := .Get "text" | default .Inner }}
|
|
{{ partial "components/card.html" (dict "header" $header "body" $body)}} |