Skip to content

Commit

Permalink
fix: add data-content attribute to bulma-button shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Aug 11, 2024
1 parent 9091689 commit f0ba85a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion hugo-site/layouts/shortcodes/bulma-button.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
{{ $gradientStart = "#6633cc" }}
{{ $gradientEnd = "#9966ff" }}
{{ end }}
<a href="{{ .Get "href" }}" class="bulma-button custom-button" data-gradient-start="{{ $gradientStart }}" data-gradient-end="{{ $gradientEnd }}">
<a href="{{ .Get "href" }}" class="bulma-button custom-button" data-gradient-start="{{ $gradientStart }}" data-gradient-end="{{ $gradientEnd }}" data-content="{{ .Inner }}">
{{ .Inner }}
</a>

0 comments on commit f0ba85a

Please sign in to comment.