Buttons
You can use the {{< button >}}
shortcode to add a button/call-to-action to a piece of content.
Basic usages
{{< button href="/" label="Go to the homepage" >}}
{{< button href="/" label="Go to the homepage" icon="download" >}}
{{< button href="/" label="Go to the homepage" theme="outline" >}}
Attributes
- href
- required - Enter the target, i.e., url of page you want to link to
- label
- required - The text that needs to be shown on the button
- icon
- optional - You can add an icon for extra emphasis, see the folder
assets/svg/ui/
for possible icons - theme
- optional - If you want to show a button with a different look-and-feel you can change the theme. Below an overview of options.
- size
- optional - If you want to show resize button to be a little smaller with
size="small"