mirror of
https://github.com/McShelby/hugo-theme-relearn.git
synced 2024-11-30 11:13:06 +00:00
16 lines
742 B
Markdown
16 lines
742 B
Markdown
---
|
|
title: Button
|
|
description : "Nice buttons on your page."
|
|
---
|
|
|
|
A button is a just a clickable button with optional icon.
|
|
|
|
```
|
|
{{%/* button href="https://getgrav.org/" */%}}Get Grav{{%/* /button */%}}
|
|
{{%/* button href="https://getgrav.org/" icon="fas fa-download" */%}}Get Grav with icon{{%/* /button */%}}
|
|
{{%/* button href="https://getgrav.org/" icon="fas fa-download" icon-position="right" */%}}Get Grav with icon right{{%/* /button */%}}
|
|
```
|
|
|
|
{{% button href="https://getgrav.org/" %}}Get Grav{{% /button %}}
|
|
{{% button href="https://getgrav.org/" icon="fas fa-download" %}}Get Grav with icon{{% /button %}}
|
|
{{% button href="https://getgrav.org/" icon="fas fa-download" icon-position="right" %}}Get Grav with icon right{{% /button %}}
|