From e146e3a559ab9f4d16cc491dc7915b67988b327c Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Fri, 25 Oct 2024 18:27:39 +0200 Subject: [PATCH] Fix passing of button label argument to card --- layouts/partials/assets/card-group.html | 3 ++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/layouts/partials/assets/card-group.html b/layouts/partials/assets/card-group.html index 65ede02a..3fe96d8e 100644 --- a/layouts/partials/assets/card-group.html +++ b/layouts/partials/assets/card-group.html @@ -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 @@ -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 ) -}} diff --git a/package-lock.json b/package-lock.json index d0f4a647..280b10c4 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@gethinode/hinode", - "version": "0.27.4", + "version": "0.27.5", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@gethinode/hinode", - "version": "0.27.4", + "version": "0.27.5", "license": "MIT", "dependencies": { "@fullhuman/postcss-purgecss": "^6.0.0", diff --git a/package.json b/package.json index d463eeca..6bd064bd 100644 --- a/package.json +++ b/package.json @@ -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",