Compare commits

...

49 Commits

Author SHA1 Message Date
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
51 changed files with 477 additions and 185 deletions

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;
@@ -177,6 +184,7 @@
.navbar .nav-item {
display: flex;
align-items: center;
white-space: nowrap;
}
.navbar-collapse .dropdown {
@@ -287,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,7 @@ blueprint:
width:
justify:
link-type:
fluid:
theme:
cover:
links:

View File

@@ -27,6 +27,8 @@ blueprint:
more:
title:
link:
link-type:
icon:
icon-rounded:
icon-style:
cols:
@@ -47,5 +49,6 @@ blueprint:
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,17 @@
{{ $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
"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))
"more-link-type" $moreType
"more-link-icon" $moreIcon
)}}
{{ if $args.scroll }}

View File

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

View File

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

View File

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

View File

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

View File

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

View File

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

View File

@@ -42,6 +42,7 @@ blueprint:
border:
width:
justify:
fluid:
theme:
cover:

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,7 @@ arguments:
default: px-4 px-xxl-0 py-4
width:
default: 8
fluid:
theme:
hook:
default: assets/hero-image.html

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

@@ -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",
@@ -245,6 +246,9 @@
"fa-activity",
"fa-address-card",
"fa-angle-left",
"fa-angle-right",
"fa-angles-left",
"fa-angles-right",
"fa-arrow-left",
"fa-arrow-right",
"fa-bootstrap",
@@ -429,6 +433,7 @@
"navbar-mode-selector",
"navbar-nav",
"navbar-nav-scroll",
"navbar-title-center",
"navbar-toggler",
"next",
"no-js",
@@ -597,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",
@@ -612,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",
@@ -626,6 +638,7 @@
"body-docs-collapse-15",
"body-docs-collapse-16",
"body-file-collapse-1",
"bootstrap-elements",
"bouton",
"breadcrumb",
"btnTOCShowLess",
@@ -636,6 +649,7 @@
"callout",
"card",
"card-group",
"cards",
"carousel",
"carousel-0",
"carrousel",
@@ -648,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-4bb40e55576372d7d5033b3cb5988c2c",
"dropdown-panel-6dfba858bf9eaea88ebc32de712ebf3f",
"dropdown-panel-6fe204644b3fccca0d62ab3b712bf1cd",
"dropdown-panel-b8350cafdd51c4d33847172721da9800",
"dropdown-panel-e25d76a286385f8669a497412d250185",
"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",
@@ -678,16 +706,25 @@
"fab-medium",
"fab-whatsapp",
"fab-x-twitter",
"faq-aa1b2fa31cd6205cdeb0e1b972a20584",
"faq-aa1b2fa31cd6205cdeb0e1b972a20584-heading-faq-aa1b2fa31cd6205cdeb0e1b972a20584",
"faq-aa1b2fa31cd6205cdeb0e1b972a20584-item-0",
"faq-aa1b2fa31cd6205cdeb0e1b972a20584-item-1",
"faq-aa1b2fa31cd6205cdeb0e1b972a20584-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",
"fas-address-card",
"fas-angle-left",
"fas-angle-right",
"fas-angles-left",
"fas-angles-right",
"fas-arrow-left",
"fas-arrow-right",
"fas-chevron-right",
@@ -719,12 +756,14 @@
"fichier",
"fil-dariane",
"file",
"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",
@@ -733,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",
@@ -741,6 +781,7 @@
"illustration-type",
"image",
"imagekitio",
"images-locales-et-distantes",
"imgix",
"indicateur-de-chargement",
"infobulle",
@@ -757,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",
@@ -773,11 +815,16 @@
"nav-0-btn-1",
"nav-0-btn-2",
"nav-nav-0",
"nav-panel-4bb40e55576372d7d5033b3cb5988c2c",
"nav-panel-6dfba858bf9eaea88ebc32de712ebf3f",
"nav-panel-6fe204644b3fccca0d62ab3b712bf1cd",
"nav-panel-b8350cafdd51c4d33847172721da9800",
"nav-panel-e25d76a286385f8669a497412d250185",
"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",
@@ -785,50 +832,91 @@
"navbar-sample-collapse",
"navigation",
"notification",
"over-mij",
"overview",
"panel-4bb40e55576372d7d5033b3cb5988c2c-0",
"panel-4bb40e55576372d7d5033b3cb5988c2c-1",
"panel-4bb40e55576372d7d5033b3cb5988c2c-2",
"panel-4bb40e55576372d7d5033b3cb5988c2c-btn-0",
"panel-4bb40e55576372d7d5033b3cb5988c2c-btn-1",
"panel-4bb40e55576372d7d5033b3cb5988c2c-btn-2",
"panel-6dfba858bf9eaea88ebc32de712ebf3f-0",
"panel-6dfba858bf9eaea88ebc32de712ebf3f-1",
"panel-6dfba858bf9eaea88ebc32de712ebf3f-2",
"panel-6dfba858bf9eaea88ebc32de712ebf3f-btn-0",
"panel-6dfba858bf9eaea88ebc32de712ebf3f-btn-1",
"panel-6dfba858bf9eaea88ebc32de712ebf3f-btn-2",
"panel-6fe204644b3fccca0d62ab3b712bf1cd-0",
"panel-6fe204644b3fccca0d62ab3b712bf1cd-1",
"panel-6fe204644b3fccca0d62ab3b712bf1cd-2",
"panel-6fe204644b3fccca0d62ab3b712bf1cd-btn-0",
"panel-6fe204644b3fccca0d62ab3b712bf1cd-btn-1",
"panel-6fe204644b3fccca0d62ab3b712bf1cd-btn-2",
"panel-b8350cafdd51c4d33847172721da9800-0",
"panel-b8350cafdd51c4d33847172721da9800-1",
"panel-b8350cafdd51c4d33847172721da9800-2",
"panel-b8350cafdd51c4d33847172721da9800-btn-0",
"panel-b8350cafdd51c4d33847172721da9800-btn-1",
"panel-b8350cafdd51c4d33847172721da9800-btn-2",
"panel-e25d76a286385f8669a497412d250185-0",
"panel-e25d76a286385f8669a497412d250185-1",
"panel-e25d76a286385f8669a497412d250185-2",
"panel-e25d76a286385f8669a497412d250185-btn-0",
"panel-e25d76a286385f8669a497412d250185-btn-1",
"panel-e25d76a286385f8669a497412d250185-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",
"sample-project",
"second-post",
"security",
"separator",
"sequence-diagram",
"shortcode-with-controls-and-frontmatter",
"spinner",
@@ -841,6 +929,7 @@
"table",
"tabs",
"third-party-links--use-of-your-information",
"third-post",
"timeline",
"title",
"toast",
@@ -852,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"
]
}
}

4
go.mod
View File

@@ -4,7 +4,7 @@ go 1.19
require (
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.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.15.0 // indirect
github.com/gethinode/mod-utils/v4 v4.17.0 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250907103239-defb38b083f0 // indirect
github.com/twbs/bootstrap v5.3.8+incompatible // indirect
)

10
go.sum
View File

@@ -12,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=
@@ -508,6 +510,14 @@ github.com/gethinode/mod-utils/v4 v4.14.0 h1:CF5dy+HWg22L306bWVhClWK9b1NVinEqtb4
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/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=

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

@@ -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>

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

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

116
package-lock.json generated
View File

@@ -32,12 +32,12 @@
"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.24.0",
"stylelint-config-standard-scss": "^15.0.1"
"stylelint-config-standard-scss": "^16.0.0"
},
"optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",
@@ -7153,13 +7153,13 @@
}
},
"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"
@@ -8706,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"
},
@@ -14440,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"
@@ -14473,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",
@@ -14851,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": {
@@ -14871,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",
@@ -16211,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": [
{
@@ -16230,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": {
@@ -16258,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": [
{
@@ -16274,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": {
@@ -16307,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": {

View File

@@ -94,12 +94,12 @@
"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.24.0",
"stylelint-config-standard-scss": "^15.0.1"
"stylelint-config-standard-scss": "^16.0.0"
},
"optionalDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0",