1
0
mirror of https://github.com/taigrr/wtf synced 2025-01-18 04:03:14 -08:00
2018-08-15 13:25:28 -07:00

1.5 KiB

+++ title = "button" description = "Display an actionable button in your page." +++

Display an actionable button in your page.

{{}} This is a warning button {{< /button >}}

Usage

Parameter Default Description
href "" The location href to link to
align "center" horizontal align button on page
theme primary default, primary , success,info,warning,danger

The inner text you place in short code will be displayed as the button text

Demo

{{</* button href="https://google.com" */>}} go to google {{</* /button */>}}
{{</* button href="https://google.com" theme="success" */>}} Success {{</* /button */>}}
{{</* button href="https://google.com" theme="info" */>}} Info {{</* /button */>}}
{{</* button href="https://google.com" theme="warning" */>}} Warning {{</* /button */>}}
{{</* button href="https://google.com" theme="danger" */>}} Danger ! {{</* /button */>}}
{{</* button href="https://google.com" theme="default" */>}} Danger ! {{</* /button */>}}

{{

}} go to google {{< /button >}} {{}} Success {{< /button >}} {{}} Info {{< /button >}} {{}} Warning {{< /button >}} {{}} Danger ! {{< /button >}} {{}} Danger ! {{< /button >}}