Button

Displays a button link in your body markdown.

Example

Markdown usage

{{< button text="This is a button" url="https://www.hugolify.io/" blank="true" >}}

HTML rendered

<a
  href="https://www.hugolify.io/"
  class="btn btn-primary"
  target="_blank"
  rel="noreferrer noopener"
  title="« This is a button » - external link"
  >This is a button</a
>

Visual renderer

This is a button

Datas

text: ""
url: ""
blank: false
class: "" // Not in Decap CMS

Decap CMS

Available