2021-08-25 11:33:29 +00:00
|
|
|
+++
|
2021-09-11 13:46:14 +00:00
|
|
|
description = "Nice buttons on your page"
|
2021-08-25 11:33:29 +00:00
|
|
|
title = "Button"
|
|
|
|
+++
|
2017-08-20 20:29:35 +00:00
|
|
|
|
|
|
|
A button is a just a clickable button with optional icon.
|
|
|
|
|
2021-08-23 21:32:34 +00:00
|
|
|
```go
|
2021-06-30 12:56:06 +00:00
|
|
|
{{%/* button href="https://gohugo.io/" */%}}Get Hugo{{%/* /button */%}}
|
|
|
|
{{%/* button href="https://gohugo.io/" icon="fas fa-download" */%}}Get Hugo with icon{{%/* /button */%}}
|
|
|
|
{{%/* button href="https://gohugo.io/" icon="fas fa-download" icon-position="right" */%}}Get Hugo with icon right{{%/* /button */%}}
|
2017-08-20 20:29:35 +00:00
|
|
|
```
|
|
|
|
|
2021-06-30 12:56:06 +00:00
|
|
|
{{% button href="https://gohugo.io/" %}}Get Hugo{{% /button %}}
|
|
|
|
{{% button href="https://gohugo.io/" icon="fas fa-download" %}}Get Hugo with icon{{% /button %}}
|
|
|
|
{{% button href="https://gohugo.io/" icon="fas fa-download" icon-position="right" %}}Get Hugo with icon right{{% /button %}}
|