Compare commits

...

50 Commits

Author SHA1 Message Date
Mark Dumay
cbc36092f3 Merge pull request #1573 from gethinode/develop
fix: update dependencies
2025-09-10 19:30:37 +02:00
Mark Dumay
12a1598578 Merge branch 'main' into develop 2025-09-10 19:22:27 +02:00
Mark Dumay
8c77e7ad5c fix: update dependencies 2025-09-10 19:22:01 +02:00
Mark Dumay
9c746ec7f2 Merge pull request #1572 from gethinode/develop
fix: enable passthrough argument for building blocks
2025-09-10 16:53:01 +02:00
Mark Dumay
c161063dca fix: enable passthrough argument for building blocks 2025-09-10 16:46:32 +02:00
Mark Dumay
593ab2c918 Merge pull request #1571 from gethinode/develop
Develop
2025-09-10 14:09:34 +02:00
Mark Dumay
1f33976fe2 fix: ensure panel content is always set to size 6 2025-09-10 13:56:38 +02:00
Mark Dumay
9234d3c86a fix: include theme and cover args in all content blocks 2025-09-10 13:49:16 +02:00
github-actions[bot]
de716b0162 Merge pull request #1570 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.147.0
build(deps): bump hugo-bin from 0.146.1 to 0.147.0
2025-09-09 13:13:57 +00:00
dependabot[bot]
7c176956b0 build(deps): bump hugo-bin from 0.146.1 to 0.147.0
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.146.1 to 0.147.0.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.146.1...v0.147.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-09 13:07:04 +00:00
github-actions[bot]
7258d0b5a9 Merge pull request #1564 from gethinode/dependabot/npm_and_yarn/stylelint-16.24.0
build(deps-dev): bump stylelint from 16.23.1 to 16.24.0
2025-09-08 17:38:33 +00:00
Mark Dumay
fe04de37a7 Merge branch 'main' into dependabot/npm_and_yarn/stylelint-16.24.0 2025-09-08 19:31:32 +02:00
github-actions[bot]
d3ca7075bf Merge pull request #1565 from gethinode/dependabot/github_actions/actions/setup-node-5
build(deps): bump actions/setup-node from 4 to 5
2025-09-08 17:28:24 +00:00
Mark Dumay
68215d5f94 Merge branch 'main' into dependabot/github_actions/actions/setup-node-5 2025-09-08 19:21:27 +02:00
github-actions[bot]
dc57fa5217 Merge pull request #1566 from gethinode/dependabot/npm_and_yarn/eslint-9.35.0
build(deps-dev): bump eslint from 9.34.0 to 9.35.0
2025-09-08 17:19:12 +00:00
Mark Dumay
8299b125fc Merge branch 'main' into dependabot/npm_and_yarn/eslint-9.35.0 2025-09-08 19:10:09 +02:00
github-actions[bot]
6a51cb9681 Merge pull request #1567 from gethinode/dependabot/github_actions/actions/setup-go-6
build(deps): bump actions/setup-go from 5 to 6
2025-09-08 17:09:57 +00:00
Mark Dumay
27bbf7ddf5 Merge branch 'main' into dependabot/github_actions/actions/setup-go-6 2025-09-08 19:03:16 +02:00
Mark Dumay
89fea6d15f Merge pull request #1568 from gethinode/develop
fix: update dependencies
2025-09-08 19:01:06 +02:00
Mark Dumay
af762c840c fix: update dependencies 2025-09-08 18:54:20 +02:00
dependabot[bot]
4b3b0e87bb build(deps): bump actions/setup-go from 5 to 6
Bumps [actions/setup-go](https://github.com/actions/setup-go) from 5 to 6.
- [Release notes](https://github.com/actions/setup-go/releases)
- [Commits](https://github.com/actions/setup-go/compare/v5...v6)

---
updated-dependencies:
- dependency-name: actions/setup-go
  dependency-version: '6'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 13:14:08 +00:00
dependabot[bot]
6bad35eec8 build(deps-dev): bump eslint from 9.34.0 to 9.35.0
Bumps [eslint](https://github.com/eslint/eslint) from 9.34.0 to 9.35.0.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Changelog](https://github.com/eslint/eslint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/eslint/eslint/compare/v9.34.0...v9.35.0)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 9.35.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 13:12:58 +00:00
dependabot[bot]
46e745d1e7 build(deps): bump actions/setup-node from 4 to 5
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 4 to 5.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v4...v5)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-version: '5'
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 13:10:54 +00:00
dependabot[bot]
6cef5651d2 build(deps-dev): bump stylelint from 16.23.1 to 16.24.0
Bumps [stylelint](https://github.com/stylelint/stylelint) from 16.23.1 to 16.24.0.
- [Release notes](https://github.com/stylelint/stylelint/releases)
- [Changelog](https://github.com/stylelint/stylelint/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint/stylelint/compare/16.23.1...16.24.0)

---
updated-dependencies:
- dependency-name: stylelint
  dependency-version: 16.24.0
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-08 13:09:59 +00:00
github-actions[bot]
c91604d34a Merge pull request #1562 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.146.1
build(deps): bump hugo-bin from 0.146.0 to 0.146.1
2025-09-05 13:12:08 +00:00
dependabot[bot]
842725fd1c build(deps): bump hugo-bin from 0.146.0 to 0.146.1
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.146.0 to 0.146.1.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.146.0...v0.146.1)

---
updated-dependencies:
- dependency-name: hugo-bin
  dependency-version: 0.146.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-05 13:06:08 +00:00
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
Mark Dumay
cb02c25ac4 Merge pull request #1553 from gethinode/develop
fix: remove navbar item suffix when displaying icon only
2025-08-27 19:37:49 +02:00
Mark Dumay
39ef3c5372 Merge branch 'main' into develop 2025-08-27 19:32:22 +02:00
Mark Dumay
546003c9d4 fix: remove navbar item suffix when displaying icon only 2025-08-27 19:31:50 +02:00
27 changed files with 239 additions and 169 deletions

View File

@@ -27,7 +27,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v5
with: with:
node-version: lts/* node-version: lts/*
cache: 'npm' cache: 'npm'
@@ -56,12 +56,12 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
- name: Install Go - name: Install Go
uses: actions/setup-go@v5 uses: actions/setup-go@v6
with: with:
go-version: ">1.0.0" go-version: ">1.0.0"
- name: Set up Node.js ${{ matrix.node-version }} - name: Set up Node.js ${{ matrix.node-version }}
uses: actions/setup-node@v4 uses: actions/setup-node@v5
with: with:
node-version: ${{ matrix.node-version }} node-version: ${{ matrix.node-version }}
cache: 'npm' cache: 'npm'

View File

@@ -17,7 +17,7 @@ jobs:
uses: actions/checkout@v5 uses: actions/checkout@v5
- name: Setup Node.js - name: Setup Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v5
with: with:
node-version: lts/* node-version: lts/*
cache: 'npm' cache: 'npm'

View File

@@ -28,7 +28,7 @@ jobs:
fetch-depth: 0 fetch-depth: 0
- name: Set up Node.js - name: Set up Node.js
uses: actions/setup-node@v4 uses: actions/setup-node@v5
with: with:
node-version: "lts/*" node-version: "lts/*"

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

@@ -32,6 +32,8 @@ blueprint:
width: width:
justify: justify:
link-type: link-type:
theme:
cover:
links: links:
- -
title: title:

View File

@@ -47,3 +47,5 @@ blueprint:
class: class:
width: width:
justify: justify:
theme:
cover:

View File

@@ -34,3 +34,5 @@ blueprint:
width: width:
justify: justify:
align: align:
theme:
cover:

View File

@@ -41,3 +41,5 @@ blueprint:
padding: padding:
order: order:
width: width:
theme:
cover:

View File

@@ -26,3 +26,5 @@ blueprint:
items: items:
- title: - title:
description: description:
theme:
cover:

View File

@@ -35,6 +35,7 @@ blueprint:
align: align:
order: order:
overlay-mode: overlay-mode:
theme:
cover: cover:
orientation: orientation:
width: width:

View File

@@ -33,3 +33,5 @@ blueprint:
class: class:
width: width:
justify: justify:
theme:
cover:

View File

@@ -33,16 +33,17 @@
{{ $toc = $toc | append (dict "href" "panel-0-1" "level" 2 "title" $element.title) }} {{ $toc = $toc | append (dict "href" "panel-0-1" "level" 2 "title" $element.title) }}
{{ $hero := partial "assets/hero.html" (dict {{ $hero := partial "assets/hero.html" (dict
"page" page "page" page
"heading" (dict "title" $element.title "content" $element.content "width" 8 "size" 6) "heading" (dict "content" $element.content "width" 8)
"background" $args.background "background" $args.background
"illustration" (dict "ratio" $args.ratio "icon" $element.icon "image" $element.image "mode" $element.mode) "illustration" (dict "ratio" $args.ratio "icon" $element.icon "image" $element.image "mode" $element.mode)
"order" $args.order "order" $args.order
"link-type" $args.linkType "link-type" $args.linkType
"links" $args.links "links" $args.links
"orientation" "horizontal" "orientation" "horizontal"
"align" "start" "align" "start"
"width" 12 "width" 12
"content-style" "fs-6"
) )
}} }}

View File

@@ -24,3 +24,5 @@ blueprint:
width: width:
justify: justify:
data: data:
theme:
cover:

View File

@@ -42,6 +42,8 @@ blueprint:
border: border:
width: width:
justify: justify:
theme:
cover:
_structures: _structures:
messages: messages:

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

@@ -27,20 +27,35 @@
{{- $resolved_component = $flat_component_path -}} {{- $resolved_component = $flat_component_path -}}
{{- end -}} {{- end -}}
<!-- TODO: use initialized component args instead of component_props -->
{{ $error := false }}
{{ $args := dict }}
{{- if $resolved_component -}} {{- if $resolved_component -}}
{{ $args = partial "utilities/InitArgs.html" (dict "bookshop" $component_name "args" $component_props) }}
{{ if or $args.err $args.warnmsg }}
{{ partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
"partial" $resolved_component
"warnid" "warn-invalid-arguments"
"msg" "Invalid arguments"
"details" ($args.errmsg | append $args.warnmsg)
"file" page.File
)}}
{{ end }}
{{ end }}
{{ if and $resolved_component (not $args.err) }}
{{- $id := index $component_props "id" -}} {{- $id := index $component_props "id" -}}
{{- $cover := index $component_props "cover" -}} {{- $cover := index $component_props "cover" -}}
{{- $background := index $component_props "background" -}} {{- $background := index $component_props "background" -}}
{{- $backdrop := "" -}} {{- $backdrop := "" -}}
{{- $fluid := index $component_props "fluid" | default true -}} {{- $fluid := index $component_props "fluid" | default true -}}
{{- $style := index $component_props "wrapper" -}} {{- $wrapper := index $component_props "wrapper" -}}
{{- $width := index $component_props "width" -}} {{- $width := index $component_props "width" -}}
{{- $justify := index $component_props "justify" | default "start" -}} {{- $justify := index $component_props "justify" | default "start" -}}
{{- $paddingOuter := cond (ne $component_name "separator") (printf "px-xxl-0 px-%d py-0" $padding.x) "" -}} {{- $paddingOuter := cond (ne $component_name "separator") (printf "px-xxl-0 px-%d py-0" $padding.x) "" -}}
{{- $padding := cond (ne $component_name "separator") (printf "px-%d %spy-%d" $padding.x (cond $fluid "px-xxl-0 " "") $padding.y) "" -}} {{- $padding := cond (ne $component_name "separator") (printf "px-%d %spy-%d" $padding.x (cond $fluid "px-xxl-0 " "") $padding.y) "" -}}
{{- $wrapper := $style }}
{{ with $background }} {{ with $background }}
{{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $style) }} {{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $wrapper) }}
{{ if reflect.IsMap $background }} {{ if reflect.IsMap $background }}
{{ with $background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }} {{ with $background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }}
{{ end }} {{ end }}
@@ -73,18 +88,21 @@
{{- end -}} {{- end -}}
{{ $col := cond (and $width (lt $width 12)) (printf "col-12 col-md-%d" $width) "" }} {{ $col := cond (and $width (lt $width 12)) (printf "col-12 col-md-%d" $width) "" }}
{{ if $args.passthrough }}
<div class="container-{{ cond $fluid "xxl" "fluid" }} {{ $padding }} d-flex flex-column align-items-{{ $justify }}"> {{ partial $resolved_component $component_props }}
{{ with $col }} {{ else }}
<div class="{{ . }}">{{ partial $resolved_component $component_props }}</div> <div class="container-{{ cond $fluid "xxl" "fluid" }} {{ $padding }} d-flex flex-column align-items-{{ $justify }}">
{{ else }} {{ with $col }}
{{ partial $resolved_component $component_props }} <div class="{{ . }}">{{ partial $resolved_component $component_props }}</div>
{{ end}} {{ else }}
</div> {{ partial $resolved_component $component_props }}
{{ end}}
</div>
{{ end }}
</section> </section>
{{ if not $fluid }}</div>{{ end }} {{ if not $fluid }}</div>{{ end }}
{{ "<!--bookshop-live end-->" | safeHTML }} {{ "<!--bookshop-live end-->" | safeHTML }}
{{- else -}} {{- else if (not $args.err) -}}
{{- $file_loc := slicestr $component_path 9 -}} {{- $file_loc := slicestr $component_path 9 -}}
{{- $flat_file_loc := slicestr $flat_component_path 9 -}} {{- $flat_file_loc := slicestr $flat_component_path 9 -}}
{{- partial "_bookshop/errors/err" (printf "Component \"%s\" does not exist.\n Create this component by placing a file in your bookshop at %s or %s" $component_name $file_loc $flat_file_loc) -}} {{- partial "_bookshop/errors/err" (printf "Component \"%s\" does not exist.\n Create this component by placing a file in your bookshop at %s or %s" $component_name $file_loc $flat_file_loc) -}}

View File

@@ -28,3 +28,5 @@ arguments:
theme: theme:
hook: hook:
default: assets/hero-image.html default: assets/hero-image.html
heading-style:
content-style:

View File

@@ -245,9 +245,6 @@
"fa-activity", "fa-activity",
"fa-address-card", "fa-address-card",
"fa-angle-left", "fa-angle-left",
"fa-angle-right",
"fa-angles-left",
"fa-angles-right",
"fa-arrow-left", "fa-arrow-left",
"fa-arrow-right", "fa-arrow-right",
"fa-bootstrap", "fa-bootstrap",
@@ -383,6 +380,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 +656,11 @@
"docs", "docs",
"documentation", "documentation",
"dropdown-nav-0", "dropdown-nav-0",
"dropdown-panel-1cf9fa6c1b8db897289f1e58eca1ed2b", "dropdown-panel-4bb40e55576372d7d5033b3cb5988c2c",
"dropdown-panel-2112fcf4fa7219518b7b70498969a79b", "dropdown-panel-6dfba858bf9eaea88ebc32de712ebf3f",
"dropdown-panel-2c61c8fd2a96d840748e5d5aa5e6ab20", "dropdown-panel-6fe204644b3fccca0d62ab3b712bf1cd",
"dropdown-panel-94a8f41d03ff238aa65acebc1b274df7", "dropdown-panel-b8350cafdd51c4d33847172721da9800",
"dropdown-panel-dd79f20dce01073bc4b064a98deaff96", "dropdown-panel-e25d76a286385f8669a497412d250185",
"elements-type", "elements-type",
"entity-relationship-diagram", "entity-relationship-diagram",
"example", "example",
@@ -680,19 +678,16 @@
"fab-medium", "fab-medium",
"fab-whatsapp", "fab-whatsapp",
"fab-x-twitter", "fab-x-twitter",
"faq-40baa94f9dbf495433e3d6b5106aad41", "faq-aa1b2fa31cd6205cdeb0e1b972a20584",
"faq-40baa94f9dbf495433e3d6b5106aad41-heading-faq-40baa94f9dbf495433e3d6b5106aad41", "faq-aa1b2fa31cd6205cdeb0e1b972a20584-heading-faq-aa1b2fa31cd6205cdeb0e1b972a20584",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-0", "faq-aa1b2fa31cd6205cdeb0e1b972a20584-item-0",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-1", "faq-aa1b2fa31cd6205cdeb0e1b972a20584-item-1",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-2", "faq-aa1b2fa31cd6205cdeb0e1b972a20584-item-2",
"fas-1", "fas-1",
"fas-2", "fas-2",
"fas-3", "fas-3",
"fas-address-card", "fas-address-card",
"fas-angle-left", "fas-angle-left",
"fas-angle-right",
"fas-angles-left",
"fas-angles-right",
"fas-arrow-left", "fas-arrow-left",
"fas-arrow-right", "fas-arrow-right",
"fas-chevron-right", "fas-chevron-right",
@@ -724,7 +719,6 @@
"fichier", "fichier",
"fil-dariane", "fil-dariane",
"file", "file",
"first-panel",
"flowchart", "flowchart",
"footer-docs-collapse-15", "footer-docs-collapse-15",
"footer-docs-collapse-16", "footer-docs-collapse-16",
@@ -779,11 +773,11 @@
"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-4bb40e55576372d7d5033b3cb5988c2c",
"nav-panel-2112fcf4fa7219518b7b70498969a79b", "nav-panel-6dfba858bf9eaea88ebc32de712ebf3f",
"nav-panel-2c61c8fd2a96d840748e5d5aa5e6ab20", "nav-panel-6fe204644b3fccca0d62ab3b712bf1cd",
"nav-panel-94a8f41d03ff238aa65acebc1b274df7", "nav-panel-b8350cafdd51c4d33847172721da9800",
"nav-panel-dd79f20dce01073bc4b064a98deaff96", "nav-panel-e25d76a286385f8669a497412d250185",
"navbar", "navbar",
"navbar-0-collapse", "navbar-0-collapse",
"navbar-mode", "navbar-mode",
@@ -792,36 +786,36 @@
"navigation", "navigation",
"notification", "notification",
"overview", "overview",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-0", "panel-4bb40e55576372d7d5033b3cb5988c2c-0",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-1", "panel-4bb40e55576372d7d5033b3cb5988c2c-1",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-2", "panel-4bb40e55576372d7d5033b3cb5988c2c-2",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-0", "panel-4bb40e55576372d7d5033b3cb5988c2c-btn-0",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-1", "panel-4bb40e55576372d7d5033b3cb5988c2c-btn-1",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-2", "panel-4bb40e55576372d7d5033b3cb5988c2c-btn-2",
"panel-2112fcf4fa7219518b7b70498969a79b-0", "panel-6dfba858bf9eaea88ebc32de712ebf3f-0",
"panel-2112fcf4fa7219518b7b70498969a79b-1", "panel-6dfba858bf9eaea88ebc32de712ebf3f-1",
"panel-2112fcf4fa7219518b7b70498969a79b-2", "panel-6dfba858bf9eaea88ebc32de712ebf3f-2",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-0", "panel-6dfba858bf9eaea88ebc32de712ebf3f-btn-0",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-1", "panel-6dfba858bf9eaea88ebc32de712ebf3f-btn-1",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-2", "panel-6dfba858bf9eaea88ebc32de712ebf3f-btn-2",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-0", "panel-6fe204644b3fccca0d62ab3b712bf1cd-0",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-1", "panel-6fe204644b3fccca0d62ab3b712bf1cd-1",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-2", "panel-6fe204644b3fccca0d62ab3b712bf1cd-2",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-0", "panel-6fe204644b3fccca0d62ab3b712bf1cd-btn-0",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-1", "panel-6fe204644b3fccca0d62ab3b712bf1cd-btn-1",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-2", "panel-6fe204644b3fccca0d62ab3b712bf1cd-btn-2",
"panel-94a8f41d03ff238aa65acebc1b274df7-0", "panel-b8350cafdd51c4d33847172721da9800-0",
"panel-94a8f41d03ff238aa65acebc1b274df7-1", "panel-b8350cafdd51c4d33847172721da9800-1",
"panel-94a8f41d03ff238aa65acebc1b274df7-2", "panel-b8350cafdd51c4d33847172721da9800-2",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-0", "panel-b8350cafdd51c4d33847172721da9800-btn-0",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-1", "panel-b8350cafdd51c4d33847172721da9800-btn-1",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-2", "panel-b8350cafdd51c4d33847172721da9800-btn-2",
"panel-dd79f20dce01073bc4b064a98deaff96-0", "panel-e25d76a286385f8669a497412d250185-0",
"panel-dd79f20dce01073bc4b064a98deaff96-1", "panel-e25d76a286385f8669a497412d250185-1",
"panel-dd79f20dce01073bc4b064a98deaff96-2", "panel-e25d76a286385f8669a497412d250185-2",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-0", "panel-e25d76a286385f8669a497412d250185-btn-0",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-1", "panel-e25d76a286385f8669a497412d250185-btn-1",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-2", "panel-e25d76a286385f8669a497412d250185-btn-2",
"persona", "persona",
"pie-chart", "pie-chart",
"pills", "pills",
@@ -834,7 +828,6 @@
"release", "release",
"requirement-chart", "requirement-chart",
"réduire", "réduire",
"second-panel",
"security", "security",
"sequence-diagram", "sequence-diagram",
"shortcode-with-controls-and-frontmatter", "shortcode-with-controls-and-frontmatter",
@@ -847,7 +840,6 @@
"sécurité", "sécurité",
"table", "table",
"tabs", "tabs",
"third-panel",
"third-party-links--use-of-your-information", "third-party-links--use-of-your-information",
"timeline", "timeline",
"title", "title",

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.15.1 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 // indirect
github.com/twbs/bootstrap v5.3.8+incompatible // indirect github.com/twbs/bootstrap v5.3.8+incompatible // indirect
) )

12
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,12 @@ 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/gethinode/mod-utils/v4 v4.15.0 h1:Zocy3qEVluYcx9te7bN6Serwp49kjhuH+eIvcCYpeC8=
github.com/gethinode/mod-utils/v4 v4.15.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.15.1 h1:zsn6pYxMePLqsNaX+V8qND5tAbbp/CiscgZrnFAxc2s=
github.com/gethinode/mod-utils/v4 v4.15.1/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 +532,10 @@ 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/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 h1:55phPhe6fDjfjG0jX4+br3nLORKgjgx8abZUdI0YJRA=
github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0/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,15 +112,17 @@
{{ 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 $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 $suffix }}&nbsp;{{ . }}{{ end -}}
</span> </span>
{{ end }} {{ end }}
{{- with $menu.Post }}{{ . }}{{ end -}}
{{- with $suffix }}&nbsp;{{ . }}{{ end -}}
{{ cond (ne $menuURL "") "</a>" "</div>" | safeHTML }} {{ cond (ne $menuURL "") "</a>" "</div>" | safeHTML }}
{{ end }} {{ end }}
{{ end }} {{ end }}

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

@@ -112,13 +112,16 @@
{{ end }} {{ end }}
{{ $title := partial "assets/section-title.html" (dict {{ $title := partial "assets/section-title.html" (dict
"heading" $heading "heading" $heading
"use-title" $args.useTitle "use-title" $args.useTitle
"links" $args.links "links" $args.links
"link-type" (or $args.linkType $args.type) "link-type" (or $args.linkType $args.type)
"class" "hero-title" "class" "hero-title"
"arrangement" $arrangement "arrangement" $arrangement
"justify" $args.justify "justify" $args.justify
"heading-style" $args.headingStyle
"content-style" $args.contentStyle
) }} ) }}
{{ if eq $args.orientation "stacked" }} {{ if eq $args.orientation "stacked" }}

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 }}">

85
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.147.0",
"purgecss-whitelister": "^2.4.0" "purgecss-whitelister": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
@@ -25,7 +25,7 @@
"commitizen": "^4.3.1", "commitizen": "^4.3.1",
"cpy-cli": "^6.0.0", "cpy-cli": "^6.0.0",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"eslint": "^9.34.0", "eslint": "^9.35.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"markdownlint-cli2": "^0.18.1", "markdownlint-cli2": "^0.18.1",
"neostandard": "^0.12.2", "neostandard": "^0.12.2",
@@ -36,7 +36,7 @@
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"semantic-release": "^24.2.7", "semantic-release": "^24.2.7",
"shx": "^0.4.0", "shx": "^0.4.0",
"stylelint": "^16.23.1", "stylelint": "^16.24.0",
"stylelint-config-standard-scss": "^15.0.1" "stylelint-config-standard-scss": "^15.0.1"
}, },
"optionalDependencies": { "optionalDependencies": {
@@ -631,10 +631,11 @@
} }
}, },
"node_modules/@eslint-community/eslint-utils": { "node_modules/@eslint-community/eslint-utils": {
"version": "4.7.0", "version": "4.9.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz", "resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz",
"integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==", "integrity": "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==",
"dev": true, "dev": true,
"license": "MIT",
"dependencies": { "dependencies": {
"eslint-visitor-keys": "^3.4.3" "eslint-visitor-keys": "^3.4.3"
}, },
@@ -720,9 +721,9 @@
} }
}, },
"node_modules/@eslint/js": { "node_modules/@eslint/js": {
"version": "9.34.0", "version": "9.35.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.34.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.35.0.tgz",
"integrity": "sha512-EoyvqQnBNsV1CWaEJ559rxXL4c8V92gxirbawSmVUOWXlsRxxQXl6LmCpdUblgxgSkDIqKnhzba2SjRTI/A5Rw==", "integrity": "sha512-30iXE9whjlILfWobBkNerJo+TXYsgVM5ERQwMcMKCHckHflCmf7wXDAHlARoWnh0s1U72WqlbeyE7iAcCzuCPw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -3517,14 +3518,14 @@
} }
}, },
"node_modules/cacheable": { "node_modules/cacheable": {
"version": "1.10.3", "version": "1.10.4",
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.3.tgz", "resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.4.tgz",
"integrity": "sha512-M6p10iJ/VT0wT7TLIGUnm958oVrU2cUK8pQAVU21Zu7h8rbk/PeRtRWrvHJBql97Bhzk3g1N6+2VKC+Rjxna9Q==", "integrity": "sha512-Gd7ccIUkZ9TE2odLQVS+PDjIvQCdJKUlLdJRVvZu0aipj07Qfx+XIej7hhDrKGGoIxV5m5fT/kOJNJPQhQneRg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"hookified": "^1.10.0", "hookified": "^1.11.0",
"keyv": "^5.4.0" "keyv": "^5.5.0"
} }
}, },
"node_modules/cacheable-lookup": { "node_modules/cacheable-lookup": {
@@ -3555,9 +3556,9 @@
} }
}, },
"node_modules/cacheable/node_modules/keyv": { "node_modules/cacheable/node_modules/keyv": {
"version": "5.4.0", "version": "5.5.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.4.0.tgz", "resolved": "https://registry.npmjs.org/keyv/-/keyv-5.5.0.tgz",
"integrity": "sha512-TMckyVjEoacG5IteUpUrOBsFORtheqziVyyY2dLUwg1jwTb8u48LX4TgmtogkNl9Y9unaEJ1luj10fGyjMGFOQ==", "integrity": "sha512-QG7qR2tijh1ftOvClut4YKKg1iW6cx3GZsKoGyJPxHkGWK9oJhG9P3j5deP0QQOGDowBMVQFaP+Vm4NpGYvmIQ==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
@@ -5479,19 +5480,19 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "9.34.0", "version": "9.35.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.34.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.35.0.tgz",
"integrity": "sha512-RNCHRX5EwdrESy3Jc9o8ie8Bog+PeYvvSR8sDGoZxNFTvZ4dlxUB3WzQ3bQMztFrSRODGrLLj8g6OFuGY/aiQg==", "integrity": "sha512-QePbBFMJFjgmlE+cXAlbHZbHpdFVS2E/6vzCy7aKlebddvl1vadiC4JFV5u/wqTkNUwEV8WrQi257jf5f06hrg==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.1", "@eslint-community/regexpp": "^4.12.1",
"@eslint/config-array": "^0.21.0", "@eslint/config-array": "^0.21.0",
"@eslint/config-helpers": "^0.3.1", "@eslint/config-helpers": "^0.3.1",
"@eslint/core": "^0.15.2", "@eslint/core": "^0.15.2",
"@eslint/eslintrc": "^3.3.1", "@eslint/eslintrc": "^3.3.1",
"@eslint/js": "9.34.0", "@eslint/js": "9.35.0",
"@eslint/plugin-kit": "^0.3.5", "@eslint/plugin-kit": "^0.3.5",
"@humanfs/node": "^0.16.6", "@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
@@ -7165,9 +7166,9 @@
} }
}, },
"node_modules/hookified": { "node_modules/hookified": {
"version": "1.11.0", "version": "1.12.0",
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.11.0.tgz", "resolved": "https://registry.npmjs.org/hookified/-/hookified-1.12.0.tgz",
"integrity": "sha512-aDdIN3GyU5I6wextPplYdfmWCo+aLmjjVbntmX6HLD5RCi/xKsivYEBhnRD+d9224zFf008ZpLMPlWF0ZodYZw==", "integrity": "sha512-hMr1Y9TCLshScrBbV2QxJ9BROddxZ12MX9KsCtuGGy/3SmmN5H1PllKerrVlSotur9dlE8hmUKAOSa3WDzsZmQ==",
"dev": true, "dev": true,
"license": "MIT" "license": "MIT"
}, },
@@ -7237,9 +7238,9 @@
} }
}, },
"node_modules/hugo-bin": { "node_modules/hugo-bin": {
"version": "0.145.2", "version": "0.147.0",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.145.2.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.147.0.tgz",
"integrity": "sha512-iI4HutM+45/xdNU8XW/mhV0QWwzuuzVzKQ0fhGZIh1e5QkqWvRGhRjE0UARUSU8pygGgkJalVJgNVIGL/lkZ9g==", "integrity": "sha512-8ZO/uEVbYUQzTaPGmB0Www53GeKq6A2oyQs1+0wyV9BR5jWQt7HPpl5U4sCioRTsTF73UQVQMTzIPdg9Iaw4Vw==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",
@@ -7249,7 +7250,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": {
@@ -16147,9 +16148,9 @@
} }
}, },
"node_modules/stylelint": { "node_modules/stylelint": {
"version": "16.23.1", "version": "16.24.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.1.tgz", "resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.24.0.tgz",
"integrity": "sha512-dNvDTsKV1U2YtiUDfe9d2gp902veFeo3ecCWdGlmLm2WFrAV0+L5LoOj/qHSBABQwMsZPJwfC4bf39mQm1S5zw==", "integrity": "sha512-7ksgz3zJaSbTUGr/ujMXvLVKdDhLbGl3R/3arNudH7z88+XZZGNLMTepsY28WlnvEFcuOmUe7fg40Q3lfhOfSQ==",
"dev": true, "dev": true,
"funding": [ "funding": [
{ {
@@ -16176,7 +16177,7 @@
"debug": "^4.4.1", "debug": "^4.4.1",
"fast-glob": "^3.3.3", "fast-glob": "^3.3.3",
"fastest-levenshtein": "^1.0.16", "fastest-levenshtein": "^1.0.16",
"file-entry-cache": "^10.1.3", "file-entry-cache": "^10.1.4",
"global-modules": "^2.0.0", "global-modules": "^2.0.0",
"globby": "^11.1.0", "globby": "^11.1.0",
"globjoin": "^0.1.4", "globjoin": "^0.1.4",
@@ -16381,25 +16382,25 @@
"dev": true "dev": true
}, },
"node_modules/stylelint/node_modules/file-entry-cache": { "node_modules/stylelint/node_modules/file-entry-cache": {
"version": "10.1.3", "version": "10.1.4",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.3.tgz", "resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.4.tgz",
"integrity": "sha512-D+w75Ub8T55yor7fPgN06rkCAUbAYw2vpxJmmjv/GDAcvCnv9g7IvHhIZoxzRZThrXPFI2maeY24pPbtyYU7Lg==", "integrity": "sha512-5XRUFc0WTtUbjfGzEwXc42tiGxQHBmtbUG1h9L2apu4SulCGN3Hqm//9D6FAolf8MYNL7f/YlJl9vy08pj5JuA==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"flat-cache": "^6.1.12" "flat-cache": "^6.1.13"
} }
}, },
"node_modules/stylelint/node_modules/flat-cache": { "node_modules/stylelint/node_modules/flat-cache": {
"version": "6.1.12", "version": "6.1.13",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.12.tgz", "resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.13.tgz",
"integrity": "sha512-U+HqqpZPPXP5d24bWuRzjGqVqUcw64k4nZAbruniDwdRg0H10tvN7H6ku1tjhA4rg5B9GS3siEvwO2qjJJ6f8Q==", "integrity": "sha512-gmtS2PaUjSPa4zjObEIn4WWliKyZzYljgxODBfxugpK6q6HU9ClXzgCJ+nlcPKY9Bt090ypTOLIFWkV0jbKFjw==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"cacheable": "^1.10.3", "cacheable": "^1.10.4",
"flatted": "^3.3.3", "flatted": "^3.3.3",
"hookified": "^1.10.0" "hookified": "^1.11.0"
} }
}, },
"node_modules/stylelint/node_modules/globby": { "node_modules/stylelint/node_modules/globby": {

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.147.0",
"purgecss-whitelister": "^2.4.0" "purgecss-whitelister": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
@@ -87,7 +87,7 @@
"commitizen": "^4.3.1", "commitizen": "^4.3.1",
"cpy-cli": "^6.0.0", "cpy-cli": "^6.0.0",
"cz-conventional-changelog": "^3.3.0", "cz-conventional-changelog": "^3.3.0",
"eslint": "^9.34.0", "eslint": "^9.35.0",
"husky": "^9.1.7", "husky": "^9.1.7",
"markdownlint-cli2": "^0.18.1", "markdownlint-cli2": "^0.18.1",
"neostandard": "^0.12.2", "neostandard": "^0.12.2",
@@ -98,7 +98,7 @@
"rimraf": "^6.0.1", "rimraf": "^6.0.1",
"semantic-release": "^24.2.7", "semantic-release": "^24.2.7",
"shx": "^0.4.0", "shx": "^0.4.0",
"stylelint": "^16.23.1", "stylelint": "^16.24.0",
"stylelint-config-standard-scss": "^15.0.1" "stylelint-config-standard-scss": "^15.0.1"
}, },
"optionalDependencies": { "optionalDependencies": {