Compare commits

...

107 Commits

Author SHA1 Message Date
Mark Dumay
4c37191c81 Merge pull request #1590 from gethinode/develop
Develop
2025-09-21 14:44:41 +02:00
Mark Dumay
8197aa89cd Merge branch 'main' into develop 2025-09-21 14:37:18 +02:00
Mark Dumay
a00bab683f fix: bump hugo dependencies 2025-09-21 14:36:45 +02:00
Mark Dumay
29adfc629d feat: add justify argument to hero image 2025-09-21 14:36:02 +02:00
Mark Dumay
bf829f6abe fix: align panel illustration to end 2025-09-21 14:35:11 +02:00
Mark Dumay
f00a38cd4b Merge pull request #1589 from gethinode/develop
Develop
2025-09-20 07:38:53 +02:00
Mark Dumay
510cb7f941 fix: exclude clipboard from codeql scan
contains unspported Hugo template code
2025-09-20 07:27:01 +02:00
Mark Dumay
ad84ccb4b8 Merge branch 'main' into develop 2025-09-20 07:20:03 +02:00
Mark Dumay
81b8dc4ea7 fix: correct order of link icon on small devices 2025-09-20 07:18:42 +02:00
Mark Dumay
4881528343 fix: improve consistency of stack arguments 2025-09-20 07:17:56 +02:00
Mark Dumay
c3f4b6d8ea fix: support both body and body-style arguments in card partial 2025-09-20 07:15:46 +02:00
Mark Dumay
d853106bf3 fix: include href-force in stack partial 2025-09-20 07:14:14 +02:00
Mark Dumay
0c77f9c5a0 fix: include body style argument in articles bookshop content block 2025-09-20 07:13:38 +02:00
Mark Dumay
8cdad9c783 fix: correct horizontal stack rendering of articles content block 2025-09-20 07:13:02 +02:00
Mark Dumay
b3618c2fcc Merge pull request #1587 from gethinode/develop
Develop
2025-09-17 14:32:15 +02:00
Mark Dumay
60e5915de1 Merge branch 'main' into develop 2025-09-17 14:18:26 +02:00
Mark Dumay
48af98b7cf fix: include fluid argument in content blocks 2025-09-17 14:17:57 +02:00
Mark Dumay
dc04c46906 fix: include fluid argument in about content block 2025-09-17 14:15:36 +02:00
Mark Dumay
883d753c62 Merge pull request #1586 from gethinode/develop
feat: enhance more button configuration
2025-09-17 13:52:46 +02:00
Mark Dumay
221edc3d9c fix: update type definition 2025-09-17 13:43:50 +02:00
Mark Dumay
2fa27a699b Merge branch 'main' into develop 2025-09-17 13:15:12 +02:00
Mark Dumay
17c2c76ed9 feat: enhance more button configuration 2025-09-17 13:14:05 +02:00
Mark Dumay
fe05770e89 Merge pull request #1585 from gethinode/develop
fix: remove redundant markup template
2025-09-17 05:35:25 +02:00
Mark Dumay
856c264544 fix: remove redundant markup template 2025-09-17 05:29:08 +02:00
Mark Dumay
816455676a Merge pull request #1584 from hawkeye116477/main
Allow to set class for markdown header
2025-09-17 05:24:28 +02:00
hawkeye116477
7fde6a2d8e Allow to set class for markdown header
gethinode/hinode#1508
2025-09-16 21:05:11 +02:00
Mark Dumay
97caba0ace Merge pull request #1582 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2025-09-16 10:34:30 +02:00
Mark Dumay
89df0b1b2a Merge branch 'main' into hugo-mod-dependencies 2025-09-16 10:28:30 +02:00
Mark Dumay
0bdfc2f699 Merge pull request #1583 from gethinode/develop
Develop
2025-09-16 10:04:26 +02:00
Mark Dumay
a22d5b43ec Merge branch 'main' into develop 2025-09-16 08:27:53 +02:00
Mark Dumay
3bb96c5322 fix: make sharing label optional 2025-09-16 08:27:27 +02:00
markdumay
b2adbab04b fix: update Hugo module dependencies 2025-09-16 03:16:00 +00:00
Mark Dumay
a4c3693b64 fix: apply site heading style and content style to single page header 2025-09-15 08:43:34 +02:00
Mark Dumay
50d21d1927 Merge pull request #1581 from gethinode/develop
fix: make webshare icon configurable
2025-09-15 07:56:38 +02:00
Mark Dumay
42e83382a2 Merge branch 'main' into develop 2025-09-15 07:48:52 +02:00
Mark Dumay
c9df385598 fix: make webshare icon configurable 2025-09-15 07:48:09 +02:00
Mark Dumay
4d86493bfb Merge pull request #1580 from gethinode/develop
fix: refine vertical alignment of brand
2025-09-14 16:54:22 +02:00
Mark Dumay
633dab2622 Merge branch 'main' into develop 2025-09-14 16:48:26 +02:00
Mark Dumay
5c9316cea0 fix: refine vertical alignment of brand 2025-09-14 16:47:57 +02:00
Mark Dumay
6085688d7b Merge pull request #1579 from gethinode/develop
Develop
2025-09-14 15:16:48 +02:00
Mark Dumay
54e1720be6 fix: vertically align brand text in navbar 2025-09-14 14:59:06 +02:00
Mark Dumay
f482f4dd94 feat: enable configuration of navbar logo align and mode 2025-09-14 13:58:02 +02:00
Mark Dumay
b48a9598f4 fix: prevent wrapping of navbar items 2025-09-14 12:45:07 +02:00
Mark Dumay
ed56db6d0d refactor: remove redundant spacing 2025-09-14 12:35:40 +02:00
Mark Dumay
9a91208f58 fix: pass default arguments from shortcode to partial 2025-09-14 12:35:10 +02:00
Mark Dumay
353f5e2194 Merge pull request #1578 from gethinode/develop
Develop
2025-09-13 09:52:06 +02:00
Mark Dumay
cd301e2274 fix: correct regression error for site's title style 2025-09-13 09:32:22 +02:00
Mark Dumay
7fbeb7fa5a fix: override site's title size for contact body 2025-09-13 09:30:59 +02:00
Mark Dumay
80a8e6ca2f feat: support optional links in cards
Renders each link as a button with class `btn-social` next to the card's title.
2025-09-13 09:27:32 +02:00
Mark Dumay
64f892dca9 fix: bump dependencies 2025-09-13 09:14:21 +02:00
github-actions[bot]
5f1edc0643 Merge pull request #1576 from gethinode/dependabot/npm_and_yarn/stylelint-config-standard-scss-16.0.0
build(deps-dev): bump stylelint-config-standard-scss from 15.0.1 to 16.0.0
2025-09-13 06:47:22 +00:00
Mark Dumay
defd63142d Merge branch 'main' into dependabot/npm_and_yarn/stylelint-config-standard-scss-16.0.0 2025-09-13 08:41:42 +02:00
Mark Dumay
d0d1059774 Merge pull request #1577 from gethinode/develop
fix: exclude stylelint rule no-invalid-position-declaration for scrol…
2025-09-13 07:54:13 +02:00
Mark Dumay
f0fdda6960 Merge branch 'main' into develop 2025-09-13 07:48:23 +02:00
Mark Dumay
bd03786f02 fix: exclude stylelint rule no-invalid-position-declaration for scrollbar 2025-09-13 07:47:23 +02:00
dependabot[bot]
bbb976440e build(deps-dev): bump stylelint-config-standard-scss
Bumps [stylelint-config-standard-scss](https://github.com/stylelint-scss/stylelint-config-standard-scss) from 15.0.1 to 16.0.0.
- [Release notes](https://github.com/stylelint-scss/stylelint-config-standard-scss/releases)
- [Changelog](https://github.com/stylelint-scss/stylelint-config-standard-scss/blob/main/CHANGELOG.md)
- [Commits](https://github.com/stylelint-scss/stylelint-config-standard-scss/compare/v15.0.1...v16.0.0)

---
updated-dependencies:
- dependency-name: stylelint-config-standard-scss
  dependency-version: 16.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-12 13:07:31 +00:00
github-actions[bot]
d99d2ad436 Merge pull request #1574 from gethinode/dependabot/npm_and_yarn/semantic-release-24.2.8
build(deps-dev): bump semantic-release from 24.2.7 to 24.2.8
2025-09-11 13:22:36 +00:00
dependabot[bot]
6703dd4092 build(deps-dev): bump semantic-release from 24.2.7 to 24.2.8
Bumps [semantic-release](https://github.com/semantic-release/semantic-release) from 24.2.7 to 24.2.8.
- [Release notes](https://github.com/semantic-release/semantic-release/releases)
- [Commits](https://github.com/semantic-release/semantic-release/compare/v24.2.7...v24.2.8)

---
updated-dependencies:
- dependency-name: semantic-release
  dependency-version: 24.2.8
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 13:16:55 +00:00
github-actions[bot]
35891daf3c Merge pull request #1575 from gethinode/dependabot/npm_and_yarn/replace-in-files-cli-4.0.0
build(deps-dev): bump replace-in-files-cli from 3.0.0 to 4.0.0
2025-09-11 13:15:35 +00:00
dependabot[bot]
768c83d494 build(deps-dev): bump replace-in-files-cli from 3.0.0 to 4.0.0
Bumps [replace-in-files-cli](https://github.com/sindresorhus/replace-in-files-cli) from 3.0.0 to 4.0.0.
- [Release notes](https://github.com/sindresorhus/replace-in-files-cli/releases)
- [Commits](https://github.com/sindresorhus/replace-in-files-cli/compare/v3.0.0...v4.0.0)

---
updated-dependencies:
- dependency-name: replace-in-files-cli
  dependency-version: 4.0.0
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2025-09-11 13:08:23 +00:00
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
65 changed files with 692 additions and 321 deletions

View File

@@ -4,5 +4,6 @@ paths-ignore:
- '**/vendor'
- '**/critical/languageSelector.js'
- '**/critical/color.js'
- '**/clipboard.js'
- '**/navbar.js'
- '**/sharing.js'

View File

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

View File

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

View File

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

View File

@@ -21,6 +21,7 @@
// Standard version (Firefox, only appears on scroll)
@supports (-moz-appearance:none) {
/* stylelint-disable-next-line no-invalid-position-declaration */
scrollbar-color: $foreground-color $background-color;
}
}

View File

@@ -151,3 +151,17 @@ $utilities: map-merge(
)
)
);
.width-100 {
width: 100%;
}
$utilities: (
"width": (
property: width,
responsive: true,
values: (
auto: auto
)
)
);

View File

@@ -104,20 +104,27 @@
margin: 0 .15rem;
}
.navbar-title {
.navbar-title, .navbar-title-center, .navbar-title-start {
display: inline-block;
white-space: normal;
text-align: center !important;
vertical-align: middle;
padding: 0 $spacer;
width: 100% !important;
}
.navbar-title, .navbar-title-center {
text-align: center !important;
}
.navbar-contrast .nav-link.active, .navbar-contrast .nav-link.show, .navbar-contrast .nav-link:hover {
border-bottom: solid 1px var(--bs-navbar-hover-color);
margin-bottom: -1px;
}
.navbar-brand {
margin-right: 0;
}
.navbar-contrast {
--bs-navbar-color: white !important;
--bs-navbar-hover-color: white !important;
@@ -125,7 +132,7 @@
--bs-navbar-active-color: white !important;
--bs-navbar-toggler-color: white;
.navbar-title, .mode-switch {
.navbar-title, .navbar-brand, .mode-switch {
--#{$prefix}border-color: white;
color: white !important;
@@ -174,6 +181,29 @@
color: var(--bs-navbar-color);
}
.navbar .nav-item {
display: flex;
align-items: center;
white-space: nowrap;
}
.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 */
.navbar-toggler {
border: 0 if($enable-important-utilities, !important, null);
@@ -265,13 +295,10 @@
}
.navbar-container {
min-height: calc(2rem + 10px);
width: 100% !important;
}
.navbar-brand {
margin-right: 0;
}
@include media-breakpoint-up(#{$navbar-size}) {
:root {
--navbar-offset: #{$navbar-offset};

View File

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

View File

@@ -27,6 +27,8 @@ blueprint:
more:
title:
link:
link-type:
icon:
icon-rounded:
icon-style:
cols:
@@ -42,8 +44,12 @@ blueprint:
bento:
cover:
header-style:
body-style:
footer-style:
orientation:
class:
width:
justify:
fluid:
theme:
cover:

View File

@@ -49,9 +49,13 @@
{{ $moreButton := site.Params.modules.bookshop.articles.moreButton | default false }}
{{ $moreTitle := T "more" (pluralize $args.input.section) }}
{{ $moreLink := $args.input.section }}
{{ $moreType := "button" }}
{{ $moreIcon := "" }}
{{ with $args.more }}
{{ if .title }}{{ $moreTitle = .title }}{{ end }}
{{ if .link }}{{ $moreLink = .link }}{{ end }}
{{ if index . "link-type" }}{{ $moreType = index . "link-type" }}{{ end }}
{{ if .icon }}{{ $moreIcon = .icon }}{{ end }}
{{ end }}
{{ $paginate := $args.paginate }}
@@ -76,15 +80,13 @@
{{ $partial := "assets/card-group.html" }}
{{ $params := dict }}
{{- $params = merge $params (dict
"page" page
"list" $pages
"limit" $args.limit
"cols" $args.cols
"icon-rounded" $args.iconRounded
"icon-style" $args.iconStyle
"href" (cond $moreButton $moreLink "")
"href-title" (cond $moreButton $moreTitle "")
"href-force" (gt $result.total (len $result.pages))
"page" page
"list" $pages
"cols" $args.cols
"limit" $args.limit
"padding" $args.padding
"href" (cond $moreButton $moreLink "")
"href-force" (gt $result.total (len $result.pages))
)}}
{{ if $args.scroll }}
@@ -94,22 +96,26 @@
"body-style" "title"
"footer-style" "none"
"gutter" 1
"padding" 3
"ratio" "1x1"
"orientation" "horizontal-sm"
"styles" (cond $args.bento $styles "")
) -}}
{{ else }}
{{ $params = merge $params (dict
"header-style" $args.headerStyle
"footer-style" $args.footerStyle
"padding" $args.padding
"class" (or $args.class "border-0")
"align" "start"
"orientation" $args.orientation
"hook" "assets/live-card.html"
"pagination" $args.pagination
"paginate" $paginate
"header-style" $args.headerStyle
"body-style" $args.bodyStyle
"footer-style" $args.footerStyle
"class" (or $args.class "border-0")
"align" "start"
"orientation" $args.orientation
"href-title" (cond $moreButton $moreTitle "")
"icon-rounded" $args.iconRounded
"icon-style" $args.iconStyle
"hook" "assets/live-card.html"
"more-link-type" $moreType
"more-link-icon" $moreIcon
"pagination" $args.pagination
"paginate" $paginate
) -}}
{{ end }}
{{ if gt (len $pages) 0 }}

View File

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

View File

@@ -37,7 +37,9 @@ blueprint:
icon:
force:
align:
fluid:
padding:
order:
width:
fluid:
theme:
cover:

View File

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

View File

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

View File

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

View File

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

View File

@@ -23,4 +23,7 @@ blueprint:
subtle:
width:
justify:
data:
data:
fluid:
theme:
cover:

View File

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

View File

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

View File

@@ -27,20 +27,35 @@
{{- $resolved_component = $flat_component_path -}}
{{- end -}}
<!-- TODO: use initialized component args instead of component_props -->
{{ $error := false }}
{{ $args := dict }}
{{- 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" -}}
{{- $cover := index $component_props "cover" -}}
{{- $background := index $component_props "background" -}}
{{- $backdrop := "" -}}
{{- $fluid := index $component_props "fluid" | default true -}}
{{- $style := index $component_props "wrapper" -}}
{{- $wrapper := index $component_props "wrapper" -}}
{{- $width := index $component_props "width" -}}
{{- $justify := index $component_props "justify" | default "start" -}}
{{- $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) "" -}}
{{- $wrapper := $style }}
{{ with $background }}
{{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $style) }}
{{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $wrapper) }}
{{ if reflect.IsMap $background }}
{{ with $background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }}
{{ end }}
@@ -73,18 +88,21 @@
{{- end -}}
{{ $col := cond (and $width (lt $width 12)) (printf "col-12 col-md-%d" $width) "" }}
<div class="container-{{ cond $fluid "xxl" "fluid" }} {{ $padding }} d-flex flex-column align-items-{{ $justify }}">
{{ with $col }}
<div class="{{ . }}">{{ partial $resolved_component $component_props }}</div>
{{ else }}
{{ partial $resolved_component $component_props }}
{{ end}}
</div>
{{ if $args.passthrough }}
{{ partial $resolved_component $component_props }}
{{ else }}
<div class="container-{{ cond $fluid "xxl" "fluid" }} {{ $padding }} d-flex flex-column align-items-{{ $justify }}">
{{ with $col }}
<div class="{{ . }}">{{ partial $resolved_component $component_props }}</div>
{{ else }}
{{ partial $resolved_component $component_props }}
{{ end}}
</div>
{{ end }}
</section>
{{ if not $fluid }}</div>{{ end }}
{{ "<!--bookshop-live end-->" | safeHTML }}
{{- else -}}
{{- else if (not $args.err) -}}
{{- $file_loc := slicestr $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) -}}

View File

@@ -88,6 +88,8 @@
[navigation]
anchor = true
logo = "/img/logo_icon.svg"
logo-mode = false
logo-align = "center"
logo-height = 30
color = "body"
fixed = true

View File

@@ -69,6 +69,24 @@ arguments:
release: v0.27.0
button-label:
release: v1.0.0
more-link-type:
type: select
optional: true
default: button
comment: Style of the more button or link.
options:
values:
- button
- link
release: v1.16.0
more-link-icon:
type: string
optional: true
comment: >-
Icon to include. You can use shorthand notation such as `fas sort` to
include a Font Awesome icon. The argument also supports files with an
`.svg` or `.json` extension.
release: v1.16.0
# deprecated arguments
header:

View File

@@ -73,6 +73,8 @@ arguments:
group: partial
anchor:
release: v0.24.23
links:
release: v1.14.0
# deprecated arguments
header:
type: select

View File

@@ -25,6 +25,9 @@ arguments:
default: px-4 px-xxl-0 py-4
width:
default: 8
fluid:
theme:
hook:
default: assets/hero-image.html
heading-style:
content-style:

View File

@@ -79,6 +79,25 @@ arguments:
comment: >-
Address of the logo image, defaults to the parameter `logo` set in the
`main` section of the site's parameter configuration.
logo-align:
type: select
optional: true
default: center
comment: Alignment of the logo when the navbar is in collapsed mode.
options:
values:
- start
- center
release: v1.15.0
logo-mode:
type: bool
default: false
optional: true
comment: >-
Flag indicating if the logo should support color modes. If set, the
navbar searches for images having a matching color-mode suffix
such as `-light` or `-dark`.
release: v1.15.0
# deprecated arguments
size:
type: select

View File

@@ -7,3 +7,9 @@ arguments:
optional: false
comment: Context of the current page.
group: partial
show-label:
type: bool
optional: true
default: true
comment: Indicates if the element should include a label.
release: v1.15.3

View File

@@ -29,13 +29,16 @@ arguments:
optional: true
comment: Array of pages or structured content to be rendered as cards.
group: partial
limit:
max:
type: int
optional: true
comment: Maximum number of cards to display.
comment: Maximum number of elements to display.
group: partial
options:
min: 1
deprecated: v1.16.2
alternative: limit
cols:
type: select
optional: true
@@ -57,6 +60,9 @@ arguments:
Address for the button or hyperlink. If set, a button is added if the
list exceeds the maximum number of cards to display.
group: partial
href-force:
release: v1.16.2
group: partial
hrefTitle:
type: string
optional: true
@@ -87,4 +93,5 @@ arguments:
comment: >-
Styles to apply to the individual cards. Supported elements are `ratio`,
`orientation`, `portrait`, and `width`.
padding:
release: v1.16.2

View File

@@ -41,6 +41,8 @@
[navigation]
anchor = true
logo = "/img/logo_icon.svg"
logo-mode = false
logo-align = "center"
logo-height = 30
color = "body"
fixed = true

View File

@@ -221,6 +221,7 @@
"disabled",
"display-1",
"display-4",
"display-4pt-1",
"display-6",
"docs",
"docs-controls",
@@ -383,6 +384,7 @@
"me-1",
"me-3",
"me-auto",
"me-md-3",
"mermaid",
"middle-bar",
"mode-item",
@@ -431,6 +433,7 @@
"navbar-mode-selector",
"navbar-nav",
"navbar-nav-scroll",
"navbar-title-center",
"navbar-toggler",
"next",
"no-js",
@@ -599,10 +602,13 @@
"visually-hidden",
"vr",
"w-100",
"w-50"
"w-50",
"width-100",
"width-md-auto"
],
"ids": [
"abbr",
"about",
"accordion",
"accordion-0",
"accordion-0-heading-0",
@@ -614,11 +620,15 @@
"accordéon",
"alert",
"alerte",
"ander-project",
"animatie",
"animation",
"another-project",
"args",
"arguments",
"articles",
"articles-de-blog",
"autre-projet",
"background-type",
"badge",
"barre-de-navigation",
@@ -628,6 +638,7 @@
"body-docs-collapse-15",
"body-docs-collapse-16",
"body-file-collapse-1",
"bootstrap-elements",
"bouton",
"breadcrumb",
"btnTOCShowLess",
@@ -638,6 +649,7 @@
"callout",
"card",
"card-group",
"cards",
"carousel",
"carousel-0",
"carrousel",
@@ -650,24 +662,38 @@
"command-prompt",
"comment-nous-partageons-vos-informations",
"comment-utilisons-nous-les-cookies-",
"componenten",
"components",
"composents",
"container",
"content-blocks",
"cookie-policy",
"cookies-etc",
"cta",
"custom-activity",
"data-tables",
"derde-artikel",
"deuxième-article",
"docs",
"documentation",
"dropdown-nav-0",
"dropdown-panel-1cf9fa6c1b8db897289f1e58eca1ed2b",
"dropdown-panel-2112fcf4fa7219518b7b70498969a79b",
"dropdown-panel-2c61c8fd2a96d840748e5d5aa5e6ab20",
"dropdown-panel-94a8f41d03ff238aa65acebc1b274df7",
"dropdown-panel-dd79f20dce01073bc4b064a98deaff96",
"dropdown-panel-061524bba81f197181a032e904983272",
"dropdown-panel-0c0ddda05d377af1c0cee87f7c85da67",
"dropdown-panel-3c6a067cd80a10d3707200fc8fb84bb3",
"dropdown-panel-4b12c0f69625cb352e0aa7d846f960d8",
"dropdown-panel-6906624fe967e8dffbf4c3446a9e2385",
"dropdown-panel-7351d1dc85bcedcd74309f25472b7548",
"dropdown-panel-7784dd257dba6ab662963774a7bea03d",
"dropdown-panel-c62f4eeaa4277d5c14c486d5c8623ae1",
"dropdown-panel-cfcc43cbefc204c3c8c7487ef6347c27",
"dropdown-panel-d29649da522407a082335b726b32951c",
"eerste-artikel",
"elements-type",
"entity-relationship-diagram",
"example",
"examples",
"exemple",
"exemple-de-projet",
"fa-address-card",
"fa-face-frown",
"fa-folder",
@@ -680,11 +706,17 @@
"fab-medium",
"fab-whatsapp",
"fab-x-twitter",
"faq-40baa94f9dbf495433e3d6b5106aad41",
"faq-40baa94f9dbf495433e3d6b5106aad41-heading-faq-40baa94f9dbf495433e3d6b5106aad41",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-0",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-1",
"faq-40baa94f9dbf495433e3d6b5106aad41-item-2",
"faq",
"faq-b52462b6a4b2180e01ad67bc52618161",
"faq-b52462b6a4b2180e01ad67bc52618161-heading-faq-b52462b6a4b2180e01ad67bc52618161",
"faq-b52462b6a4b2180e01ad67bc52618161-item-0",
"faq-b52462b6a4b2180e01ad67bc52618161-item-1",
"faq-b52462b6a4b2180e01ad67bc52618161-item-2",
"faq-f38df4740b059c9b2b0e1b696e843ede",
"faq-f38df4740b059c9b2b0e1b696e843ede-heading-faq-f38df4740b059c9b2b0e1b696e843ede",
"faq-f38df4740b059c9b2b0e1b696e843ede-item-0",
"faq-f38df4740b059c9b2b0e1b696e843ede-item-1",
"faq-f38df4740b059c9b2b0e1b696e843ede-item-2",
"fas-1",
"fas-2",
"fas-3",
@@ -724,13 +756,14 @@
"fichier",
"fil-dariane",
"file",
"first-panel",
"first-post",
"flowchart",
"footer-docs-collapse-15",
"footer-docs-collapse-16",
"footer-file-collapse-1",
"formula-katex",
"formule-katex",
"fourth-post-excluded-from-search",
"gantt-diagram",
"gegevenstabellen",
"git-graph",
@@ -739,6 +772,7 @@
"gérer-les-préférences-des-cookies",
"heading",
"heading-type",
"hero",
"horizontal-cards-with-an-icon",
"horizontal-cards-with-an-image",
"how-do-we-use-cookies",
@@ -747,6 +781,7 @@
"illustration-type",
"image",
"imagekitio",
"images-locales-et-distantes",
"imgix",
"indicateur-de-chargement",
"infobulle",
@@ -763,6 +798,7 @@
"liens-vers-des-tiers-et-utilisation-de-vos-informations",
"link",
"links-type",
"local-and-remote-images",
"lottie-animation-0",
"manage-cookie-preferences",
"map",
@@ -779,11 +815,16 @@
"nav-0-btn-1",
"nav-0-btn-2",
"nav-nav-0",
"nav-panel-1cf9fa6c1b8db897289f1e58eca1ed2b",
"nav-panel-2112fcf4fa7219518b7b70498969a79b",
"nav-panel-2c61c8fd2a96d840748e5d5aa5e6ab20",
"nav-panel-94a8f41d03ff238aa65acebc1b274df7",
"nav-panel-dd79f20dce01073bc4b064a98deaff96",
"nav-panel-061524bba81f197181a032e904983272",
"nav-panel-0c0ddda05d377af1c0cee87f7c85da67",
"nav-panel-3c6a067cd80a10d3707200fc8fb84bb3",
"nav-panel-4b12c0f69625cb352e0aa7d846f960d8",
"nav-panel-6906624fe967e8dffbf4c3446a9e2385",
"nav-panel-7351d1dc85bcedcd74309f25472b7548",
"nav-panel-7784dd257dba6ab662963774a7bea03d",
"nav-panel-c62f4eeaa4277d5c14c486d5c8623ae1",
"nav-panel-cfcc43cbefc204c3c8c7487ef6347c27",
"nav-panel-d29649da522407a082335b726b32951c",
"navbar",
"navbar-0-collapse",
"navbar-mode",
@@ -791,51 +832,91 @@
"navbar-sample-collapse",
"navigation",
"notification",
"over-mij",
"overview",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-0",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-1",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-2",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-0",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-1",
"panel-1cf9fa6c1b8db897289f1e58eca1ed2b-btn-2",
"panel-2112fcf4fa7219518b7b70498969a79b-0",
"panel-2112fcf4fa7219518b7b70498969a79b-1",
"panel-2112fcf4fa7219518b7b70498969a79b-2",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-0",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-1",
"panel-2112fcf4fa7219518b7b70498969a79b-btn-2",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-0",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-1",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-2",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-0",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-1",
"panel-2c61c8fd2a96d840748e5d5aa5e6ab20-btn-2",
"panel-94a8f41d03ff238aa65acebc1b274df7-0",
"panel-94a8f41d03ff238aa65acebc1b274df7-1",
"panel-94a8f41d03ff238aa65acebc1b274df7-2",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-0",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-1",
"panel-94a8f41d03ff238aa65acebc1b274df7-btn-2",
"panel-dd79f20dce01073bc4b064a98deaff96-0",
"panel-dd79f20dce01073bc4b064a98deaff96-1",
"panel-dd79f20dce01073bc4b064a98deaff96-2",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-0",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-1",
"panel-dd79f20dce01073bc4b064a98deaff96-btn-2",
"panel-061524bba81f197181a032e904983272-0",
"panel-061524bba81f197181a032e904983272-1",
"panel-061524bba81f197181a032e904983272-2",
"panel-061524bba81f197181a032e904983272-btn-0",
"panel-061524bba81f197181a032e904983272-btn-1",
"panel-061524bba81f197181a032e904983272-btn-2",
"panel-0c0ddda05d377af1c0cee87f7c85da67-0",
"panel-0c0ddda05d377af1c0cee87f7c85da67-1",
"panel-0c0ddda05d377af1c0cee87f7c85da67-2",
"panel-0c0ddda05d377af1c0cee87f7c85da67-btn-0",
"panel-0c0ddda05d377af1c0cee87f7c85da67-btn-1",
"panel-0c0ddda05d377af1c0cee87f7c85da67-btn-2",
"panel-3c6a067cd80a10d3707200fc8fb84bb3-0",
"panel-3c6a067cd80a10d3707200fc8fb84bb3-1",
"panel-3c6a067cd80a10d3707200fc8fb84bb3-2",
"panel-3c6a067cd80a10d3707200fc8fb84bb3-btn-0",
"panel-3c6a067cd80a10d3707200fc8fb84bb3-btn-1",
"panel-3c6a067cd80a10d3707200fc8fb84bb3-btn-2",
"panel-4b12c0f69625cb352e0aa7d846f960d8-0",
"panel-4b12c0f69625cb352e0aa7d846f960d8-1",
"panel-4b12c0f69625cb352e0aa7d846f960d8-2",
"panel-4b12c0f69625cb352e0aa7d846f960d8-btn-0",
"panel-4b12c0f69625cb352e0aa7d846f960d8-btn-1",
"panel-4b12c0f69625cb352e0aa7d846f960d8-btn-2",
"panel-6906624fe967e8dffbf4c3446a9e2385-0",
"panel-6906624fe967e8dffbf4c3446a9e2385-1",
"panel-6906624fe967e8dffbf4c3446a9e2385-2",
"panel-6906624fe967e8dffbf4c3446a9e2385-btn-0",
"panel-6906624fe967e8dffbf4c3446a9e2385-btn-1",
"panel-6906624fe967e8dffbf4c3446a9e2385-btn-2",
"panel-7351d1dc85bcedcd74309f25472b7548-0",
"panel-7351d1dc85bcedcd74309f25472b7548-1",
"panel-7351d1dc85bcedcd74309f25472b7548-2",
"panel-7351d1dc85bcedcd74309f25472b7548-btn-0",
"panel-7351d1dc85bcedcd74309f25472b7548-btn-1",
"panel-7351d1dc85bcedcd74309f25472b7548-btn-2",
"panel-7784dd257dba6ab662963774a7bea03d-0",
"panel-7784dd257dba6ab662963774a7bea03d-1",
"panel-7784dd257dba6ab662963774a7bea03d-2",
"panel-7784dd257dba6ab662963774a7bea03d-btn-0",
"panel-7784dd257dba6ab662963774a7bea03d-btn-1",
"panel-7784dd257dba6ab662963774a7bea03d-btn-2",
"panel-c62f4eeaa4277d5c14c486d5c8623ae1-0",
"panel-c62f4eeaa4277d5c14c486d5c8623ae1-1",
"panel-c62f4eeaa4277d5c14c486d5c8623ae1-2",
"panel-c62f4eeaa4277d5c14c486d5c8623ae1-btn-0",
"panel-c62f4eeaa4277d5c14c486d5c8623ae1-btn-1",
"panel-c62f4eeaa4277d5c14c486d5c8623ae1-btn-2",
"panel-cfcc43cbefc204c3c8c7487ef6347c27-0",
"panel-cfcc43cbefc204c3c8c7487ef6347c27-1",
"panel-cfcc43cbefc204c3c8c7487ef6347c27-2",
"panel-cfcc43cbefc204c3c8c7487ef6347c27-btn-0",
"panel-cfcc43cbefc204c3c8c7487ef6347c27-btn-1",
"panel-cfcc43cbefc204c3c8c7487ef6347c27-btn-2",
"panel-d29649da522407a082335b726b32951c-0",
"panel-d29649da522407a082335b726b32951c-1",
"panel-d29649da522407a082335b726b32951c-2",
"panel-d29649da522407a082335b726b32951c-btn-0",
"panel-d29649da522407a082335b726b32951c-btn-1",
"panel-d29649da522407a082335b726b32951c-btn-2",
"panels",
"persona",
"pie-chart",
"pills",
"politique-de-confidentialité",
"politique-de-cookies",
"premier-article",
"privacy-policy",
"projecten",
"projects",
"projets",
"publication",
"quadrant-chart",
"quatrième-article-exclu-de-la-recherche",
"que-sont-les-cookies-",
"release",
"releases",
"requirement-chart",
"réduire",
"second-panel",
"sample-project",
"second-post",
"security",
"separator",
"sequence-diagram",
"shortcode-with-controls-and-frontmatter",
"spinner",
@@ -847,8 +928,8 @@
"sécurité",
"table",
"tabs",
"third-panel",
"third-party-links--use-of-your-information",
"third-post",
"timeline",
"title",
"toast",
@@ -860,19 +941,26 @@
"toc-collapse",
"toc-collapse-items",
"tooltip",
"troisième-article",
"tweede-artikel",
"types-de-cookies-que-nous-utilisons",
"types-of-cookies-we-use",
"underline",
"user-journey",
"video",
"video-message",
"video-type",
"vidéo",
"vierde-artikel",
"voorbeeldproject",
"vos-droits",
"welcome-to-hinode",
"welkom-bij-hinode",
"what-are-cookies",
"xy-chart",
"your-rights"
"your-rights",
"à-propos",
"éléments-bootstrap"
]
}
}

8
go.mod
View File

@@ -3,8 +3,8 @@ module github.com/gethinode/hinode
go 1.19
require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4 // indirect
github.com/airbnb/lottie-web v5.13.0+incompatible // indirect
github.com/cloudcannon/bookshop/hugo/v3 v3.16.5 // indirect
github.com/gethinode/mod-bootstrap v1.3.4 // indirect
github.com/gethinode/mod-csp v1.0.8 // indirect
github.com/gethinode/mod-flexsearch/v3 v3.0.0 // indirect
@@ -15,7 +15,7 @@ require (
github.com/gethinode/mod-lottie v1.6.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-utils/v4 v4.13.0 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect
github.com/gethinode/mod-utils/v4 v4.18.0 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 // indirect
github.com/twbs/bootstrap v5.3.8+incompatible // indirect
)

22
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/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/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPyShOe1EnZxXzW3RVo=
@@ -10,6 +12,8 @@ github.com/cloudcannon/bookshop/hugo/v3 v3.16.3 h1:/Z66xKILl1SNGQePHZCnxo6vFgED7
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4 h1:k233xdD3ydE6iN8QB+c37//rSsFVtLIo5OUNRN4E3bc=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.4/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.5 h1:RmqeSUQMPyi31YC6SaFNE2ubfFy13qVj5/lo+MCT+u8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.5/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/gethinode/mod-bootstrap v1.0.1 h1:NDZar+UEL42YHCvzzO+jVgqkZU5INA12BpjX3y6U4I4=
github.com/gethinode/mod-bootstrap v1.0.1/go.mod h1:DcpPc2cNaXUPGEvhD7npuEEPA7573NvakTlrwFbyjr8=
github.com/gethinode/mod-bootstrap v1.1.0 h1:BbalsW8kmFhv+J+dcc41TGcjIlM/p69AB0h0oGhAXIU=
@@ -502,6 +506,20 @@ 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.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.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/gethinode/mod-utils/v4 v4.16.0 h1:yroLCeQyE/xU46YIKS81ZtFsOONTmVudrv2qW7IBH5Q=
github.com/gethinode/mod-utils/v4 v4.16.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.16.1 h1:HjV6TONU7ZbXC2xZIPRupjKOUORddtQH8bb4dnULY1U=
github.com/gethinode/mod-utils/v4 v4.16.1/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.17.0 h1:nDyXpZ0mCtf3ZML8G6bjeYJsI7Ne/Ze8rEWEa9zh6CI=
github.com/gethinode/mod-utils/v4 v4.17.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.18.0 h1:CLxuPCbsQBGVgAM1x5nmh6V0HJoOcltIfKG9sthpsTk=
github.com/gethinode/mod-utils/v4 v4.18.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/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=
@@ -524,6 +542,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-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-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/go.mod h1:fZTSrkpSf0/HkL0IIJzvVspTt1r9zuf7XlZau8kpcY0=
github.com/twbs/bootstrap v5.3.3+incompatible h1:goFoqinzdHfkeegpFP7pvhbd0g+A3O2hbU3XCjuNrEQ=

View File

@@ -1,17 +0,0 @@
{{ $text := chomp .Text }}
{{ if site.Params.main.titleCase }}{{ $text = title $text }}{{ end }}
{{ if eq page.RelPermalink "/en/privacy/" }}
{{ warnf "title: %s" (.Text | safeHTML) }}
{{ end }}
{{ if and site.Params.navigation.anchor $text }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="heading">
{{- $text | safeHTML -}}
<a href="#{{ .Anchor | safeURL }}" aria-labelledby="{{ .Anchor | safeURL }}">
{{- partial "assets/icon.html" (dict "icon" "fas link anchor") }}
</a>
</h{{ .Level }}>
{{ else }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ $text | safeHTML }}</h{{ .Level }}>
{{ end }}

View File

@@ -1,13 +1,14 @@
{{ $class := .Attributes.class }}
{{ $text := chomp .Text }}
{{ if site.Params.main.titleCase }}{{ $text = (title ($text | htmlUnescape)) | htmlEscape }}{{ end }}
{{ if and site.Params.navigation.anchor $text }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="heading">
<h{{ .Level }} id="{{ .Anchor | safeURL }}" class="heading {{ with $class }}{{ . }}{{ end }}">
{{- $text | safeHTML -}}
<a href="#{{ .Anchor | safeURL }}" aria-labelledby="{{ .Anchor | safeURL }}">
{{- partial "assets/icon.html" (dict "icon" "fas link anchor") }}
</a>
</h{{ .Level }}>
{{ else }}
<h{{ .Level }} id="{{ .Anchor | safeURL }}">{{ $text | safeHTML }}</h{{ .Level }}>
<h{{ .Level }} id="{{ .Anchor | safeURL }}" {{ with $class }} class="{{ . }}"{{ end }}>{{ $text | safeHTML }}</h{{ .Level }}>
{{ end }}

View File

@@ -171,7 +171,7 @@
{{- $cardWrapper = printf "card-block card-block-%d" (int $size) -}}
{{- end -}}
{{/*add col-$width */}}
{{/* add col-$width */}}
<div class="{{ with $cardWrapper }}{{ . }}{{ else }}col{{ end }}">
{{- if $args.spacer -}}<div class="spacer"></div>{{ end -}}
{{- partial $args.hook $params -}}
@@ -197,9 +197,14 @@
{{- $href = printf "%s/" $href -}}
{{- end -}}
<div class="mt-{{ $padding.y }} w-100">
<a class="btn btn-outline-primary" href="{{ $href | safeURL }}" role="button">
{{ $args.hrefTitle }}
</a>
{{ partial "assets/button.html" (dict
"href" $href
"title" $args.hrefTitle
"color" "primary"
"outline" true
"link-type" $args.moreLinkType
"icon" $args.moreLinkIcon
) }}
</div>
{{- end -}}
{{- end -}}

View File

@@ -6,17 +6,38 @@
{{ $error := false }}
{{- define "_partials/inline/card-icons.html" -}}
{{ $links := .links }}
<span class="text-body-secondary">
{{- range $index, $item := $links -}}
{{ partial "assets/button.html" (dict
"href" $item.url
"icon" (printf "%s fa-fw" $item.icon)
"class" "btn-social p-0"
"label" $item.title
"spacing" false
) }}
{{- end -}}
</span>
{{- end -}}
{{/* Inline partial to render the card's body */}}
{{- define "_partials/inline/card-body.html" -}}
{{- $title := .title -}}
{{- $href := .href -}}
{{- $color := .color -}}
{{- $description := .description -}}
{{- $button := .button -}}
{{- $links := .links -}}
{{- if $href -}}
<a href="{{ $href }}" class="{{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }} stretched-link">
<p class="card-title fs-lg-5 fs-6">{{ $title }}</p>
{{ if or $title $links }}
<p class="card-title fs-lg-5 fs-6">
{{- with $title }}{{ . }}{{ end }}
{{ with $links }}{{ partial "inline/card-icons.html" (dict "links" .) }}{{ end -}}
</p>
{{ end -}}
{{ with $description }}
<div class="card-text {{ if $color }}link-bg-{{ $color }}{{ else }}card-body-link{{ end }}">
{{ . | safeHTML }}
@@ -25,7 +46,12 @@
</a>
{{- else -}}
<div>
{{ with $title }}<p class="card-title fs-lg-5 fs-6">{{ . }}</p>{{ end -}}
{{ if or $title $links }}
<p class="card-title fs-lg-5 fs-6">
{{- with $title }}{{ . }}{{ end }}
{{ with $links }}{{ partial "inline/card-icons.html" (dict "links" .) }}{{ end -}}
</p>
{{ end -}}
{{ with $description }}<div class="card-text">{{ . | safeHTML }}</div>{{ end -}}
</div>
{{- end -}}
@@ -154,8 +180,8 @@
{{ end }}
{{- if eq $args.orientation "none" }}{{ $thumbnail = "" }}{{ $icon = "" }}{{ end -}}
{{- if eq $args.body "title" }}{{ $description = "" }}{{ end -}}
{{- if eq $args.body "none" }}{{ $title = "" }}{{ $description = "" }}{{ end -}}
{{- if or (eq $args.bodyStyle "title") (eq $args.body "title") }}{{ $description = "" }}{{ end -}}
{{- if or (eq $args.bodyStyle "none") (eq $args.body "none") }}{{ $title = "" }}{{ $description = "" }}{{ end -}}
{{ if site.Params.main.titleCase }}{{ $title = title $title }}{{ end }}
{{- $thumbnailArgs := dict
@@ -228,7 +254,7 @@
"href" $href
"color" $args.color
"description" $description
"button" $args.button
"links" $args.links
) -}}
{{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.footerStyle "color" $args.color) }}</div>{{ end }}
{{ if and $href $args.button }}
@@ -275,7 +301,13 @@
<div class="card-body p-0 d-flex flex-column{{ if $thumbnail }} p-{{ $args.padding }}{{ end }}{{ if $overlay }}card-img-overlay card-overlay-gradient p-4{{ end }}" {{ if $overlay }}data-bs-theme="dark"{{ end }}>
{{ if $args.overlay }}<div class="flex-grow-1"></div>{{ end }}
{{ if $page }}{{- partial "inline/card-caption.html" (dict "page" $page "keywords" $args.headerStyle "color" $args.color) -}}{{ end }}
{{- partial "inline/card-body.html" (dict "title" $title "href" $href "color" $args.color "description" $description) -}}
{{- partial "inline/card-body.html" (dict
"title" $title
"href" $href
"color" $args.color
"description" $description
"links" $args.links
) -}}
{{ if $page }}{{- partial "inline/card-caption.html" (dict "page" $page "keywords" $args.footerStyle "color" $args.color) -}}{{ end }}
</div>
{{ if $args.button }}

View File

@@ -50,17 +50,18 @@
{{ end }}
{{ partial "assets/hero.html" (dict
"page" $args.page
"heading" (merge $heading (dict "size" 6))
"background" $args.background
"illustration" $illustration
"order" $args.order
"link-type" $args.linkType
"links" $args.links
"orientation" $args.orientation
"width" (or $args.width 12)
"use-title" true
"size" 6
"page" $args.page
"heading" (merge $heading (dict "size" 6))
"background" $args.background
"illustration" $illustration
"order" $args.order
"link-type" $args.linkType
"links" $args.links
"orientation" $args.orientation
"width" (or $args.width 12)
"use-title" true
"size" 6
"content-style" "text-muted fs-5"
)
}}
{{ end }}

View File

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

View File

@@ -35,7 +35,7 @@
{{- $isActive := or (and (eq $pageURL $menuURL) (ne $menuURL ("/" | relLangURL))) (eq $pageURL $menuURL) -}}
{{ if not $menu.PageRef }}{{ $isActive = false }}{{ end }}
{{- $isAlias := $menu.Params.alias -}}
{{- $isIcon := $menu.Params.icon -}}
{{- $isIcon := or $menu.Params.icon $menu.Pre -}}
{{- $url := urls.Parse $menuURL -}}
{{- $baseURL := urls.Parse $.Site.Params.Baseurl -}}
@@ -112,13 +112,13 @@
{{ end }}
{{ 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>
{{ if not $isIcon }}
<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>

View File

@@ -11,7 +11,7 @@
{{ if $menu.Params.spacing }}
<li class="nav-item flex-grow-1"></li>
{{ 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) -}}
{{- if .HasChildren -}}
<ul class="dropdown-menu{{ if $control }} dropdown-menu-end{{ end }}">

View File

@@ -75,6 +75,7 @@
{{ else }}
{{ $imageJustify = $align }}
{{ end }}
{{ with $args.illustration.justify }}{{ $imageJustify = . }}{{ end }}
{{ if $args.icon }}{{ $imageWrapper = $iconWrapper }}{{ end }}
@@ -112,13 +113,16 @@
{{ end }}
{{ $title := partial "assets/section-title.html" (dict
"heading" $heading
"use-title" $args.useTitle
"links" $args.links
"link-type" (or $args.linkType $args.type)
"class" "hero-title"
"arrangement" $arrangement
"justify" $args.justify
"heading" $heading
"use-title" $args.useTitle
"links" $args.links
"link-type" (or $args.linkType $args.type)
"class" "hero-title"
"arrangement" $arrangement
"justify" $args.justify
"heading-style" $args.headingStyle
"content-style" $args.contentStyle
) }}
{{ if eq $args.orientation "stacked" }}

View File

@@ -99,5 +99,5 @@
</div>
<div class="d-{{ $breakpoint.current }}-none pt-{{ $padding.y }}">
{{ partial "links-content.html" (dict "links" $args.links "justify" $args.justify "type" $args.linkType "li" true) }}
{{ partial "links-content.html" (dict "links" $args.links "justify" $args.justify "type" $args.linkType "li" false) }}
</div>

View File

@@ -78,9 +78,29 @@
{{- end -}}
{{ $logo := "" }}
{{ with $args.logo | default site.Params.navigation.logo }}
{{ $height := index site.Params.navigation "logo-height" | default 30 }}
{{ $logo = partial "assets/image.html" (dict "src" . "loading" "eager" "title" $title "image-height" $height) }}
{{ $mode := index site.Params.navigation "logo-mode" | default false }}
{{ if (not (in $args.default "logo-mode")) }}
{{ $mode = $args.logoMode }}
{{ end }}
{{ $align := index site.Params.navigation "logo-align" | default "center" }}
{{ if (not (in $args.default "logo-align")) }}
{{ $align = $args.logoAlign }}
{{ end }}
{{ if not $args.title }}
{{ with $args.logo | default site.Params.navigation.logo }}
{{ $height := index site.Params.navigation "logo-height" | default 30 }}
{{ $class := cond (eq $align "start") "my-auto" "m-auto" }}
{{ $logo = partial "assets/image.html" (dict
"src" .
"loading" "eager"
"title" $title
"image-height" $height
"mode" $mode
"class" (printf "h-100 %s" $class)
) }}
{{ end }}
{{ end }}
{{- $class := $args.class -}}
@@ -107,26 +127,29 @@
{{ end }}
>
<div class="container-xxl p-0">
<div class="d-flex navbar-container justify-content-center">
{{/* Insert sidebar toggler when applicable */}}
<div class="d-flex align-items-center">
{{- if $page.Scratch.Get "sidebar" -}}
<button class="navbar-toggler collapsed p-0 mx-auto fw-30" type="button" data-bs-toggle="offcanvas"
data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
</button>
{{- else -}}
{{/* Insert invisible sidebar toggler to center logo correctly on smaller screens */}}
<button class="navbar-toggler collapsed p-0 mx-auto invisible fw-30" type="button">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
</button>
{{- end -}}
</div>
<div class="d-flex navbar-container">
{{/* Insert sidebar toggler or placeholder when applicable */}}
{{ $sidebar := $page.Scratch.Get "sidebar" }}
{{- if or $sidebar (eq $align "center") -}}
<div class="d-flex align-items-center">
{{- if $sidebar -}}
<button class="navbar-toggler collapsed p-0 mx-auto fw-30" type="button" data-bs-toggle="offcanvas"
data-bs-target="#offcanvass-sidebar" aria-controls="offcanvass-sidebar" aria-label="{{ T "toggleSidebar" }}">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
</button>
{{- else if eq $align "center" -}}
{{/* Insert invisible sidebar toggler to center logo correctly on smaller screens */}}
<button class="navbar-toggler collapsed p-0 mx-auto invisible fw-30" type="button">
{{- partial "assets/icon.html" (dict "icon" "fas ellipsis fa-fw" "spacing" false) -}}
</button>
{{- end -}}
</div>
{{ end }}
{{/* Insert the brand logo or name */}}
<div class="{{ if $logo }}mx-auto{{ else }}flex-grow-1 flex-{{ $args.breakpoint }}-grow-0{{ end }}">
<div class="width-100 width-{{ $args.breakpoint }}-auto {{ if not $logo }}my-auto {{ end }} {{ if eq $align "center" }}text-center{{ end }}">
<a class="navbar-brand" href="{{ site.Home.RelPermalink }}" aria-label="{{ T "home" }}">
{{- with $logo -}}{{ . }}{{- else -}}<div class="navbar-title fw-bold h-100">{{ $title }}</div>{{- end -}}
{{- with $logo -}}{{ . }}{{- else -}}<div class="p-0 navbar-title-{{ $align }} fw-bold h-100">{{ $title }}</div>{{- end -}}
</a>
</div>
@@ -145,7 +168,7 @@
<div class="navbar-collapse collapse" id="{{ $id }}-collapse">
{{/* Insert search input */}}
{{- 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 -}}
<ul class="navbar-nav navbar-nav-scroll {{ if $flex }}d-flex w-100{{ else }}ms-auto{{ end }}">

View File

@@ -19,10 +19,10 @@
{{- $padding := partial "utilities/GetPadding.html" -}}
{{/* Initialize local arguments */}}
{{- $size := (or $args.heading.size site.Params.modules.bookshop.title.size) | default 4 -}}
{{- $arrangement := (or $args.arrangement site.Params.modules.bookshop.title.arrangement) | default "above" -}}
{{- $headingStyle := (or $args.headingStyle site.Params.modules.bookshop.title.headingStyle) | default "display" -}}
{{- $contentStyle := (or $args.contentStyle site.Params.modules.bookshop.title.contentStyle) | default "lead text-muted" -}}
{{- $size := (or $args.heading.size site.Params.style.title.size) | default 4 -}}
{{- $arrangement := (or $args.arrangement site.Params.style.title.arrangement) | default "above" -}}
{{- $headingStyle := (or $args.headingStyle site.Params.style.title.headingStyle) | default "display" -}}
{{- $contentStyle := (or $args.contentStyle site.Params.style.title.contentStyle) | default "lead text-muted" -}}
{{- $preheading := $args.heading.preheading }}
{{- $title := $args.heading.title }}
{{- $width := $args.heading.width | default 12 -}}

View File

@@ -45,7 +45,7 @@
{{- end -}}
<div class="py-3 text-body-secondary hstack gap-1">
{{ T "shareLink" " " }}
{{ if $args.showLabel }}{{ T "shareLink" " " }}{{ end }}
{{- range $index, $item := $list -}}
{{- $url := $item.url -}}
{{- $url = replace $url "{url}" $page.Permalink -}}
@@ -71,9 +71,10 @@
{{- end -}}
{{ if $page.Site.Params.sharing.webshare }}
{{ $attr := dict "data-sharing-title" $page.Title "data-sharing-description" $page.Description "data-sharing-url" $page.Permalink }}
{{ $icon := index $page.Site.Params.sharing "webshare-icon" | default "fas share-nodes"}}
{{ partial "assets/button.html" (dict
"href" ""
"icon" "fas share-nodes fa-fw"
"icon" (printf "%s fa-fw" $icon)
"class" "btn-social p-0"
"attributes" $attr
"label" (T "shareLink" (T "shareSystem"))

View File

@@ -24,26 +24,27 @@
{{ $params := dict
"page" $args.page
"list" $args.list
"max" $args.max
"limit" (or $args.limit $args.max)
"class" "border-0 card-zoom"
"header-style" "none"
"body-style" "title"
"footer-style" "none"
"href" $args.href
"href-title" $args.hrefTitle
"link-type" (or $args.linkType $args.buttonType)
"href" $args.href
"href-force" $args.hrefForce
"href-title" $args.hrefTitle
"link-type" (or $args.linkType $args.buttonType)
}}
{{- partial "assets/card-group.html" (merge $params
(dict
"cols" $args.cols
"gutter" $args.gutter
"padding" 3
"padding" $args.padding
"orientation" "stacked"
"scroll" true
"bento" true
"spacer" $args.animated
"portrait" true
"portrait" false
"valign" (cond $args.animated "" "end")
"styles" $args.styles
"wrapper" "card-stack p-0 my-3 d-none d-md-block"

View File

@@ -29,5 +29,6 @@
"parent" $args.parent
"render-type" $args.renderType
"header-level" $args.headerLevel
"_default" $args.default
) -}}
{{- end -}}

View File

@@ -57,6 +57,7 @@
"tab" $args.tab
"toast-id" (or $args.toastId $args.toast)
"spacing" $spacing
"_default" $args.default
) -}}
{{ with $args.wrapper }}

View File

@@ -78,5 +78,6 @@
"link-type" $buttonType
"icon-rounded" $iconRounded
"scroll" $scroll
"_default" $args.default
)
-}}

View File

@@ -94,6 +94,7 @@
"alt" $alt
"button" $button
"link-type" $linkType
"_default" $args.default
) -}}
{{/* Pass output to parent or current stream */}}

View File

@@ -43,5 +43,6 @@
"anchor" $args.anchor
"loading" $args.loading
"page" .Page
"_default" $args.default
) -}}
{{- end -}}

View File

@@ -32,7 +32,7 @@
"caption" $args.caption
"ratio" $ratio
"portrait" $portrait
"loading" $args.loading
"loading" $args.loading
) }}
{{ $current := .Parent.Scratch.Get "inner" }}

View File

@@ -36,5 +36,6 @@
"class" $args.class
"page" .Page
"position" .Position
"_default" $args.default
) }}
{{- end -}}

View File

@@ -46,6 +46,7 @@
"body" $body
"show" $args.show
"disabled" $args.disabled
"_default" $args.default
)
-}}
@@ -74,6 +75,7 @@
"show" $args.show
"disabled" $args.disabled
"navitem-type" "accordion"
"_default" $args.default
)
-}}

View File

@@ -43,6 +43,7 @@
"class" $args.class
"pane" $args.pane
"width" $args.width
"_default" $args.default
)
-}}
{{- end -}}

View File

@@ -41,8 +41,10 @@
"mode" $args.mode
"menus" $args.menus
"logo" $args.logo
"logo-mode" $args.logoMode
"title" $args.title
"class" $args.class
"_default" $args.default
)
-}}
{{ end -}}

View File

@@ -39,5 +39,6 @@
"href" $args.href
"content" $content
"thumbnail" $args.thumbnail
"_default" $args.default
) -}}
{{- end -}}

View File

@@ -30,5 +30,6 @@
"pagingOptionPageSelect" $args.pagingOptionPageSelect
"searchable" $args.searchable
"wrap" $args.wrap
"_default" $args.default
) }}
{{ end }}

View File

@@ -32,5 +32,5 @@
{{/* Main code */}}
{{ if not $error }}
{{ partial "assets/timeline.html" (dict "page" $page "data" $args.data "background" $args.background) }}
{{ partial "assets/timeline.html" (dict "page" $page "data" $args.data "background" $args.background "_default" $args.default) }}
{{ end }}

View File

@@ -33,8 +33,9 @@
{{ if not $error -}}
{{ partial "assets/toast.html" (dict
"id" $id
"title" (or $args.title $args.header)
"message" $message
"class" $args.class
"title" (or $args.title $args.header)
"message" $message
"class" $args.class
"_default" $args.default
) }}
{{ end -}}

View File

@@ -29,5 +29,6 @@
"title" $args.title
"autoplay" $args.autoplay
"autotitle" $args.autotitle
"_default" $args.default
) }}
{{ end -}}

View File

@@ -28,5 +28,6 @@
"title" (or $args.title "Vimeo Video")
"autoplay" $args.autoplay
"autotitle" $args.autotitle
"_default" $args.default
) }}
{{ end -}}

View File

@@ -28,5 +28,6 @@
"title" (or $args.title "YouTube Video")
"autoplay" $args.autoplay
"autotitle" $args.autotitle
"_default" $args.default
) }}
{{ end -}}

View File

@@ -1,3 +1,9 @@
{{/* Initialize global variables */}}
{{- $size := site.Params.style.title.size | default 4 -}}
{{- $headingStyle := site.Params.style.title.headingStyle | default "display" -}}
{{- $contentStyle := site.Params.style.title.contentStyle | default "lead text-muted" -}}
{{- $padding := partial "utilities/GetPadding.html" -}}
{{/* Initialize local variables */}}
{{- $breakpoint := $.Scratch.Get "breakpoint" -}}
{{- $metadata := "full" -}}
@@ -21,7 +27,8 @@
{{ if .Site.Params.navigation.breadcrumb }}{{ partial "assets/breadcrumb.html" (dict "page" .) }}{{ end -}}
{{/* Display title and metadata */}}
{{ with $title }}<p class="display-4 mt-5">{{ . }}</p>{{ end }}
{{ with $title }}<h1 id="{{ anchorize . }}" class="{{ $headingStyle }}-{{ $size }} pt-1">{{ . }}</h1>{{ end }}
{{ if ne $metadata "none" }}
<small class="text-body-secondary text-uppercase">
{{ if .Date }}
@@ -64,7 +71,9 @@
{{ partial "assets/sharing.html" (dict "page" .) }}
{{/* Display description */}}
<p class="lead mb-5 mt-3">{{ .Description }}</p>
{{ with .Description }}
<div class="{{ $contentStyle }} py-{{ $padding.y }}">{{ . | page.RenderString | safeHTML }}</div>
{{ end }}
{{/* Display TOC dropdown on smaller screens */}}
{{- if and .Site.Params.navigation.toc .Params.includeToc | default true -}}

201
package-lock.json generated
View File

@@ -13,7 +13,7 @@
"autoprefixer": "^10.4.21",
"cssnano": "^7.1.1",
"cssnano-preset-advanced": "^7.0.9",
"hugo-bin": "0.145.2",
"hugo-bin": "0.147.0",
"purgecss-whitelister": "^2.4.0"
},
"devDependencies": {
@@ -25,19 +25,19 @@
"commitizen": "^4.3.1",
"cpy-cli": "^6.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.34.0",
"eslint": "^9.35.0",
"husky": "^9.1.7",
"markdownlint-cli2": "^0.18.1",
"neostandard": "^0.12.2",
"netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.1",
"replace-in-files-cli": "^3.0.0",
"replace-in-files-cli": "^4.0.0",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.7",
"semantic-release": "^24.2.8",
"shx": "^0.4.0",
"stylelint": "^16.23.1",
"stylelint-config-standard-scss": "^15.0.1"
"stylelint": "^16.24.0",
"stylelint-config-standard-scss": "^16.0.0"
},
"optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",
@@ -631,10 +631,11 @@
}
},
"node_modules/@eslint-community/eslint-utils": {
"version": "4.7.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.7.0.tgz",
"integrity": "sha512-dyybb3AcajC7uha6CvhdVRJqaKyn7w2YKqKyAN37NKYgZT36w+iRb0Dymmc5qEJ549c/S31cMMSFd75bteCpCw==",
"version": "4.9.0",
"resolved": "https://registry.npmjs.org/@eslint-community/eslint-utils/-/eslint-utils-4.9.0.tgz",
"integrity": "sha512-ayVFHdtZ+hsq1t2Dy24wCmGXGe4q9Gu3smhLYALJrr473ZH27MsnSL+LKUlimp4BWJqMDMLmPpx/Q9R3OAlL4g==",
"dev": true,
"license": "MIT",
"dependencies": {
"eslint-visitor-keys": "^3.4.3"
},
@@ -720,9 +721,9 @@
}
},
"node_modules/@eslint/js": {
"version": "9.34.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.34.0.tgz",
"integrity": "sha512-EoyvqQnBNsV1CWaEJ559rxXL4c8V92gxirbawSmVUOWXlsRxxQXl6LmCpdUblgxgSkDIqKnhzba2SjRTI/A5Rw==",
"version": "9.35.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.35.0.tgz",
"integrity": "sha512-30iXE9whjlILfWobBkNerJo+TXYsgVM5ERQwMcMKCHckHflCmf7wXDAHlARoWnh0s1U72WqlbeyE7iAcCzuCPw==",
"dev": true,
"license": "MIT",
"engines": {
@@ -3517,14 +3518,14 @@
}
},
"node_modules/cacheable": {
"version": "1.10.3",
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.3.tgz",
"integrity": "sha512-M6p10iJ/VT0wT7TLIGUnm958oVrU2cUK8pQAVU21Zu7h8rbk/PeRtRWrvHJBql97Bhzk3g1N6+2VKC+Rjxna9Q==",
"version": "1.10.4",
"resolved": "https://registry.npmjs.org/cacheable/-/cacheable-1.10.4.tgz",
"integrity": "sha512-Gd7ccIUkZ9TE2odLQVS+PDjIvQCdJKUlLdJRVvZu0aipj07Qfx+XIej7hhDrKGGoIxV5m5fT/kOJNJPQhQneRg==",
"dev": true,
"license": "MIT",
"dependencies": {
"hookified": "^1.10.0",
"keyv": "^5.4.0"
"hookified": "^1.11.0",
"keyv": "^5.5.0"
}
},
"node_modules/cacheable-lookup": {
@@ -3555,9 +3556,9 @@
}
},
"node_modules/cacheable/node_modules/keyv": {
"version": "5.4.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.4.0.tgz",
"integrity": "sha512-TMckyVjEoacG5IteUpUrOBsFORtheqziVyyY2dLUwg1jwTb8u48LX4TgmtogkNl9Y9unaEJ1luj10fGyjMGFOQ==",
"version": "5.5.0",
"resolved": "https://registry.npmjs.org/keyv/-/keyv-5.5.0.tgz",
"integrity": "sha512-QG7qR2tijh1ftOvClut4YKKg1iW6cx3GZsKoGyJPxHkGWK9oJhG9P3j5deP0QQOGDowBMVQFaP+Vm4NpGYvmIQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -5479,19 +5480,19 @@
}
},
"node_modules/eslint": {
"version": "9.34.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.34.0.tgz",
"integrity": "sha512-RNCHRX5EwdrESy3Jc9o8ie8Bog+PeYvvSR8sDGoZxNFTvZ4dlxUB3WzQ3bQMztFrSRODGrLLj8g6OFuGY/aiQg==",
"version": "9.35.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.35.0.tgz",
"integrity": "sha512-QePbBFMJFjgmlE+cXAlbHZbHpdFVS2E/6vzCy7aKlebddvl1vadiC4JFV5u/wqTkNUwEV8WrQi257jf5f06hrg==",
"dev": true,
"license": "MIT",
"dependencies": {
"@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/eslint-utils": "^4.8.0",
"@eslint-community/regexpp": "^4.12.1",
"@eslint/config-array": "^0.21.0",
"@eslint/config-helpers": "^0.3.1",
"@eslint/core": "^0.15.2",
"@eslint/eslintrc": "^3.3.1",
"@eslint/js": "9.34.0",
"@eslint/js": "9.35.0",
"@eslint/plugin-kit": "^0.3.5",
"@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1",
@@ -7152,22 +7153,22 @@
}
},
"node_modules/hook-std": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/hook-std/-/hook-std-3.0.0.tgz",
"integrity": "sha512-jHRQzjSDzMtFy34AGj1DN+vq54WVuhSvKgrHf0OMiFQTwDD4L/qqofVEWjLOBMTn5+lCD3fPg32W9yOfnEJTTw==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/hook-std/-/hook-std-4.0.0.tgz",
"integrity": "sha512-IHI4bEVOt3vRUDJ+bFA9VUJlo7SzvFARPNLw75pqSmAOP2HmTWfFJtPvLBrDrlgjEYXY9zs7SFdHPQaJShkSCQ==",
"dev": true,
"license": "MIT",
"engines": {
"node": "^12.20.0 || ^14.13.1 || >=16.0.0"
"node": ">=20"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/hookified": {
"version": "1.11.0",
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.11.0.tgz",
"integrity": "sha512-aDdIN3GyU5I6wextPplYdfmWCo+aLmjjVbntmX6HLD5RCi/xKsivYEBhnRD+d9224zFf008ZpLMPlWF0ZodYZw==",
"version": "1.12.0",
"resolved": "https://registry.npmjs.org/hookified/-/hookified-1.12.0.tgz",
"integrity": "sha512-hMr1Y9TCLshScrBbV2QxJ9BROddxZ12MX9KsCtuGGy/3SmmN5H1PllKerrVlSotur9dlE8hmUKAOSa3WDzsZmQ==",
"dev": true,
"license": "MIT"
},
@@ -7237,9 +7238,9 @@
}
},
"node_modules/hugo-bin": {
"version": "0.145.2",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.145.2.tgz",
"integrity": "sha512-iI4HutM+45/xdNU8XW/mhV0QWwzuuzVzKQ0fhGZIh1e5QkqWvRGhRjE0UARUSU8pygGgkJalVJgNVIGL/lkZ9g==",
"version": "0.147.0",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.147.0.tgz",
"integrity": "sha512-8ZO/uEVbYUQzTaPGmB0Www53GeKq6A2oyQs1+0wyV9BR5jWQt7HPpl5U4sCioRTsTF73UQVQMTzIPdg9Iaw4Vw==",
"funding": [
{
"type": "github",
@@ -7249,7 +7250,7 @@
"hasInstallScript": true,
"license": "MIT",
"dependencies": {
"@xhmikosr/bin-wrapper": "^13.1.0",
"@xhmikosr/bin-wrapper": "^13.2.0",
"package-config": "^5.0.0"
},
"bin": {
@@ -8705,9 +8706,9 @@
}
},
"node_modules/mdn-data": {
"version": "2.21.0",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.21.0.tgz",
"integrity": "sha512-+ZKPQezM5vYJIkCxaC+4DTnRrVZR1CgsKLu5zsQERQx6Tea8Y+wMx5A24rq8A8NepCeatIQufVAekKNgiBMsGQ==",
"version": "2.24.0",
"resolved": "https://registry.npmjs.org/mdn-data/-/mdn-data-2.24.0.tgz",
"integrity": "sha512-i97fklrJl03tL1tdRVw0ZfLLvuDsdb6wxL+TrJ+PKkCbLrp2PCu2+OYdCKychIUm19nSM/35S6qz7pJpnXttoA==",
"dev": true,
"license": "CC0-1.0"
},
@@ -14439,22 +14440,23 @@
}
},
"node_modules/replace-in-files-cli": {
"version": "3.0.0",
"resolved": "https://registry.npmjs.org/replace-in-files-cli/-/replace-in-files-cli-3.0.0.tgz",
"integrity": "sha512-A2VjOaPF8yjiaRjuIlvX3PB0uRMQ3DpnKG4yg38wjPrqR0OSzD00ubOZqqwAunoT5emKjEZPvdkm6JRVJrBmlQ==",
"version": "4.0.0",
"resolved": "https://registry.npmjs.org/replace-in-files-cli/-/replace-in-files-cli-4.0.0.tgz",
"integrity": "sha512-b6Nzz19x+huwKe1pqjovWj/JGFwVvi+XbY1YPuWzlD+3Ihb1BPgoNfPweFvbjmSmj60bPLABgJX0HUQVhzEVsA==",
"dev": true,
"license": "MIT",
"dependencies": {
"escape-string-regexp": "^5.0.0",
"globby": "^14.0.1",
"globby": "^14.1.0",
"meow": "^13.2.0",
"normalize-path": "^3.0.0",
"write-file-atomic": "^5.0.1"
"write-file-atomic": "^6.0.0"
},
"bin": {
"replace-in-files": "cli.js"
},
"engines": {
"node": ">=18"
"node": ">=20"
},
"funding": {
"url": "https://github.com/sponsors/sindresorhus"
@@ -14472,6 +14474,33 @@
"url": "https://github.com/sponsors/sindresorhus"
}
},
"node_modules/replace-in-files-cli/node_modules/signal-exit": {
"version": "4.1.0",
"resolved": "https://registry.npmjs.org/signal-exit/-/signal-exit-4.1.0.tgz",
"integrity": "sha512-bzyZ1e88w9O1iNJbKnOlvYTrWPDl46O1bG0D3XInv+9tkPrxrN8jUUTiFlDkkmKWgn1M6CfIA13SuGqOa9Korw==",
"dev": true,
"license": "ISC",
"engines": {
"node": ">=14"
},
"funding": {
"url": "https://github.com/sponsors/isaacs"
}
},
"node_modules/replace-in-files-cli/node_modules/write-file-atomic": {
"version": "6.0.0",
"resolved": "https://registry.npmjs.org/write-file-atomic/-/write-file-atomic-6.0.0.tgz",
"integrity": "sha512-GmqrO8WJ1NuzJ2DrziEI2o57jKAVIQNf8a18W3nCYU3H7PNWqCCVTeH6/NQE93CIllIgQS98rrmVkYgTX9fFJQ==",
"dev": true,
"license": "ISC",
"dependencies": {
"imurmurhash": "^0.1.4",
"signal-exit": "^4.0.1"
},
"engines": {
"node": "^18.17.0 || >=20.5.0"
}
},
"node_modules/require-directory": {
"version": "2.1.1",
"resolved": "https://registry.npmjs.org/require-directory/-/require-directory-2.1.1.tgz",
@@ -14850,9 +14879,9 @@
}
},
"node_modules/semantic-release": {
"version": "24.2.7",
"resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.7.tgz",
"integrity": "sha512-g7RssbTAbir1k/S7uSwSVZFfFXwpomUB9Oas0+xi9KStSCmeDXcA7rNhiskjLqvUe/Evhx8fVCT16OSa34eM5g==",
"version": "24.2.8",
"resolved": "https://registry.npmjs.org/semantic-release/-/semantic-release-24.2.8.tgz",
"integrity": "sha512-uvoLiKEB/AvvA3SCPE78cd90nVJXn220kkEA6sNGzDpas4s7pe4OgYWvhfR0lvWBdBH/T0RFCI6U+GvcT2CypQ==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -14870,7 +14899,7 @@
"find-versions": "^6.0.0",
"get-stream": "^6.0.0",
"git-log-parser": "^1.2.0",
"hook-std": "^3.0.0",
"hook-std": "^4.0.0",
"hosted-git-info": "^8.0.0",
"import-from-esm": "^2.0.0",
"lodash-es": "^4.17.21",
@@ -16147,9 +16176,9 @@
}
},
"node_modules/stylelint": {
"version": "16.23.1",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.23.1.tgz",
"integrity": "sha512-dNvDTsKV1U2YtiUDfe9d2gp902veFeo3ecCWdGlmLm2WFrAV0+L5LoOj/qHSBABQwMsZPJwfC4bf39mQm1S5zw==",
"version": "16.24.0",
"resolved": "https://registry.npmjs.org/stylelint/-/stylelint-16.24.0.tgz",
"integrity": "sha512-7ksgz3zJaSbTUGr/ujMXvLVKdDhLbGl3R/3arNudH7z88+XZZGNLMTepsY28WlnvEFcuOmUe7fg40Q3lfhOfSQ==",
"dev": true,
"funding": [
{
@@ -16176,7 +16205,7 @@
"debug": "^4.4.1",
"fast-glob": "^3.3.3",
"fastest-levenshtein": "^1.0.16",
"file-entry-cache": "^10.1.3",
"file-entry-cache": "^10.1.4",
"global-modules": "^2.0.0",
"globby": "^11.1.0",
"globjoin": "^0.1.4",
@@ -16210,9 +16239,9 @@
}
},
"node_modules/stylelint-config-recommended": {
"version": "16.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-16.0.0.tgz",
"integrity": "sha512-4RSmPjQegF34wNcK1e1O3Uz91HN8P1aFdFzio90wNK9mjgAI19u5vsU868cVZboKzCaa5XbpvtTzAAGQAxpcXA==",
"version": "17.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended/-/stylelint-config-recommended-17.0.0.tgz",
"integrity": "sha512-WaMSdEiPfZTSFVoYmJbxorJfA610O0tlYuU2aEwY33UQhSPgFbClrVJYWvy3jGJx+XW37O+LyNLiZOEXhKhJmA==",
"dev": true,
"funding": [
{
@@ -16229,26 +16258,26 @@
"node": ">=18.12.0"
},
"peerDependencies": {
"stylelint": "^16.16.0"
"stylelint": "^16.23.0"
}
},
"node_modules/stylelint-config-recommended-scss": {
"version": "15.0.1",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-15.0.1.tgz",
"integrity": "sha512-V24bxkNkFGggqPVJlP9iXaBabwSGEG7QTz+PyxrRtjPkcF+/NsWtB3tKYvFYEmczRkWiIEfuFMhGpJFj9Fxe6Q==",
"version": "16.0.1",
"resolved": "https://registry.npmjs.org/stylelint-config-recommended-scss/-/stylelint-config-recommended-scss-16.0.1.tgz",
"integrity": "sha512-wfpU6kmTUwPEHMACYdpt5wLM/aS44+sqE8yk82LkOkA7yVpAuTZDwd3m9762d0mRnNCn0JMUx4XfDVDmbb8hTA==",
"dev": true,
"license": "MIT",
"dependencies": {
"postcss-scss": "^4.0.9",
"stylelint-config-recommended": "^16.0.0",
"stylelint-scss": "^6.12.0"
"stylelint-config-recommended": "^17.0.0",
"stylelint-scss": "^6.12.1"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"postcss": "^8.3.3",
"stylelint": "^16.16.0"
"stylelint": "^16.23.1"
},
"peerDependenciesMeta": {
"postcss": {
@@ -16257,9 +16286,9 @@
}
},
"node_modules/stylelint-config-standard": {
"version": "38.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-38.0.0.tgz",
"integrity": "sha512-uj3JIX+dpFseqd/DJx8Gy3PcRAJhlEZ2IrlFOc4LUxBX/PNMEQ198x7LCOE2Q5oT9Vw8nyc4CIL78xSqPr6iag==",
"version": "39.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-standard/-/stylelint-config-standard-39.0.0.tgz",
"integrity": "sha512-JabShWORb8Bmc1A47ZyJstran60P3yUdI1zWMpGYPeFiC6xzHXJMkpKAd8EjIhq3HPUplIWWMDJ/xu0AiPd+kA==",
"dev": true,
"funding": [
{
@@ -16273,31 +16302,31 @@
],
"license": "MIT",
"dependencies": {
"stylelint-config-recommended": "^16.0.0"
"stylelint-config-recommended": "^17.0.0"
},
"engines": {
"node": ">=18.12.0"
},
"peerDependencies": {
"stylelint": "^16.18.0"
"stylelint": "^16.23.0"
}
},
"node_modules/stylelint-config-standard-scss": {
"version": "15.0.1",
"resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-15.0.1.tgz",
"integrity": "sha512-8pmmfutrMlPHukLp+Th9asmk21tBXMVGxskZCzkRVWt1d8Z0SrXjUUQ3vn9KcBj1bJRd5msk6yfEFM0UYHBRdg==",
"version": "16.0.0",
"resolved": "https://registry.npmjs.org/stylelint-config-standard-scss/-/stylelint-config-standard-scss-16.0.0.tgz",
"integrity": "sha512-/FHECLUu+med/e6OaPFpprG86ShC4SYT7Tzb2PTVdDjJsehhFBOioSlWqYFqJxmGPIwO3AMBxNo+kY3dxrbczA==",
"dev": true,
"license": "MIT",
"dependencies": {
"stylelint-config-recommended-scss": "^15.0.1",
"stylelint-config-standard": "^38.0.0"
"stylelint-config-recommended-scss": "^16.0.1",
"stylelint-config-standard": "^39.0.0"
},
"engines": {
"node": ">=20"
},
"peerDependencies": {
"postcss": "^8.3.3",
"stylelint": "^16.18.0"
"stylelint": "^16.23.1"
},
"peerDependenciesMeta": {
"postcss": {
@@ -16306,9 +16335,9 @@
}
},
"node_modules/stylelint-scss": {
"version": "6.12.0",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.12.0.tgz",
"integrity": "sha512-U7CKhi1YNkM1pXUXl/GMUXi8xKdhl4Ayxdyceie1nZ1XNIdaUgMV6OArpooWcDzEggwgYD0HP/xIgVJo9a655w==",
"version": "6.12.1",
"resolved": "https://registry.npmjs.org/stylelint-scss/-/stylelint-scss-6.12.1.tgz",
"integrity": "sha512-UJUfBFIvXfly8WKIgmqfmkGKPilKB4L5j38JfsDd+OCg2GBdU0vGUV08Uw82tsRZzd4TbsUURVVNGeOhJVF7pA==",
"dev": true,
"license": "MIT",
"dependencies": {
@@ -16381,25 +16410,25 @@
"dev": true
},
"node_modules/stylelint/node_modules/file-entry-cache": {
"version": "10.1.3",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.3.tgz",
"integrity": "sha512-D+w75Ub8T55yor7fPgN06rkCAUbAYw2vpxJmmjv/GDAcvCnv9g7IvHhIZoxzRZThrXPFI2maeY24pPbtyYU7Lg==",
"version": "10.1.4",
"resolved": "https://registry.npmjs.org/file-entry-cache/-/file-entry-cache-10.1.4.tgz",
"integrity": "sha512-5XRUFc0WTtUbjfGzEwXc42tiGxQHBmtbUG1h9L2apu4SulCGN3Hqm//9D6FAolf8MYNL7f/YlJl9vy08pj5JuA==",
"dev": true,
"license": "MIT",
"dependencies": {
"flat-cache": "^6.1.12"
"flat-cache": "^6.1.13"
}
},
"node_modules/stylelint/node_modules/flat-cache": {
"version": "6.1.12",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.12.tgz",
"integrity": "sha512-U+HqqpZPPXP5d24bWuRzjGqVqUcw64k4nZAbruniDwdRg0H10tvN7H6ku1tjhA4rg5B9GS3siEvwO2qjJJ6f8Q==",
"version": "6.1.13",
"resolved": "https://registry.npmjs.org/flat-cache/-/flat-cache-6.1.13.tgz",
"integrity": "sha512-gmtS2PaUjSPa4zjObEIn4WWliKyZzYljgxODBfxugpK6q6HU9ClXzgCJ+nlcPKY9Bt090ypTOLIFWkV0jbKFjw==",
"dev": true,
"license": "MIT",
"dependencies": {
"cacheable": "^1.10.3",
"cacheable": "^1.10.4",
"flatted": "^3.3.3",
"hookified": "^1.10.0"
"hookified": "^1.11.0"
}
},
"node_modules/stylelint/node_modules/globby": {

View File

@@ -75,7 +75,7 @@
"autoprefixer": "^10.4.21",
"cssnano": "^7.1.1",
"cssnano-preset-advanced": "^7.0.9",
"hugo-bin": "0.145.2",
"hugo-bin": "0.147.0",
"purgecss-whitelister": "^2.4.0"
},
"devDependencies": {
@@ -87,19 +87,19 @@
"commitizen": "^4.3.1",
"cpy-cli": "^6.0.0",
"cz-conventional-changelog": "^3.3.0",
"eslint": "^9.34.0",
"eslint": "^9.35.0",
"husky": "^9.1.7",
"markdownlint-cli2": "^0.18.1",
"neostandard": "^0.12.2",
"netlify-plugin-hugo-cache-resources": "^0.2.1",
"npm-run-all": "^4.1.5",
"postcss-cli": "^11.0.1",
"replace-in-files-cli": "^3.0.0",
"replace-in-files-cli": "^4.0.0",
"rimraf": "^6.0.1",
"semantic-release": "^24.2.7",
"semantic-release": "^24.2.8",
"shx": "^0.4.0",
"stylelint": "^16.23.1",
"stylelint-config-standard-scss": "^15.0.1"
"stylelint": "^16.24.0",
"stylelint-config-standard-scss": "^16.0.0"
},
"optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",