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.
11 lines
418 B
11 lines
418 B
<!-- {{/*
|
|
Basic Usage:
|
|
{{< hackcss-alert type="info" text="Alert Text" />}}
|
|
{{< hackcss-alert >}}Inner block of text{{< /hackcss-alert >}}
|
|
{{% hackcss-alert %}}**Note:** Markdown available{{% /hackcss-alert %}}
|
|
|
|
Available styles: "success", "info", "warning", "error"
|
|
*/}} -->
|
|
{{ $type := .Get "type" }}
|
|
{{ $body := .Get "text" | default .Inner }}
|
|
{{ partial "components/alert.html" (dict "type" $type "body" $body) }} |