From 2bce17eb46a2156caa3d7c1e1deb0a27688e7ec4 Mon Sep 17 00:00:00 2001
From: Mark Dumay <61946753+markdumay@users.noreply.github.com>
Date: Sun, 31 Mar 2024 15:35:58 +0200
Subject: [PATCH 1/2] Fix alignment of card buttons
---
exampleSite/hugo_stats.json | 1 +
layouts/partials/assets/card.html | 4 ++--
2 files changed, 3 insertions(+), 2 deletions(-)
diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json
index 00c7c363..8bb41599 100644
--- a/exampleSite/hugo_stats.json
+++ b/exampleSite/hugo_stats.json
@@ -226,6 +226,7 @@
"fs-5",
"fs-6",
"fs-md-5",
+ "fw-30",
"fw-bold",
"fw-semibold",
"g-0",
diff --git a/layouts/partials/assets/card.html b/layouts/partials/assets/card.html
index 1eeee0ea..7bce69b6 100644
--- a/layouts/partials/assets/card.html
+++ b/layouts/partials/assets/card.html
@@ -147,7 +147,7 @@
{{ if $page }}
{{ partial "card-caption.html" (dict "page" $page "keywords" $footer "color" $color) }}
{{ end }}
{{ if $button }}
{{ $label := (or $buttonLabel $title) | default (T "readMore") }}
- {{ partial "assets/button.html" (dict "title" $label "icon" "fas chevron-right" "href" $href "outline" true "size" "sm" "class" "card-button mb-n4") }}
+ {{ partial "assets/button.html" (dict "title" $label "icon" "fas chevron-right" "href" $href "outline" true "size" "sm" "class" "card-button mb-n4") }}
{{ end }}
@@ -172,7 +172,7 @@
{{ $label := (or $buttonLabel $title) | default (T "readMore") }}
-
+
{{ partial "assets/button.html" (dict "title" $label "href" $href "outline" true "size" "sm" "class" "card-button") }}
From dda87bb14f3bbfe5aa8bec42dcde430f45039f7d Mon Sep 17 00:00:00 2001
From: Mark Dumay <61946753+markdumay@users.noreply.github.com>
Date: Sun, 31 Mar 2024 15:36:20 +0200
Subject: [PATCH 2/2] Bump package release
---
package-lock.json | 4 ++--
package.json | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/package-lock.json b/package-lock.json
index 2aa20c48..30366363 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,12 +1,12 @@
{
"name": "@gethinode/hinode",
- "version": "0.23.5",
+ "version": "0.23.6",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@gethinode/hinode",
- "version": "0.23.5",
+ "version": "0.23.6",
"license": "MIT",
"devDependencies": {
"@fullhuman/postcss-purgecss": "^5.0.0",
diff --git a/package.json b/package.json
index 9ffa8513..acb01a86 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@gethinode/hinode",
- "version": "0.23.5",
+ "version": "0.23.6",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [
"hugo",