Skip to content

Commit

Permalink
fix: Resolve error in bulma-button.html shortcode
Browse files Browse the repository at this point in the history
  • Loading branch information
sanity committed Aug 11, 2024
1 parent 092f699 commit b77a123
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
@@ -1,6 +1,6 @@
{{ $color := .Get "color" | default "#339966" }}
<a href="{{ .Get "href" }}" class="button" style="
background: linear-gradient(135deg,
{{ $color := .Get "color" | default "#339966" }}
{{ if eq $color "#339966" }}
#339966, #66cc99
{{ else if eq $color "#3366cc" }}
Expand Down

0 comments on commit b77a123

Please sign in to comment.