Skip to content

Commit ca6765e

Browse files
committed
Fix: make button shortcode fully clickable
1 parent 52ac823 commit ca6765e

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

layouts/shortcodes/button.html

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,4 @@
77
{{- else -}}
88
{{ $url = ref .Page $url }}
99
{{- end -}}
10-
<div class="button not-prose">
11-
<a href="{{ $url }}">{{ $text }}</a>
12-
</div>
10+
<a class="button not-prose" href="{{ $url }}">{{ $text }}</a>

0 commit comments

Comments
 (0)