2021-08-25 13:33:29 +02:00
|
|
|
+++
|
|
|
|
description = "Nice buttons on your page."
|
|
|
|
title = "Button"
|
|
|
|
+++
|
2017-08-20 22:29:35 +02:00
|
|
|
|
|
|
|
A button is a just a clickable button with optional icon.
|
|
|
|
|
2021-08-23 23:32:34 +02:00
|
|
|
```go
|
2021-06-30 14:56:06 +02: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 22:29:35 +02:00
|
|
|
```
|
|
|
|
|
2021-06-30 14:56:06 +02: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 %}}
|