Hugo Book
- Introduction: /docs/getting-started/introduction/
- Asciinema: /docs/content/shortcodes/asciinema/
- Buttons: /docs/content/shortcodes/buttons/
- Details: /docs/content/shortcodes/details/
- Images: /docs/content/shortcodes/experimental/images/
- Steps: /docs/content/shortcodes/steps/
- Tabs: /docs/content/shortcodes/tabs/
# Buttons
Styled links that can point to local pages or external URLs. External links automatically open in a new tab.
## Syntax
```tpl
{{* button relref="/" [class="..."] */>}}Get Home{{* /button */>}}
{{* button href="https://github.com/alex-shpak/hugo-book" */>}}Github{{* /button */>}}
```
## Example
{{}}
{{}}
## Parameters
`href`
: URL for external links.
`relref`
: Hugo page reference for internal links.
`class`
: Additional CSS classes.