Make button shortcode use portable links
This commit is contained in:
@@ -11,7 +11,7 @@ layout: landing
|
||||
|
||||
{{< badge style="info" title="Badge" value="Value" >}} {{< badge style="default" title="Badge" value="Value" >}}
|
||||
|
||||
{{<button relref="/docs/example">}}Button{{</button>}}
|
||||
{{<button href="/docs/example">}}Button{{</button>}}
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
@@ -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>}}
|
||||
|
||||
Reference in New Issue
Block a user