Make button shortcode use portable links

This commit is contained in:
Alex Shpak
2025-09-14 23:38:46 +02:00
parent e379c19e75
commit 6c2d102c91
3 changed files with 5 additions and 12 deletions
@@ -9,5 +9,5 @@ Buttons are styled links that can lead to local page or external link.
{{</* button href="https://github.com/alex-shpak/hugo-book" */>}}Contribute{{</* /button */>}}
```
{{<button relref="/">}}Get Home{{</button>}}
{{<button href="/">}}Get Home{{</button>}}
{{<button href="https://github.com/alex-shpak/hugo-book">}}Contribute{{</button>}}