button
Links rendered as Pico buttons, with optional icon and outline.
button renders a link as a Pico role="button" element. Named params: href, style (secondary or contrast), icon and the outline="true" flag. External links get rel="noopener" automatically.
Source
{{< button href="../getting-started/" icon="rocket-launch" >}}Get started{{< /button >}}
{{< button href="../shortcodes/" style="secondary" outline="true" >}}Back to the gallery{{< /button >}}
{{< button href="https://github.com/fernandezvara/hugodoks" style="contrast" icon="code" >}}hugodoks on GitHub{{< /button >}}