Compare commits

...

21 Commits

Author SHA1 Message Date
Mark Dumay
5cad7cb0f9 Merge pull request #1561 from gethinode/develop
fix: apply border radius theme to navbar buttons
2025-09-02 09:37:23 +02:00
Mark Dumay
057dd63957 fix: apply border radius theme to navbar buttons 2025-09-02 09:23:52 +02:00
Mark Dumay
f002cf06e4 Merge pull request #1560 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2025-09-02 07:04:27 +02:00
markdumay
9d742f9165 fix: update Hugo module dependencies 2025-09-02 03:22:58 +00:00
Mark Dumay
68c2cac3e0 Merge pull request #1559 from gethinode/develop
fix: correct layout of stacked video message
2025-09-01 16:12:30 +02:00
Mark Dumay
1c0ed71df9 Merge branch 'main' into develop 2025-09-01 16:07:04 +02:00
Mark Dumay
1e8791fdf0 fix: correct layout of stacked video message 2025-09-01 16:06:36 +02:00
Mark Dumay
8cfac32280 Merge pull request #1558 from gethinode/develop
feat: support generic site default values for partial/shortode arguments
2025-09-01 10:10:57 +02:00
Mark Dumay
6e7a1dcdb9 feat: support generic site default values for partial/shortode arguments 2025-09-01 08:59:37 +02:00
Mark Dumay
19cda9a986 Merge pull request #1556 from gethinode/develop
Develop
2025-08-30 16:05:16 +02:00
Mark Dumay
9ee9ebc960 fix: adjust width of dropdown items in collapsed navbar 2025-08-30 15:54:03 +02:00
Mark Dumay
6f7903a2f2 Merge branch 'main' into develop 2025-08-30 14:41:50 +02:00
Mark Dumay
82d12d693c fix: adjust button size when navbar is expanded on small screens 2025-08-30 14:41:10 +02:00
Mark Dumay
3ed64f59f1 fix: refine nav item layout 2025-08-30 14:40:33 +02:00
Mark Dumay
df8ea923c5 fix: add margin between search input and nav items 2025-08-30 14:37:17 +02:00
Mark Dumay
60872ea541 Merge pull request #1555 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.146.0
build(deps): bump hugo-bin from 0.145.2 to 0.146.0
2025-08-29 19:00:46 +02:00
dependabot[bot]
52715cef21 build(deps): bump hugo-bin from 0.145.2 to 0.146.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.145.2 to 0.146.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.145.2...v0.146.0)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-version: 0.146.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-08-28 14:01:38 +00:00
Mark Dumay
91f79e57ab refactor: reduce whitespace in featured illustration asset 2025-08-28 10:25:13 +02:00
Mark Dumay
fdd878241b Merge pull request #1554 from gethinode/develop
fix: improve nav-item layout
2025-08-28 08:20:07 +02:00
Mark Dumay
f32bd92efa Merge branch 'main' into develop 2025-08-28 08:10:34 +02:00
Mark Dumay
c31dca464a fix: improve nav-item layout 2025-08-28 08:10:03 +02:00
11 changed files with 158 additions and 86 deletions

View File

@@ -174,6 +174,28 @@
color: var(--bs-navbar-color); color: var(--bs-navbar-color);
} }
.navbar .nav-item {
display: flex;
align-items: center;
}
.navbar-collapse .dropdown {
display: inline;
align-items: normal;
}
.navbar-expanded .btn {
font-size: 1em;
}
.navbar .btn {
border-radius: #{$theme-border-radius};
}
.navbar-expanded .search-input {
margin-bottom: 1rem;
}
/* Remove border from toggler */ /* Remove border from toggler */
.navbar-toggler { .navbar-toggler {
border: 0 if($enable-important-utilities, !important, null); border: 0 if($enable-important-utilities, !important, null);

View File

@@ -122,7 +122,7 @@
) -}} ) -}}
{{ end }} {{ end }}
</div> </div>
<div class="mt-{{ $padding.y }}"> <div class="mt-{{ $padding.y }} w-100">
{{- partial "inline/messages.html" (dict {{- partial "inline/messages.html" (dict
"list" $list "list" $list
"cols" $args.cols "cols" $args.cols

View File

@@ -330,10 +330,8 @@
"g-4", "g-4",
"gap-1", "gap-1",
"gap-2", "gap-2",
"gap-4",
"gap-5", "gap-5",
"gradient", "gradient",
"grid",
"h-100", "h-100",
"h1", "h1",
"h2", "h2",
@@ -383,6 +381,7 @@
"me-1", "me-1",
"me-3", "me-3",
"me-auto", "me-auto",
"me-md-3",
"mermaid", "mermaid",
"middle-bar", "middle-bar",
"mode-item", "mode-item",
@@ -658,11 +657,16 @@
"docs", "docs",
"documentation", "documentation",
"dropdown-nav-0", "dropdown-nav-0",
"dropdown-panel-1cf9fa6c1b8db897289f1e58eca1ed2b", "dropdown-panel-0692e7e68c57d91164039f0f77cce9d8",
"dropdown-panel-2112fcf4fa7219518b7b70498969a79b", "dropdown-panel-0a5cb51ed9eea57f673dc25545175b8b",
"dropdown-panel-2c61c8fd2a96d840748e5d5aa5e6ab20", "dropdown-panel-41fccc8aa490d4ea9d475a6d2d44be42",
"dropdown-panel-94a8f41d03ff238aa65acebc1b274df7", "dropdown-panel-7aa9804adc5998a7a66cd8faf656c6f9",
"dropdown-panel-dd79f20dce01073bc4b064a98deaff96", "dropdown-panel-99dcbfb73d35cee704ca4ee9fb6a5e3c",
"dropdown-panel-b06517abb515d4c22a03ca07d577f3de",
"dropdown-panel-b434a05f655e7811ee71b4177747a1c0",
"dropdown-panel-ba696faaa3c3f34bebc3f1da67a7c8ad",
"dropdown-panel-d80f75f98e8a44fe4164fa76a6afd600",
"dropdown-panel-d8bdd6a5f6d88907f9d6e8b57d921196",
"elements-type", "elements-type",
"entity-relationship-diagram", "entity-relationship-diagram",
"example", "example",
@@ -680,11 +684,16 @@
"fab-medium", "fab-medium",
"fab-whatsapp", "fab-whatsapp",
"fab-x-twitter", "fab-x-twitter",
"faq-40baa94f9dbf495433e3d6b5106aad41", "faq-1b8aefa895c57fc4fd5452748485b590",
"faq-40baa94f9dbf495433e3d6b5106aad41-heading-faq-40baa94f9dbf495433e3d6b5106aad41", "faq-1b8aefa895c57fc4fd5452748485b590-heading-faq-1b8aefa895c57fc4fd5452748485b590",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-0", "faq-1b8aefa895c57fc4fd5452748485b590-item-0",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-1", "faq-1b8aefa895c57fc4fd5452748485b590-item-1",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-2", "faq-1b8aefa895c57fc4fd5452748485b590-item-2",
"faq-f18dc8d82722290aea32dc7f4423dea5",
"faq-f18dc8d82722290aea32dc7f4423dea5-heading-faq-f18dc8d82722290aea32dc7f4423dea5",
"faq-f18dc8d82722290aea32dc7f4423dea5-item-0",
"faq-f18dc8d82722290aea32dc7f4423dea5-item-1",
"faq-f18dc8d82722290aea32dc7f4423dea5-item-2",
"fas-1", "fas-1",
"fas-2", "fas-2",
"fas-3", "fas-3",
@@ -779,11 +788,16 @@
"nav-0-btn-1", "nav-0-btn-1",
"nav-0-btn-2", "nav-0-btn-2",
"nav-nav-0", "nav-nav-0",
"nav-panel-1cf9fa6c1b8db897289f1e58eca1ed2b", "nav-panel-0692e7e68c57d91164039f0f77cce9d8",
"nav-panel-2112fcf4fa7219518b7b70498969a79b", "nav-panel-0a5cb51ed9eea57f673dc25545175b8b",
"nav-panel-2c61c8fd2a96d840748e5d5aa5e6ab20", "nav-panel-41fccc8aa490d4ea9d475a6d2d44be42",
"nav-panel-94a8f41d03ff238aa65acebc1b274df7", "nav-panel-7aa9804adc5998a7a66cd8faf656c6f9",
"nav-panel-dd79f20dce01073bc4b064a98deaff96", "nav-panel-99dcbfb73d35cee704ca4ee9fb6a5e3c",
"nav-panel-b06517abb515d4c22a03ca07d577f3de",
"nav-panel-b434a05f655e7811ee71b4177747a1c0",
"nav-panel-ba696faaa3c3f34bebc3f1da67a7c8ad",
"nav-panel-d80f75f98e8a44fe4164fa76a6afd600",
"nav-panel-d8bdd6a5f6d88907f9d6e8b57d921196",
"navbar", "navbar",
"navbar-0-collapse", "navbar-0-collapse",
"navbar-mode", "navbar-mode",
@@ -792,36 +806,66 @@
"navigation", "navigation",
"notification", "notification",
"overview", "overview",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-0", "panel-0692e7e68c57d91164039f0f77cce9d8-0",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-1", "panel-0692e7e68c57d91164039f0f77cce9d8-1",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-2", "panel-0692e7e68c57d91164039f0f77cce9d8-2",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-0", "panel-0692e7e68c57d91164039f0f77cce9d8-btn-0",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-1", "panel-0692e7e68c57d91164039f0f77cce9d8-btn-1",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-2", "panel-0692e7e68c57d91164039f0f77cce9d8-btn-2",
"panel-2112fcf4fa7219518b7b70498969a79b-0", "panel-0a5cb51ed9eea57f673dc25545175b8b-0",
"panel-2112fcf4fa7219518b7b70498969a79b-1", "panel-0a5cb51ed9eea57f673dc25545175b8b-1",
"panel-2112fcf4fa7219518b7b70498969a79b-2", "panel-0a5cb51ed9eea57f673dc25545175b8b-2",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-0", "panel-0a5cb51ed9eea57f673dc25545175b8b-btn-0",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-1", "panel-0a5cb51ed9eea57f673dc25545175b8b-btn-1",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-2", "panel-0a5cb51ed9eea57f673dc25545175b8b-btn-2",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-0", "panel-41fccc8aa490d4ea9d475a6d2d44be42-0",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-1", "panel-41fccc8aa490d4ea9d475a6d2d44be42-1",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-2", "panel-41fccc8aa490d4ea9d475a6d2d44be42-2",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-0", "panel-41fccc8aa490d4ea9d475a6d2d44be42-btn-0",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-1", "panel-41fccc8aa490d4ea9d475a6d2d44be42-btn-1",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-2", "panel-41fccc8aa490d4ea9d475a6d2d44be42-btn-2",
"panel-94a8f41d03ff238aa65acebc1b274df7-0", "panel-7aa9804adc5998a7a66cd8faf656c6f9-0",
"panel-94a8f41d03ff238aa65acebc1b274df7-1", "panel-7aa9804adc5998a7a66cd8faf656c6f9-1",
"panel-94a8f41d03ff238aa65acebc1b274df7-2", "panel-7aa9804adc5998a7a66cd8faf656c6f9-2",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-0", "panel-7aa9804adc5998a7a66cd8faf656c6f9-btn-0",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-1", "panel-7aa9804adc5998a7a66cd8faf656c6f9-btn-1",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-2", "panel-7aa9804adc5998a7a66cd8faf656c6f9-btn-2",
"panel-dd79f20dce01073bc4b064a98deaff96-0", "panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-0",
"panel-dd79f20dce01073bc4b064a98deaff96-1", "panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-1",
"panel-dd79f20dce01073bc4b064a98deaff96-2", "panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-2",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-0", "panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-btn-0",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-1", "panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-btn-1",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-2", "panel-99dcbfb73d35cee704ca4ee9fb6a5e3c-btn-2",
"panel-b06517abb515d4c22a03ca07d577f3de-0",
"panel-b06517abb515d4c22a03ca07d577f3de-1",
"panel-b06517abb515d4c22a03ca07d577f3de-2",
"panel-b06517abb515d4c22a03ca07d577f3de-btn-0",
"panel-b06517abb515d4c22a03ca07d577f3de-btn-1",
"panel-b06517abb515d4c22a03ca07d577f3de-btn-2",
"panel-b434a05f655e7811ee71b4177747a1c0-0",
"panel-b434a05f655e7811ee71b4177747a1c0-1",
"panel-b434a05f655e7811ee71b4177747a1c0-2",
"panel-b434a05f655e7811ee71b4177747a1c0-btn-0",
"panel-b434a05f655e7811ee71b4177747a1c0-btn-1",
"panel-b434a05f655e7811ee71b4177747a1c0-btn-2",
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-0",
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-1",
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-2",
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-btn-0",
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-btn-1",
"panel-ba696faaa3c3f34bebc3f1da67a7c8ad-btn-2",
"panel-d80f75f98e8a44fe4164fa76a6afd600-0",
"panel-d80f75f98e8a44fe4164fa76a6afd600-1",
"panel-d80f75f98e8a44fe4164fa76a6afd600-2",
"panel-d80f75f98e8a44fe4164fa76a6afd600-btn-0",
"panel-d80f75f98e8a44fe4164fa76a6afd600-btn-1",
"panel-d80f75f98e8a44fe4164fa76a6afd600-btn-2",
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-0",
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-1",
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-2",
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-btn-0",
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-btn-1",
"panel-d8bdd6a5f6d88907f9d6e8b57d921196-btn-2",
"persona", "persona",
"pie-chart", "pie-chart",
"pills", "pills",

6
go.mod
View File

@@ -3,7 +3,7 @@ module github.com/gethinode/hinode
go 1.19 go 1.19
require ( require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect github.com/airbnb/lottie-web v5.13.0+incompatible // indirect
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4 // indirect github.com/cloudcannon/bookshop/hugo/v3 v3.16.4 // indirect
github.com/gethinode/mod-bootstrap v1.3.4 // indirect github.com/gethinode/mod-bootstrap v1.3.4 // indirect
github.com/gethinode/mod-csp v1.0.8 // indirect github.com/gethinode/mod-csp v1.0.8 // indirect
@@ -15,7 +15,7 @@ require (
github.com/gethinode/mod-lottie v1.6.1 // indirect github.com/gethinode/mod-lottie v1.6.1 // indirect
github.com/gethinode/mod-mermaid/v3 v3.0.1 // indirect github.com/gethinode/mod-mermaid/v3 v3.0.1 // indirect
github.com/gethinode/mod-simple-datatables/v2 v2.0.2 // indirect github.com/gethinode/mod-simple-datatables/v2 v2.0.2 // indirect
github.com/gethinode/mod-utils/v4 v4.13.0 // indirect github.com/gethinode/mod-utils/v4 v4.14.0 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64 // indirect
github.com/twbs/bootstrap v5.3.8+incompatible // indirect github.com/twbs/bootstrap v5.3.8+incompatible // indirect
) )

6
go.sum
View File

@@ -1,5 +1,7 @@
github.com/airbnb/lottie-web v5.12.2+incompatible h1:Ldogtlhiucf7mMsgisyxSBY0qunV44+lpa9Icy2KoQc= github.com/airbnb/lottie-web v5.12.2+incompatible h1:Ldogtlhiucf7mMsgisyxSBY0qunV44+lpa9Icy2KoQc=
github.com/airbnb/lottie-web v5.12.2+incompatible/go.mod h1:nTss557UK9FGnp8QYlCMO29tjUHwbdAHG/DprbGfHGE= github.com/airbnb/lottie-web v5.12.2+incompatible/go.mod h1:nTss557UK9FGnp8QYlCMO29tjUHwbdAHG/DprbGfHGE=
github.com/airbnb/lottie-web v5.13.0+incompatible h1:plBV5Uq/F1kK0EC61Hr0cBGReI9OgUfd/pp0baoDX8o=
github.com/airbnb/lottie-web v5.13.0+incompatible/go.mod h1:nTss557UK9FGnp8QYlCMO29tjUHwbdAHG/DprbGfHGE=
github.com/cloudcannon/bookshop/hugo/v3 v3.14.0 h1:QNLtpTINvXkxAG/RQVpdXzxtFjG6YAmnBr7qbOD5GF8= github.com/cloudcannon/bookshop/hugo/v3 v3.14.0 h1:QNLtpTINvXkxAG/RQVpdXzxtFjG6YAmnBr7qbOD5GF8=
github.com/cloudcannon/bookshop/hugo/v3 v3.14.0/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8= github.com/cloudcannon/bookshop/hugo/v3 v3.14.0/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPyShOe1EnZxXzW3RVo= github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPyShOe1EnZxXzW3RVo=
@@ -502,6 +504,8 @@ github.com/gethinode/mod-utils/v4 v4.12.0 h1:5sSfYIxZCeQbXLoZdS//rl6thwLwtXuvM0u
github.com/gethinode/mod-utils/v4 v4.12.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4= github.com/gethinode/mod-utils/v4 v4.12.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.13.0 h1:VKAA+wKy4saayXfgJuVBRfhNVWQWmxOjO8LSpQCvLfw= github.com/gethinode/mod-utils/v4 v4.13.0 h1:VKAA+wKy4saayXfgJuVBRfhNVWQWmxOjO8LSpQCvLfw=
github.com/gethinode/mod-utils/v4 v4.13.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4= github.com/gethinode/mod-utils/v4 v4.13.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.14.0 h1:CF5dy+HWg22L306bWVhClWK9b1NVinEqtb4Qr2vcl9A=
github.com/gethinode/mod-utils/v4 v4.14.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg= github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=
@@ -524,6 +528,8 @@ github.com/nextapps-de/flexsearch v0.0.0-20250523180618-1f75f5f9d9b6 h1:vUlZHDX+
github.com/nextapps-de/flexsearch v0.0.0-20250523180618-1f75f5f9d9b6/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/nextapps-de/flexsearch v0.0.0-20250523180618-1f75f5f9d9b6/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a h1:CF/f62ufhBzNvAgoC6JhuqQxtqz0yDj3IIXYKl+A650= github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a h1:CF/f62ufhBzNvAgoC6JhuqQxtqz0yDj3IIXYKl+A650=
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64 h1:8gn/7ZfERwknYk63DskhEfkwwpoXubGrzLv5LuSq6hc=
github.com/nextapps-de/flexsearch v0.0.0-20250901122457-99cddafcdc64/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/twbs/bootstrap v5.3.2+incompatible h1:tuiO5acc6xnZUR77Sbi5aKWXxjYxbmsSbJwYrhAKoQQ= github.com/twbs/bootstrap v5.3.2+incompatible h1:tuiO5acc6xnZUR77Sbi5aKWXxjYxbmsSbJwYrhAKoQQ=
github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0= github.com/twbs/bootstrap v5.3.2+incompatible/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ= github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=

View File

@@ -7,45 +7,45 @@
{{ $error := false }} {{ $error := false }}
{{/* Initialize arguments */}} {{/* Initialize arguments */}}
{{ $args := partial "utilities/InitArgs.html" (dict "structure" "featured-illustration" "args" . "group" "partial") }} {{- $args := partial "utilities/InitArgs.html" (dict "structure" "featured-illustration" "args" . "group" "partial") -}}
{{ if or $args.err $args.warnmsg }} {{- if or $args.err $args.warnmsg -}}
{{ partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict {{- partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
"partial" "assets/featured-illustration.html" "partial" "assets/featured-illustration.html"
"warnid" "warn-invalid-arguments" "warnid" "warn-invalid-arguments"
"msg" "Invalid arguments" "msg" "Invalid arguments"
"details" ($args.errmsg | append $args.warnmsg) "details" ($args.errmsg | append $args.warnmsg)
"file" page.File "file" page.File
)}} ) -}}
{{ $error = $args.err }} {{- $error = $args.err -}}
{{ end }} {{- end -}}
{{/* Initialize local arguments */}} {{/* Initialize local arguments */}}
{{ $icon := partial "utilities/GetTargetPath.html" (dict "path" $args.icon "page" $args.page) }} {{- $icon := partial "utilities/GetTargetPath.html" (dict "path" $args.icon "page" $args.page) -}}
{{ $image := partial "utilities/GetTargetPath.html" (dict "path" $args.image "page" $args.page) }} {{- $image := partial "utilities/GetTargetPath.html" (dict "path" $args.image "page" $args.page) -}}
{{- $wrapper := $args.wrapper -}} {{- $wrapper := $args.wrapper -}}
{{ if $image }}{{ $wrapper = print "img-wrap " (or $wrapper "mx-auto") }}{{ end -}} {{- if $image }}{{ $wrapper = printf "img-wrap %s" (or $wrapper "mx-auto") }}{{ end -}}
{{- $class := $args.class -}} {{- $class := $args.class -}}
{{ if $icon }} {{- if $icon -}}
{{ if eq (lower (path.Ext $icon)) ".json" }} {{- if eq (lower (path.Ext $icon)) ".json" -}}
{{ if site.Params.env_bookshop_live }} {{- if site.Params.env_bookshop_live }}
<i>Animation preview not supported</i> <i>Animation preview not supported</i>
{{ else }} {{- else }}
{{ partial "assets/animation.html" (dict {{- partial "assets/animation.html" (dict
"data" $icon "data" $icon
"mode" $args.mode "mode" $args.mode
"loop" false "loop" false
"hover" true "hover" true
"class" "col-6 mx-auto text-center" "class" "col-6 mx-auto text-center"
) }} ) -}}
{{ end }} {{- end -}}
{{ else }} {{- else }}
{{ partial "assets/icon.html" (dict "icon" $icon "wrapper" $wrapper) }} {{ partial "assets/icon.html" (dict "icon" $icon "wrapper" $wrapper) -}}
{{ end }} {{- end -}}
{{ else if $image }} {{- else if $image -}}
{{ if not (hasSuffix $image "svg") }}{{ $class = printf "%s rounded" $class }}{{ end }} {{- if not (hasSuffix $image "svg") }}{{ $class = printf "%s rounded" $class }}{{ end -}}
{{ partial "assets/live-image.html" (dict {{- partial "assets/live-image.html" (dict
"src" $image "src" $image
"anchor" $args.anchor "anchor" $args.anchor
"ratio" $args.ratio "ratio" $args.ratio
@@ -55,5 +55,5 @@
"sizes" $args.sizes "sizes" $args.sizes
"priority" "high" "priority" "high"
"mode" $args.mode "mode" $args.mode
) }} ) -}}
{{ end }} {{- end -}}

View File

@@ -35,7 +35,7 @@
{{- $isActive := or (and (eq $pageURL $menuURL) (ne $menuURL ("/" | relLangURL))) (eq $pageURL $menuURL) -}} {{- $isActive := or (and (eq $pageURL $menuURL) (ne $menuURL ("/" | relLangURL))) (eq $pageURL $menuURL) -}}
{{ if not $menu.PageRef }}{{ $isActive = false }}{{ end }} {{ if not $menu.PageRef }}{{ $isActive = false }}{{ end }}
{{- $isAlias := $menu.Params.alias -}} {{- $isAlias := $menu.Params.alias -}}
{{- $isIcon := $menu.Params.icon -}} {{- $isIcon := or $menu.Params.icon $menu.Pre -}}
{{- $url := urls.Parse $menuURL -}} {{- $url := urls.Parse $menuURL -}}
{{- $baseURL := urls.Parse $.Site.Params.Baseurl -}} {{- $baseURL := urls.Parse $.Site.Params.Baseurl -}}
@@ -112,13 +112,13 @@
{{ end }} {{ end }}
{{ end -}} {{ end -}}
<span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-{{ . }}-none {{ end }}"> <span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-{{ . }}-none {{ end }}">
{{ $title }} {{- if $isIcon }}&nbsp;{{ end }}{{ $title }}
{{- with $menu.Post }}{{ . }}{{ end -}} {{- with $menu.Post }}{{ . }}{{ end -}}
{{- with $suffix }}&nbsp;{{ . }}{{ end -}} {{- with $suffix }}&nbsp;{{ . }}{{ end -}}
</span> </span>
{{ if not $isIcon }} {{ if not $isIcon }}
<span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-none d-{{ . }}-block{{ end }}"> <span class="{{ if $isActive }}active{{ end }} {{ with $args.breakpoint }}d-none d-{{ . }}-block{{ end }}">
{{ $title }} {{- if $isIcon }}&nbsp;{{ end }}{{ $title }}
{{- with $menu.Post }}{{ . }}{{ end -}} {{- with $menu.Post }}{{ . }}{{ end -}}
{{- with $suffix }}&nbsp;{{ . }}{{ end -}} {{- with $suffix }}&nbsp;{{ . }}{{ end -}}
</span> </span>

View File

@@ -11,7 +11,7 @@
{{ if $menu.Params.spacing }} {{ if $menu.Params.spacing }}
<li class="nav-item flex-grow-1"></li> <li class="nav-item flex-grow-1"></li>
{{ else }} {{ else }}
<li class="nav-item {{ if .HasChildren }} dropdown{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}"> <li class="nav-item {{ if .HasChildren }} dropdown me-auto{{ if $horizontal }} dropdown-horizontal-{{ $breakpoint }}{{ end }}{{ end }}">
{{- partial "assets/helpers/navbar-item.html" (dict "menu" $menu "page" $page) -}} {{- partial "assets/helpers/navbar-item.html" (dict "menu" $menu "page" $page) -}}
{{- if .HasChildren -}} {{- if .HasChildren -}}
<ul class="dropdown-menu{{ if $control }} dropdown-menu-end{{ end }}"> <ul class="dropdown-menu{{ if $control }} dropdown-menu-end{{ end }}">

View File

@@ -145,7 +145,7 @@
<div class="navbar-collapse collapse" id="{{ $id }}-collapse"> <div class="navbar-collapse collapse" id="{{ $id }}-collapse">
{{/* Insert search input */}} {{/* Insert search input */}}
{{- if and $search.enabled (not $search.modal) }} {{- if and $search.enabled (not $search.modal) }}
{{ partial "assets/search-input.html" (dict "class" (printf "mt-4 mt-%s-0" $args.breakpoint)) }} {{ partial "assets/search-input.html" (dict "class" (printf "mt-4 mt-%s-0 me-%s-3" $args.breakpoint $args.breakpoint)) }}
{{ end -}} {{ end -}}
<ul class="navbar-nav navbar-nav-scroll {{ if $flex }}d-flex w-100{{ else }}ms-auto{{ end }}"> <ul class="navbar-nav navbar-nav-scroll {{ if $flex }}d-flex w-100{{ else }}ms-auto{{ end }}">

10
package-lock.json generated
View File

@@ -13,7 +13,7 @@
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"cssnano": "^7.1.1", "cssnano": "^7.1.1",
"cssnano-preset-advanced": "^7.0.9", "cssnano-preset-advanced": "^7.0.9",
"hugo-bin": "0.145.2", "hugo-bin": "0.146.0",
"purgecss-whitelister": "^2.4.0" "purgecss-whitelister": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
@@ -7237,9 +7237,9 @@
} }
}, },
"node_modules/hugo-bin": { "node_modules/hugo-bin": {
"version": "0.145.2", "version": "0.146.0",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.145.2.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.146.0.tgz",
"integrity": "sha512-iI4HutM+45/xdNU8XW/mhV0QWwzuuzVzKQ0fhGZIh1e5QkqWvRGhRjE0UARUSU8pygGgkJalVJgNVIGL/lkZ9g==", "integrity": "sha512-R7c7SEhxNekWIny2HF5uU5Xk0Veg8BsahuyLURojvascGLCjyOAUDmghKnWB8DDVXSUmeDQYW8XdypNvbEC/Vg==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
@@ -7249,7 +7249,7 @@
"hasInstallScript": true, "hasInstallScript": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@xhmikosr/bin-wrapper": "^13.1.0", "@xhmikosr/bin-wrapper": "^13.2.0",
"package-config": "^5.0.0" "package-config": "^5.0.0"
}, },
"bin": { "bin": {

View File

@@ -75,7 +75,7 @@
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"cssnano": "^7.1.1", "cssnano": "^7.1.1",
"cssnano-preset-advanced": "^7.0.9", "cssnano-preset-advanced": "^7.0.9",
"hugo-bin": "0.145.2", "hugo-bin": "0.146.0",
"purgecss-whitelister": "^2.4.0" "purgecss-whitelister": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {