Skip to content

Commit

Permalink
Fix passing of button label argument to card
Browse files Browse the repository at this point in the history
  • Loading branch information
markdumay committed Oct 25, 2024
1 parent 3ae91a7 commit e146e3a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 4 deletions.
3 changes: 2 additions & 1 deletion layouts/partials/assets/card-group.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,7 @@
{{- $params = merge $params (dict
"title" $element.Title
"href" $element.RelPermalink
"buttonLabel" $element.buttonLabel
"description" (partial "utilities/GetDescription.html" (dict "page" $element "raw" true))
"thumbnail" $thumbnail
"anchor" $anchor
Expand Down Expand Up @@ -143,7 +144,7 @@
"style" $args.style
"align" $args.align
"button" $args.button
"buttonLabel" $args.buttonLabel
"buttonLabel" $element.buttonLabel
"buttonType" $args.buttonType
"iconRounded" $args.iconRounded
) -}}
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@gethinode/hinode",
"version": "0.27.4",
"version": "0.27.5",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [
"hugo",
Expand Down

0 comments on commit e146e3a

Please sign in to comment.