2017-08-20 20:29:35 +00:00
|
|
|
---
|
|
|
|
title: Button
|
|
|
|
description : "Nice buttons on your page."
|
|
|
|
---
|
|
|
|
|
|
|
|
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 %}}
|