Compare commits

..

48 Commits

Author SHA1 Message Date
Mark Dumay
fb63e36c56 Merge pull request #1484 from gethinode/develop
Fix kbd rendering
2025-07-01 11:42:27 +02:00
Mark Dumay
ae1cda1f5a Merge branch 'main' into develop 2025-07-01 11:36:04 +02:00
Mark Dumay
4846d1b016 Bump package release 2025-07-01 11:35:04 +02:00
Mark Dumay
01522dad71 Update build stats 2025-07-01 11:34:38 +02:00
Mark Dumay
0bbef1dad2 FIx kbd rendering 2025-07-01 11:34:29 +02:00
Mark Dumay
5e048d32df Merge pull request #1482 from gethinode/develop
Fix rendering of nav items
2025-06-30 08:42:44 +02:00
Mark Dumay
d1128fa7c3 Merge branch 'main' into develop 2025-06-30 08:00:43 +02:00
Mark Dumay
cf9a39b51f Fix rendering of nav items 2025-06-30 08:00:04 +02:00
Mark Dumay
ae9ec71966 Update dependencies 2025-06-29 13:35:27 +02:00
Mark Dumay
f6c4bbfffb Merge pull request #1481 from gethinode/develop
Enable explicit auto ratio for images
2025-06-29 13:24:07 +02:00
Mark Dumay
7a655315f1 Merge branch 'main' into develop 2025-06-29 13:19:12 +02:00
Mark Dumay
5c27178881 Enable explicit auto ratio for images 2025-06-29 13:18:43 +02:00
Mark Dumay
c829049842 Merge pull request #1480 from gethinode/develop
Fix starter template
2025-06-29 13:14:02 +02:00
Mark Dumay
613da916aa Merge branch 'main' into develop 2025-06-29 13:07:13 +02:00
Mark Dumay
d3d75c9dc6 Fix starter template 2025-06-29 13:05:52 +02:00
Mark Dumay
2f5b49397e Merge pull request #1479 from gethinode/develop
Fix justification of section title
2025-06-29 13:04:54 +02:00
Mark Dumay
632f3d861b Merge branch 'main' into develop 2025-06-29 12:56:11 +02:00
Mark Dumay
004063f02a Refine content blocks page 2025-06-29 12:34:48 +02:00
Mark Dumay
1bd498f816 Fix justification of section title 2025-06-29 12:34:36 +02:00
github-actions[bot]
291220256a Merge pull request #1476 from gethinode/dependabot/npm_and_yarn/hugo-bin-0.144.9
Bump hugo-bin from 0.144.8 to 0.144.9
2025-06-25 15:13:07 +00:00
Mark Dumay
7bcb87a73e Merge branch 'main' into dependabot/npm_and_yarn/hugo-bin-0.144.9 2025-06-25 17:08:13 +02:00
Mark Dumay
55cebc752e Merge pull request #1478 from gethinode/develop
Fix sharing label
2025-06-25 17:06:43 +02:00
Mark Dumay
14bf59a551 Merge branch 'main' into develop 2025-06-25 17:02:01 +02:00
Mark Dumay
bce0fedd15 Fix sharing label 2025-06-25 17:01:34 +02:00
Mark Dumay
694e7fc7b1 Merge branch 'main' into dependabot/npm_and_yarn/hugo-bin-0.144.9 2025-06-25 16:41:39 +02:00
Mark Dumay
93749cb368 Merge pull request #1477 from gethinode/develop
Fix missing image set widths
2025-06-25 16:41:27 +02:00
Mark Dumay
cf01e22a4d Merge branch 'main' into develop 2025-06-25 16:33:20 +02:00
Mark Dumay
f416f6bb7e Fix missing image set widths 2025-06-25 16:32:55 +02:00
dependabot[bot]
a7b776c0dc Bump hugo-bin from 0.144.8 to 0.144.9
Bumps [hugo-bin](https://github.com/fenneclab/hugo-bin) from 0.144.8 to 0.144.9.
- [Release notes](https://github.com/fenneclab/hugo-bin/releases)
- [Commits](https://github.com/fenneclab/hugo-bin/compare/v0.144.8...v0.144.9)

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

Signed-off-by: dependabot[bot] <support@github.com>
2025-06-23 14:48:51 +00:00
Mark Dumay
e70f3acb57 Merge pull request #1475 from gethinode/develop
Refine arguments
2025-06-23 13:04:14 +02:00
Mark Dumay
6e7b40ad0f Remove redundant file example 2025-06-23 12:57:35 +02:00
Mark Dumay
7446b2958e Merge branch 'main' into develop 2025-06-23 12:49:20 +02:00
Mark Dumay
6c18ada352 Update build stats 2025-06-23 12:48:42 +02:00
Mark Dumay
323b42996b Fix titleCase setting 2025-06-23 12:44:20 +02:00
Mark Dumay
ab8074b293 Update dependencies 2025-06-23 12:42:33 +02:00
Mark Dumay
9419e18ba9 Update file arguments 2025-06-23 12:42:27 +02:00
Mark Dumay
0f007ba5c2 Update articles arguments 2025-06-23 12:42:02 +02:00
Mark Dumay
7d0943fb0c Fix deprecated video arguments 2025-06-23 12:41:36 +02:00
Mark Dumay
3d2cfdaf0a Support title case for structured type headers 2025-06-23 12:41:17 +02:00
Mark Dumay
281c16b561 Refine card group arguments 2025-06-23 12:40:51 +02:00
Mark Dumay
fe68bd6be3 Simplify rendering of page modification date 2025-06-23 12:39:35 +02:00
Mark Dumay
3bf0c241a3 Update dependencies 2025-06-23 11:51:12 +02:00
Mark Dumay
a6a670cd2b Bump package release 2025-06-23 11:51:03 +02:00
Mark Dumay
a44b5449f8 Merge pull request #1472 from gethinode/develop
Fix handling of card parent arguments
2025-06-20 11:58:37 +02:00
Mark Dumay
461f53c67e Merge branch 'main' into develop 2025-06-20 11:52:23 +02:00
Mark Dumay
9a5059d8bd Fix handling of card parent arguments 2025-06-20 11:48:08 +02:00
Mark Dumay
c1586ee00e Bump package release 2025-06-20 11:01:50 +02:00
Mark Dumay
88d2a50954 Simplify page layout structure 2025-06-20 11:01:18 +02:00
48 changed files with 249 additions and 263 deletions

View File

@@ -1,14 +1,8 @@
.nav-tabs .nav-tabs { .nav-tabs {
border: none; border: none !important;
} }
.nav-tabs .nav-link.active { .nav-callout, .tab-content {
border-bottom-color: var(--bs-body-bg) !important;
border-bottom-style: solid !important;
z-index: 1;
}
.nav-callout {
--#{$prefix}nav-callout-bg: var(--#{$prefix}light); --#{$prefix}nav-callout-bg: var(--#{$prefix}light);
--#{$prefix}nav-callout-active-bg: var(--bs-primary-bg-subtle); --#{$prefix}nav-callout-active-bg: var(--bs-primary-bg-subtle);
--#{$prefix}nav-callout-gap: #{$nav-underline-gap}; --#{$prefix}nav-callout-gap: #{$nav-underline-gap};
@@ -92,7 +86,7 @@
@if $enable-dark-mode { @if $enable-dark-mode {
@include color-mode(dark) { @include color-mode(dark) {
.nav-callout { .nav-callout, .tab-content {
--#{$prefix}nav-callout-bg: var(--#{$prefix}tertiary-bg); --#{$prefix}nav-callout-bg: var(--#{$prefix}tertiary-bg);
} }

View File

@@ -21,7 +21,7 @@
{{ partial "assets/hero.html" (dict {{ partial "assets/hero.html" (dict
"heading" $args.heading "heading" $args.heading
"background" $args.background "background" $args.background
"illustration" (merge (dict "ratio" "1x1") $args.illustration) "illustration" (merge (dict "ratio" "auto") $args.illustration)
"order" $args.order "order" $args.order
"link-type" $args.linkType "link-type" $args.linkType
"links" $args.links "links" $args.links

View File

@@ -29,7 +29,7 @@ blueprint:
link: link:
cols: cols:
padding: padding:
max: limit:
pagination: pagination:
paginate: paginate:
background: background:

View File

@@ -62,14 +62,14 @@
<!-- Main code --> <!-- Main code -->
{{ if not $error }} {{ if not $error }}
{{- partial "assets/section-title.html" (dict "heading" $args.heading) -}} {{- partial "assets/section-title.html" (dict "heading" $args.heading "justify" $args.justify) -}}
{{ $partial := "assets/card-group.html" }} {{ $partial := "assets/card-group.html" }}
{{ $params := dict }} {{ $params := dict }}
{{- $params = merge $params (dict {{- $params = merge $params (dict
"page" page "page" page
"list" $pages "list" $pages
"max" $args.max "limit" $args.limit
"cols" $args.cols "cols" $args.cols
"icon-rounded" $args.iconRounded "icon-rounded" $args.iconRounded
"href" (cond $moreButton $moreLink "") "href" (cond $moreButton $moreLink "")

View File

@@ -35,7 +35,7 @@
{{ end}} {{ end}}
{{ if not $error }} {{ if not $error }}
{{- partial "assets/section-title.html" (dict "heading" $args.heading) -}} {{- partial "assets/section-title.html" (dict "heading" $args.heading "justify" $args.justify) -}}
{{- partial "assets/card-group.html" (dict {{- partial "assets/card-group.html" (dict
"page" page "page" page

View File

@@ -19,7 +19,7 @@
{{ if not $args.err }} {{ if not $args.err }}
{{ $color := "" }} {{ $color := "" }}
{{ if $args.contrast }}{{ $color = "white" }}{{ end }} {{ if $args.contrast }}{{ $color = "white" }}{{ end }}
{{- partial "assets/section-title.html" (dict "heading" $args.heading "color" $color) -}} {{- partial "assets/section-title.html" (dict "heading" $args.heading "color" $color "justify" $args.justify) -}}
{{ $class := "" }} {{ $class := "" }}
{{ $id := printf "faq-%s" (md5 (delimit (slice . now) "-")) }} {{ $id := printf "faq-%s" (md5 (delimit (slice . now) "-")) }}

View File

@@ -96,7 +96,7 @@
) }} ) }}
{{ end}} {{ end}}
{{- partial "assets/section-title.html" (dict "heading" $args.heading) -}} {{- partial "assets/section-title.html" (dict "heading" $args.heading "justify" $args.justify) -}}
{{ if eq $args.orientation "stacked" }} {{ if eq $args.orientation "stacked" }}
<div class="col-{{ $breakpoint.current }}-{{ $args.width }} mx-auto pb-{{ $padding.y }}"> <div class="col-{{ $breakpoint.current }}-{{ $args.width }} mx-auto pb-{{ $padding.y }}">

View File

@@ -10,10 +10,10 @@
footerBelowFold = false footerBelowFold = false
loading = "lazy" loading = "lazy"
breakpoint = "md" breakpoint = "md"
titleCase = false
[main.padding] [main.padding]
x = 4 x = 4
y = 4 y = 4
titleCase = false
[main.internalLinks] [main.internalLinks]
validate = true validate = true
pretty = false pretty = false

View File

@@ -7,18 +7,18 @@ content_blocks:
title: Welcome to Hinode! title: Welcome to Hinode!
content: |- content: |-
A clean documentation and blog theme for your Hugo site based on Bootstrap 5. A clean documentation and blog theme for your Hugo site based on Bootstrap 5.
align: start width: 6
background: background:
color: primary color: primary
subtle: true subtle: true
illustration: illustration:
image: /img/sunrise.jpg image: /img/sunrise.jpg
ratio: 16x9 ratio: 16x9
width: 8 width: 8
width: 6
links: links:
- title: Get started - title: About
url: https://gethinode.com/docs url: about
icon: fas book-open icon: fas chevron-right
orientation: horizontal orientation: horizontal
justify: center
--- ---

View File

@@ -22,7 +22,8 @@ arguments:
release: 1.0.0 release: 1.0.0
list: list:
cards: cards:
max: limit:
release: v1.0.0
cols: cols:
release: v0.19.0 release: v0.19.0
paginate: paginate:
@@ -158,3 +159,12 @@ arguments:
group: partial group: partial
deprecated: v1.0.0 deprecated: v1.0.0
alternative: href-title alternative: href-title
max:
type: int
optional: true
comment: Maximum number of elements to display.
group: partial
options:
min: 1
deprecated: v1.0.0
alternative: limit

View File

@@ -11,8 +11,8 @@ arguments:
full: full:
id: id:
class: class:
options: highlight-options:
release: v0.27.6 release: v1.0.0
# deprecated arguments # deprecated arguments
path: path:
type: string type: string
@@ -22,3 +22,11 @@ arguments:
the path of the repository is used as base path instead. the path of the repository is used as base path instead.
deprecated: v1.0.0 deprecated: v1.0.0
alternative: file alternative: file
options:
type: string
optional: true
comment: >-
Hugo highlighting options, see https://gohugo.io/shortcodes/highlight/#options-1.
release: v0.27.6
deprecated: v1.0.0
alternative: highlight-options

View File

@@ -7,8 +7,12 @@ arguments:
group: partial group: partial
list: list:
group: partial group: partial
nav-disabled:
release: v1.0.0
nav-items: nav-items:
release: v1.0.0 release: v1.0.0
nav-show:
release: v1.0.0
nav-titles: nav-titles:
release: v1.0.0 release: v1.0.0
tab-type: tab-type:

View File

@@ -9,3 +9,4 @@ arguments:
optional: false optional: false
background: background:
class: class:
justify:

View File

@@ -31,6 +31,11 @@ arguments:
deprecated: v1.0.0 deprecated: v1.0.0
alternative: media-id alternative: media-id
options: options:
type: string
optional: true
comment: >-
Optional query parameters to append to video asset's url. The query string
is prepended with a `?` symbol. Only applicable to Cloudinary.
release: v0.28.2 release: v0.28.2
deprecated: v1.0.0 deprecated: v1.0.0
alternative: query-args alternative: query-args

View File

@@ -8,10 +8,10 @@
footerBelowFold = false footerBelowFold = false
loading = "lazy" loading = "lazy"
breakpoint = "md" breakpoint = "md"
titleCase = true
[main.padding] [main.padding]
x = 4 x = 4
y = 4 y = 4
titleCase = true
[main.internalLinks] [main.internalLinks]
validate = true validate = true
pretty = true pretty = true

View File

@@ -37,7 +37,7 @@ content_blocks:
more: more:
title: More Posts title: More Posts
padding: 0 padding: 0
max: 3 limit: 3
class: border-0 card-zoom card-body-margin class: border-0 card-zoom card-body-margin
- _bookshop_name: articles - _bookshop_name: articles
@@ -55,7 +55,7 @@ content_blocks:
title: More articles title: More articles
cols: 1 cols: 1
padding: 4 padding: 4
max: 2 limit: 2
header-style: none header-style: none
footer-style: tags footer-style: tags
orientation: horizontal-sm orientation: horizontal-sm

View File

@@ -6,18 +6,17 @@ content_blocks:
- _bookshop_name: hero - _bookshop_name: hero
heading: heading:
title: Content blocks title: Content blocks
align: start
breadcrumb: true
- _bookshop_name: articles
heading:
content: >- content: >-
Hinode uses [Bookshop](https://github.com/CloudCannon/bookshop) to Hinode uses [Bookshop](https://github.com/CloudCannon/bookshop) to
support so-called content blocks. Content blocks are reusable page support so-called content blocks. Content blocks are reusable page
elements, such as a hero, about panel, or an FAQ. Hinode includes elements, such as a hero, about panel, or an FAQ. Hinode includes
several ready-to-use blocks. Click on a card for more details about several ready-to-use blocks. Click on a card for more details about
a content block, including its frontmatter configuration. a content block, including its frontmatter configuration.
align: start
width: 8 width: 8
breadcrumb: true
- _bookshop_name: articles
hide-empty: false hide-empty: false
input: input:
section: blocks section: blocks
@@ -27,7 +26,7 @@ content_blocks:
title: More Posts title: More Posts
cols: 3 cols: 3
padding: 0 padding: 0
max: 9 limit: 9
paginate: true paginate: true
cover: false cover: false
header-style: none header-style: none

View File

@@ -25,6 +25,7 @@ The `about` content block renders a short message next to an illustration. You c
subtle: true subtle: true
illustration: illustration:
image: /assets/img/nat-9l98kFByiao-unsplash.jpg image: /assets/img/nat-9l98kFByiao-unsplash.jpg
ratio: 1x1
link-type: link link-type: link
links: links:
- title: First link - title: First link

View File

@@ -26,12 +26,12 @@ The `articles` content block renders a group of article cards.
more: more:
title: More Blogs title: More Blogs
padding: 0 padding: 0
max: 3 limit: 3
background: background:
color: primary color: primary
subtle: true subtle: true
class: border-0 card-zoom card-body-margin class: border-0 card-zoom card-body-margin
justify: center justify: start
``` ```
{{< /example-bookshop >}} {{< /example-bookshop >}}

View File

@@ -252,8 +252,6 @@ Use the `file` shortcode to print and highlight the full content of a given inpu
{{< /example >}} {{< /example >}}
<!-- markdownlint-enable MD037 --> <!-- markdownlint-enable MD037 -->
{{< file full="false" file="./config/_default/languages.toml" id="file-collapse-5" >}}
## Icon ## Icon
As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon. As an example, the following shortcodes show a square check, a brand logo, a circle check, and a custom icon.
@@ -364,14 +362,14 @@ As an example, the following shortcode displays a tab group with vertically alig
<!-- markdownlint-disable MD037 --> <!-- markdownlint-disable MD037 -->
{{< example lang="hugo" >}} {{< example lang="hugo" >}}
{{</* nav tab-type="pills" vertical="true" */>}} {{</* nav tab-type="pills" vertical="true" */>}}
{{</* nav-item title="Nav Item #1" show="true" */>}} {{</* nav-item title="Nav Item #1" */>}}
This is the first item's nav body. It supports Markdown content. This is the first item's nav body. It supports Markdown content.
The item is shown by adding the value `show` to the `class` argument. The item is shown by adding the value `show` to the `class` argument.
{{</* /nav-item */>}} {{</* /nav-item */>}}
{{</* nav-item title="Nav Item #2" */>}} {{</* nav-item title="Nav Item #2" show="true" */>}}
This is the second item's nav body. This is the second item's nav body.
{{</* /nav-item */>}} {{</* /nav-item */>}}
{{</* nav-item title="Nav Item #3" */>}} {{</* nav-item title="Nav Item #3" disabled="true" */>}}
This is the third item's nav body. This is the third item's nav body.
{{</* /nav-item */>}} {{</* /nav-item */>}}
{{</* /nav */>}} {{</* /nav */>}}

View File

@@ -119,27 +119,15 @@
"breadcrumb-item", "breadcrumb-item",
"btn", "btn",
"btn-close", "btn-close",
"btn-danger",
"btn-dark",
"btn-group", "btn-group",
"btn-info",
"btn-lg",
"btn-light", "btn-light",
"btn-link", "btn-link",
"btn-outline-danger",
"btn-outline-dark",
"btn-outline-info",
"btn-outline-light",
"btn-outline-primary", "btn-outline-primary",
"btn-outline-secondary", "btn-outline-secondary",
"btn-outline-success",
"btn-outline-warning",
"btn-primary", "btn-primary",
"btn-secondary", "btn-secondary",
"btn-sm", "btn-sm",
"btn-social", "btn-social",
"btn-success",
"btn-warning",
"btn-xs", "btn-xs",
"card", "card",
"card-block-2", "card-block-2",
@@ -147,6 +135,7 @@
"card-body-link", "card-body-link",
"card-body-margin", "card-body-margin",
"card-button", "card-button",
"card-button-link",
"card-container", "card-container",
"card-container-wrapper", "card-container-wrapper",
"card-emphasize", "card-emphasize",
@@ -197,7 +186,6 @@
"col-sm-12", "col-sm-12",
"col-sm-3", "col-sm-3",
"col-sm-6", "col-sm-6",
"col-sm-8",
"collapse", "collapse",
"collapsed", "collapsed",
"container", "container",
@@ -243,29 +231,24 @@
"fa-angle-left", "fa-angle-left",
"fa-arrow-left", "fa-arrow-left",
"fa-arrow-right", "fa-arrow-right",
"fa-book-open",
"fa-bootstrap", "fa-bootstrap",
"fa-check",
"fa-chevron-right", "fa-chevron-right",
"fa-circle", "fa-circle",
"fa-circle-check", "fa-circle-check",
"fa-circle-play", "fa-circle-play",
"fa-circle-question", "fa-circle-question",
"fa-code", "fa-code",
"fa-display",
"fa-divide", "fa-divide",
"fa-docker", "fa-docker",
"fa-ellipsis", "fa-ellipsis",
"fa-face-frown", "fa-face-frown",
"fa-facebook", "fa-facebook",
"fa-fluid", "fa-fluid",
"fa-font-awesome",
"fa-fw", "fa-fw",
"fa-github", "fa-github",
"fa-globe", "fa-globe",
"fa-grip", "fa-grip",
"fa-h", "fa-h",
"fa-hand-pointer",
"fa-heart", "fa-heart",
"fa-house", "fa-house",
"fa-info", "fa-info",
@@ -273,14 +256,11 @@
"fa-link", "fa-link",
"fa-linkedin", "fa-linkedin",
"fa-magnifying-glass", "fa-magnifying-glass",
"fa-markdown",
"fa-medium", "fa-medium",
"fa-moon", "fa-moon",
"fa-robot",
"fa-rocket", "fa-rocket",
"fa-rotate-90", "fa-rotate-90",
"fa-share-nodes", "fa-share-nodes",
"fa-sitemap",
"fa-sort", "fa-sort",
"fa-square-check", "fa-square-check",
"fa-stack", "fa-stack",
@@ -288,7 +268,6 @@
"fa-stack-2x", "fa-stack-2x",
"fa-sun", "fa-sun",
"fa-timeline", "fa-timeline",
"fa-trash-can",
"fa-up-right-from-square", "fa-up-right-from-square",
"fa-whatsapp", "fa-whatsapp",
"fa-wrapper", "fa-wrapper",
@@ -345,12 +324,9 @@
"img-wrap", "img-wrap",
"invisible", "invisible",
"is-search", "is-search",
"justify-content-around",
"justify-content-between", "justify-content-between",
"justify-content-center", "justify-content-center",
"justify-content-end", "justify-content-end",
"justify-content-evenly",
"justify-content-md-end",
"justify-content-md-start", "justify-content-md-start",
"justify-content-start", "justify-content-start",
"katex", "katex",
@@ -391,10 +367,8 @@
"mt-auto", "mt-auto",
"mt-md-0", "mt-md-0",
"multi-docs-collapse-15", "multi-docs-collapse-15",
"multi-docs-collapse-19", "multi-docs-collapse-16",
"multi-docs-collapse-20",
"multi-file-collapse-1", "multi-file-collapse-1",
"multi-file-collapse-5",
"mx-auto", "mx-auto",
"mx-md-0", "mx-md-0",
"mx-md-2", "mx-md-2",
@@ -421,8 +395,6 @@
"navbar-toggler", "navbar-toggler",
"next", "next",
"no-js", "no-js",
"offset-md-4",
"offset-sm-2",
"order-0", "order-0",
"order-1", "order-1",
"order-first", "order-first",
@@ -523,7 +495,6 @@
"text-decoration-none", "text-decoration-none",
"text-end", "text-end",
"text-info", "text-info",
"text-md-end",
"text-muted", "text-muted",
"text-nowrap", "text-nowrap",
"text-primary", "text-primary",
@@ -601,19 +572,12 @@
"block-diagram", "block-diagram",
"blog", "blog",
"body-docs-collapse-15", "body-docs-collapse-15",
"body-docs-collapse-19", "body-docs-collapse-16",
"body-docs-collapse-20",
"body-file-collapse-1", "body-file-collapse-1",
"body-file-collapse-5",
"bouton", "bouton",
"breadcrumb", "breadcrumb",
"build-a-static-website-fast-and-flexible",
"button", "button",
"button-group", "button-group",
"buttons-with-a-badge",
"buttons-with-a-collapsible-panel",
"buttons-with-a-tooltip",
"buttons-with-an-icon",
"c4-diagram", "c4-diagram",
"card", "card",
"card-group", "card-group",
@@ -626,7 +590,6 @@
"cloudinary", "cloudinary",
"collapse", "collapse",
"collapse-1", "collapse-1",
"colored-buttons",
"command-prompt", "command-prompt",
"comment-nous-partageons-vos-informations", "comment-nous-partageons-vos-informations",
"comment-utilisons-nous-les-cookies-", "comment-utilisons-nous-les-cookies-",
@@ -635,78 +598,55 @@
"cookies-etc", "cookies-etc",
"custom-activity", "custom-activity",
"data-tables", "data-tables",
"developer-friendly-and-secure",
"docs", "docs",
"documentation", "documentation",
"elements-type", "elements-type",
"entity-relationship-diagram", "entity-relationship-diagram",
"example", "example",
"examples",
"exemple", "exemple",
"fa-address-card", "fa-address-card",
"fa-face-frown", "fa-face-frown",
"fa-font-awesome",
"fa-hand-pointer",
"fa-square-check", "fa-square-check",
"fab-bootstrap", "fab-bootstrap",
"fab-docker", "fab-docker",
"fab-facebook", "fab-facebook",
"fab-github", "fab-github",
"fab-linkedin", "fab-linkedin",
"fab-markdown",
"fab-medium", "fab-medium",
"fab-whatsapp", "fab-whatsapp",
"fab-x-twitter", "fab-x-twitter",
"faq-03262a038417e1bab3887f63db7d440f", "faq-50c692e264c634586e8c4ecaa233a9fe",
"faq-03262a038417e1bab3887f63db7d440f-heading-faq-03262a038417e1bab3887f63db7d440f", "faq-50c692e264c634586e8c4ecaa233a9fe-heading-faq-50c692e264c634586e8c4ecaa233a9fe",
"faq-03262a038417e1bab3887f63db7d440f-item-0", "faq-50c692e264c634586e8c4ecaa233a9fe-item-0",
"faq-03262a038417e1bab3887f63db7d440f-item-1", "faq-50c692e264c634586e8c4ecaa233a9fe-item-1",
"faq-03262a038417e1bab3887f63db7d440f-item-2", "faq-50c692e264c634586e8c4ecaa233a9fe-item-2",
"faq-516ddc5b7dd16bc24b857082a9aab4ed", "faq-6970cc0aa1c2d2d4c1359a93d3193646",
"faq-516ddc5b7dd16bc24b857082a9aab4ed-heading-faq-516ddc5b7dd16bc24b857082a9aab4ed", "faq-6970cc0aa1c2d2d4c1359a93d3193646-heading-faq-6970cc0aa1c2d2d4c1359a93d3193646",
"faq-516ddc5b7dd16bc24b857082a9aab4ed-item-0", "faq-6970cc0aa1c2d2d4c1359a93d3193646-item-0",
"faq-516ddc5b7dd16bc24b857082a9aab4ed-item-1", "faq-6970cc0aa1c2d2d4c1359a93d3193646-item-1",
"faq-516ddc5b7dd16bc24b857082a9aab4ed-item-2", "faq-6970cc0aa1c2d2d4c1359a93d3193646-item-2",
"faq-56ff67870957c4eb63627fad0245b8b7", "faq-85f9e7e957de15130b6401c39140dad6",
"faq-56ff67870957c4eb63627fad0245b8b7-heading-faq-56ff67870957c4eb63627fad0245b8b7", "faq-85f9e7e957de15130b6401c39140dad6-heading-faq-85f9e7e957de15130b6401c39140dad6",
"faq-56ff67870957c4eb63627fad0245b8b7-item-0", "faq-85f9e7e957de15130b6401c39140dad6-item-0",
"faq-56ff67870957c4eb63627fad0245b8b7-item-1", "faq-85f9e7e957de15130b6401c39140dad6-item-1",
"faq-56ff67870957c4eb63627fad0245b8b7-item-2", "faq-85f9e7e957de15130b6401c39140dad6-item-2",
"faq-a65942a4e80d8b9331232f2839b0b404", "faq-d5c6be23853321daeaf421994a4c5937",
"faq-a65942a4e80d8b9331232f2839b0b404-heading-faq-a65942a4e80d8b9331232f2839b0b404", "faq-d5c6be23853321daeaf421994a4c5937-heading-faq-d5c6be23853321daeaf421994a4c5937",
"faq-a65942a4e80d8b9331232f2839b0b404-item-0", "faq-d5c6be23853321daeaf421994a4c5937-item-0",
"faq-a65942a4e80d8b9331232f2839b0b404-item-1", "faq-d5c6be23853321daeaf421994a4c5937-item-1",
"faq-a65942a4e80d8b9331232f2839b0b404-item-2", "faq-d5c6be23853321daeaf421994a4c5937-item-2",
"faq-b7d43cad454395dd12765b2970e95cbc",
"faq-b7d43cad454395dd12765b2970e95cbc-heading-faq-b7d43cad454395dd12765b2970e95cbc",
"faq-b7d43cad454395dd12765b2970e95cbc-item-0",
"faq-b7d43cad454395dd12765b2970e95cbc-item-1",
"faq-b7d43cad454395dd12765b2970e95cbc-item-2",
"faq-c411b9f9b15c4b7a1a0d1de458f85fc9",
"faq-c411b9f9b15c4b7a1a0d1de458f85fc9-heading-faq-c411b9f9b15c4b7a1a0d1de458f85fc9",
"faq-c411b9f9b15c4b7a1a0d1de458f85fc9-item-0",
"faq-c411b9f9b15c4b7a1a0d1de458f85fc9-item-1",
"faq-c411b9f9b15c4b7a1a0d1de458f85fc9-item-2",
"faq-e6bc2b3599e2d94773085876d5822076",
"faq-e6bc2b3599e2d94773085876d5822076-heading-faq-e6bc2b3599e2d94773085876d5822076",
"faq-e6bc2b3599e2d94773085876d5822076-item-0",
"faq-e6bc2b3599e2d94773085876d5822076-item-1",
"faq-e6bc2b3599e2d94773085876d5822076-item-2",
"fas-1", "fas-1",
"fas-2", "fas-2",
"fas-3", "fas-3",
"fas-angle-left", "fas-angle-left",
"fas-arrow-left", "fas-arrow-left",
"fas-arrow-right", "fas-arrow-right",
"fas-book-open",
"fas-check",
"fas-chevron-right", "fas-chevron-right",
"fas-circle", "fas-circle",
"fas-circle-check", "fas-circle-check",
"fas-circle-play", "fas-circle-play",
"fas-circle-question", "fas-circle-question",
"fas-code", "fas-code",
"fas-display",
"fas-divide", "fas-divide",
"fas-ellipsis", "fas-ellipsis",
"fas-globe", "fas-globe",
@@ -718,25 +658,19 @@
"fas-link", "fas-link",
"fas-magnifying-glass", "fas-magnifying-glass",
"fas-moon", "fas-moon",
"fas-robot",
"fas-rocket", "fas-rocket",
"fas-share-nodes", "fas-share-nodes",
"fas-sitemap",
"fas-sort", "fas-sort",
"fas-sun", "fas-sun",
"fas-timeline", "fas-timeline",
"fas-trash-can",
"fas-up-right-from-square", "fas-up-right-from-square",
"fichier", "fichier",
"fil-dariane", "fil-dariane",
"file", "file",
"flexible--ready-to-use",
"flowchart", "flowchart",
"footer-docs-collapse-15", "footer-docs-collapse-15",
"footer-docs-collapse-19", "footer-docs-collapse-16",
"footer-docs-collapse-20",
"footer-file-collapse-1", "footer-file-collapse-1",
"footer-file-collapse-5",
"formula-katex", "formula-katex",
"formule-katex", "formule-katex",
"gantt-diagram", "gantt-diagram",
@@ -780,10 +714,10 @@
"nav-0-0", "nav-0-0",
"nav-0-1", "nav-0-1",
"nav-0-2", "nav-0-2",
"nav-0-btn-0",
"nav-0-btn-1",
"nav-0-btn-2",
"nav-nav-0", "nav-nav-0",
"nav-nav-0-btn-0",
"nav-nav-0-btn-1",
"nav-nav-0-btn-2",
"navbar", "navbar",
"navbar-0-collapse", "navbar-0-collapse",
"navbar-mode", "navbar-mode",
@@ -791,11 +725,9 @@
"navbar-sample-collapse", "navbar-sample-collapse",
"navigation", "navigation",
"notification", "notification",
"outlined-buttons",
"overview", "overview",
"persona", "persona",
"pie-chart", "pie-chart",
"powered-by-open-source",
"projecten", "projecten",
"projects", "projects",
"projets", "projets",
@@ -807,10 +739,8 @@
"réduire", "réduire",
"security", "security",
"sequence-diagram", "sequence-diagram",
"sized-buttons",
"spinner", "spinner",
"state-diagram", "state-diagram",
"stateful-buttons",
"sub", "sub",
"sup", "sup",
"sécurité", "sécurité",

2
go.mod
View File

@@ -18,7 +18,7 @@ require (
github.com/gethinode/mod-simple-datatables v1.1.7 // indirect github.com/gethinode/mod-simple-datatables v1.1.7 // indirect
github.com/gethinode/mod-simple-datatables/v2 v2.0.1 // indirect github.com/gethinode/mod-simple-datatables/v2 v2.0.1 // indirect
github.com/gethinode/mod-utils/v3 v3.3.1 // indirect github.com/gethinode/mod-utils/v3 v3.3.1 // indirect
github.com/gethinode/mod-utils/v4 v4.6.0 // indirect github.com/gethinode/mod-utils/v4 v4.8.4 // indirect
github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect github.com/nextapps-de/flexsearch v0.0.0-20250606060143-c28f52c09b7a // indirect
github.com/twbs/bootstrap v5.3.7+incompatible // indirect github.com/twbs/bootstrap v5.3.7+incompatible // indirect
) )

12
go.sum
View File

@@ -440,6 +440,18 @@ github.com/gethinode/mod-utils/v4 v4.5.1 h1:VKmqi6+oC93noHUJ6HvFlelglHT/9+kXQjpJ
github.com/gethinode/mod-utils/v4 v4.5.1/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4= github.com/gethinode/mod-utils/v4 v4.5.1/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.6.0 h1:XQ7hiCrn15SzgkcD0j53XVZPQYeQKUxg/UUkr80pJ2w= github.com/gethinode/mod-utils/v4 v4.6.0 h1:XQ7hiCrn15SzgkcD0j53XVZPQYeQKUxg/UUkr80pJ2w=
github.com/gethinode/mod-utils/v4 v4.6.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4= github.com/gethinode/mod-utils/v4 v4.6.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.7.0 h1:JaL/+APOwdEzAi6y174ZdwoguCdALyGiGX8qBVXXBdU=
github.com/gethinode/mod-utils/v4 v4.7.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.8.0 h1:/+M3EHqA8IzgBWXX1GLmT/xKbk2FVhUwmUfMnk/goF4=
github.com/gethinode/mod-utils/v4 v4.8.0/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.8.1 h1:XJULrx5VWO4wR69EsvfPp9bQoRvx8Y7GwnknpDbrDpg=
github.com/gethinode/mod-utils/v4 v4.8.1/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.8.2 h1:mhPmqdeCar2sOdVwKIyJl5la0RVBPtw4d29ncRKN3ek=
github.com/gethinode/mod-utils/v4 v4.8.2/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.8.3 h1:CSaFR/c1cGrSPpH5ZfrNOoMhAbNb8sw0SCRh9ZxCJTU=
github.com/gethinode/mod-utils/v4 v4.8.3/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/gethinode/mod-utils/v4 v4.8.4 h1:ExD2zZCGonAmbIxC9wBU2dp+V4ZfvG46NWaz+LaV3iQ=
github.com/gethinode/mod-utils/v4 v4.8.4/go.mod h1:bYmvRdAo4ICy5MpSGafDvO4p5bTDpsDKFCPL3bH0mN4=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3 h1:H/qVR5O4BXjRjD+5PZB+r4ug2BSJ2Of4RtwOntd+OKo=
github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU= github.com/nextapps-de/flexsearch v0.0.0-20230711092928-1243fd883ec3/go.mod h1:5GdMfPAXzbA2gXBqTjC6l27kioSYzHlqDMh0+wyx7sU=
github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg= github.com/nextapps-de/flexsearch v0.0.0-20240108021025-afd75f742f22 h1:re7L8FxbXQpnX8BgzkdUnDpsUmloGNyLmiy2ZCln8pg=

View File

@@ -33,7 +33,6 @@
"classes": [ "classes": [
"active", "active",
"align-items-center", "align-items-center",
"align-items-start",
"align-self-center", "align-self-center",
"align-self-end", "align-self-end",
"ball", "ball",
@@ -53,8 +52,6 @@
"col-12", "col-12",
"col-6", "col-6",
"col-8", "col-8",
"col-md-1",
"col-md-11",
"col-md-2", "col-md-2",
"col-md-6", "col-md-6",
"col-md-8", "col-md-8",
@@ -78,7 +75,7 @@
"fa-10x", "fa-10x",
"fa-2x", "fa-2x",
"fa-angle-left", "fa-angle-left",
"fa-book-open", "fa-chevron-right",
"fa-ellipsis", "fa-ellipsis",
"fa-face-frown", "fa-face-frown",
"fa-fw", "fa-fw",
@@ -174,10 +171,10 @@
"section-cover", "section-cover",
"shadow", "shadow",
"svg-inline--fa", "svg-inline--fa",
"text-",
"text-body", "text-body",
"text-center", "text-center",
"text-decoration-none", "text-decoration-none",
"text-md-start",
"text-muted", "text-muted",
"text-secondary", "text-secondary",
"text-sm-start", "text-sm-start",
@@ -196,7 +193,7 @@
"fab-linkedin", "fab-linkedin",
"fab-medium", "fab-medium",
"fas-angle-left", "fas-angle-left",
"fas-book-open", "fas-chevron-right",
"fas-ellipsis", "fas-ellipsis",
"fas-moon", "fas-moon",
"fas-sun", "fas-sun",

View File

@@ -125,7 +125,9 @@
{{ if in (slice "types" "both") $args.renderType }} {{ if in (slice "types" "both") $args.renderType }}
{{ $prefix := strings.Repeat $args.headerLevel "#" }} {{ $prefix := strings.Repeat $args.headerLevel "#" }}
{{ range $k, $v := $types.udt }} {{ range $k, $v := $types.udt }}
{{ printf "%s %s %s" $prefix $k (T "type") | $args.page.RenderString }} {{ $title := $k }}
{{ if site.Params.main.titleCase }}{{ $title = title $title }}{{ end }}
{{ printf "%s %s %s" $prefix $title (T "type") | $args.page.RenderString }}
{{ partial "inline/args-table.html" (merge $params (dict "args" $v)) }} {{ partial "inline/args-table.html" (merge $params (dict "args" $v)) }}
{{ end }} {{ end }}
{{ end }} {{ end }}

View File

@@ -113,7 +113,7 @@
{{/* Limit list to max elements */}} {{/* Limit list to max elements */}}
{{- $count := len $elements -}} {{- $count := len $elements -}}
{{- $max := $count -}} {{- $max := $count -}}
{{- $max = math.Min ($args.max | default $count) $count -}} {{- $max = math.Min ((or $args.limit $args.max) | default $count) $count -}}
{{- if not $args.paginate -}} {{- if not $args.paginate -}}
{{- $elements = first $max $elements -}} {{- $elements = first $max $elements -}}
{{- end -}} {{- end -}}

View File

@@ -179,7 +179,7 @@
{{ if eq (lower (path.Ext $thumbnail)) ".svg" }}{{ $fullHeight = "" }}{{ $rounding = "" }}{{ end }} {{ if eq (lower (path.Ext $thumbnail)) ".svg" }}{{ $fullHeight = "" }}{{ $rounding = "" }}{{ end }}
{{- partial $args.hook (dict {{- partial $args.hook (dict
"src" $thumbnail "src" $thumbnail
"ratio" (or $ratio "1x1") "ratio" (or $ratio "auto")
"portrait" $args.portrait "portrait" $args.portrait
"sizes" $args.sizes "sizes" $args.sizes
"anchor" $anchor "anchor" $anchor
@@ -203,9 +203,22 @@
{{- end -}} {{- end -}}
<div class="{{ $col2 }}"> <div class="{{ $col2 }}">
<div class="card-body d-flex p-{{ $args.padding }} flex-column h-100 flex-fill"> <div class="card-body d-flex p-{{ $args.padding }} flex-column h-100 flex-fill">
{{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.headerStyle "color" $args.color) }}</div>{{ end }} {{ if $page }}
<div>{{ partial "inline/card-caption.html" (dict
"page" $page
"keywords" $args.headerStyle
"color" $args.color
) }}
</div>
{{ end }}
<div class="flex-fill"> <div class="flex-fill">
{{- partial "inline/card-body.html" (dict "title" $title "href" $href "color" $args.color "description" $description "button" $args.button) -}} {{- partial "inline/card-body.html" (dict
"title" $title
"href" $href
"color" $args.color
"description" $description
"button" $args.button
) -}}
</div> </div>
{{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.footerStyle "color" $args.color) }}</div>{{ end }} {{ if $page }}<div>{{ partial "inline/card-caption.html" (dict "page" $page "keywords" $args.footerStyle "color" $args.color) }}</div>{{ end }}
{{ if and $href $args.button }} {{ if and $href $args.button }}

View File

@@ -83,7 +83,7 @@
{{ else }} {{ else }}
{{ warnf "Unsupported media type '%s': %q" (string $res.MediaType) $src -}} {{ warnf "Unsupported media type '%s': %q" (string $res.MediaType) $src -}}
{{ end }} {{ end }}
{{ else if $args.ratio }} {{ else if and $args.ratio (ne $args.ratio "auto") }}
{{ $transform = "fill" }} {{ $transform = "fill" }}
{{ $dims = partial "assets/helpers/GetDimension.html" (dict "ratio" $args.ratio) }} {{ $dims = partial "assets/helpers/GetDimension.html" (dict "ratio" $args.ratio) }}
{{ if not $dims }}{{ errorf "partial [assets/image.html] - Cannot find dimension data: %s" $args.ratio }}{{ end }} {{ if not $dims }}{{ errorf "partial [assets/image.html] - Cannot find dimension data: %s" $args.ratio }}{{ end }}
@@ -148,12 +148,13 @@
)}} )}}
{{ if $args.imageset }} {{ if $args.imageset }}
{{- $set = partial "assets/helpers/image-set.html" (dict {{- $set = partial "assets/helpers/image-set.html" (dict
"src" $src "src" $src
"img" $img "img" $img
"dims" $dims "dims" $dims
"anchor" $args.anchor "anchor" $args.anchor
"transform" $transform "transform" $transform
"hook" $hook "hook" $hook
"include-width" true
) -}} ) -}}
{{ end }} {{ end }}
{{ end }} {{ end }}

View File

@@ -101,6 +101,7 @@
"link-type" (or $args.linkType $args.type) "link-type" (or $args.linkType $args.type)
"class" "hero-title" "class" "hero-title"
"arrangement" $arrangement "arrangement" $arrangement
"justify" $args.justify
) }} ) }}
{{ if eq $args.orientation "stacked" }} {{ if eq $args.orientation "stacked" }}

View File

@@ -6,16 +6,16 @@
*/}} */}}
{{/* Initialize arguments */}} {{/* Initialize arguments */}}
{{ $args := partial "utilities/InitArgs.html" (dict "structure" "nav-item" "args" . "group" "partial") }} {{- $args := partial "utilities/InitArgs.html" (dict "structure" "nav-item" "args" . "group" "partial") -}}
{{ if or $args.err $args.warnmsg }} {{- if or $args.err $args.warnmsg -}}
{{ partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict {{- partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
"partial" "assets/nav-item.html" "partial" "assets/nav-item.html"
"warnid" "warn-invalid-arguments" "warnid" "warn-invalid-arguments"
"msg" "Invalid arguments" "msg" "Invalid arguments"
"details" ($args.errmsg | append $args.warnmsg) "details" ($args.errmsg | append $args.warnmsg)
"file" page.File "file" page.File
)}} ) -}}
{{ end }} {{- end -}}
{{/* Initialize local arguments */}} {{/* Initialize local arguments */}}
{{- $parentID := or $args.parentId $args.parentID -}} {{- $parentID := or $args.parentId $args.parentID -}}
@@ -36,16 +36,16 @@
"class" "hero-image" "class" "hero-image"
"image-overlay" $args.imageOverlay "image-overlay" $args.imageOverlay
) }} ) }}
{{ else }} {{- else -}}
{{ $illustration = partial $args.hook (dict "page" $args.page "image" $args.illustration) }} {{- $illustration = partial $args.hook (dict "page" $args.page "image" $args.illustration) -}}
{{ end }} {{- end -}}
{{/* Main code */}} {{/* Main code */}}
{{ if not $args.err }} {{- if not $args.err -}}
{{ if eq $type "accordion" }} {{- if eq $type "accordion" -}}
<div class="accordion-item{{ if $args.show }} show{{ end }}{{ with $args.class }} {{ . }}{{ end }}"> <div class="accordion-item{{ if $args.show }} show{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
{{- with $title -}} {{- with $title -}}
<h2 id="accordion-{{ $parentID }}-heading-{{ $args.id }}" class="accordion-header m-0" > <h2 id="accordion-{{ $parentID }}-heading-{{ $args.id }}" class="accordion-header m-0">
<button <button
class="accordion-button collapsed {{ if $args.disabled }} text-secondary{{ end }}" class="accordion-button collapsed {{ if $args.disabled }} text-secondary{{ end }}"
type="button" type="button"
@@ -55,14 +55,14 @@
aria-controls="accordion-{{ $parentID }}-item-{{ $args.id }}" aria-controls="accordion-{{ $parentID }}-item-{{ $args.id }}"
{{ if $args.disabled }} disabled{{ end }} {{ if $args.disabled }} disabled{{ end }}
> >
{{ if $illustration }} {{- if $illustration -}}
<div class="row"> <div class="row">
<div class="col-3 col-sm-2 my-auto">{{ $illustration | safeHTML }}</div> <div class="col-3 col-sm-2 my-auto">{{ $illustration | safeHTML }}</div>
<div class="col-9 col-sm-10 fs-6 fs-sm-5 my-auto">{{ . }}</div> <div class="col-9 col-sm-10 fs-6 fs-sm-5 my-auto">{{ . }}</div>
</div> </div>
{{ else }} {{- else }}
{{ . }} {{ . }}
{{ end }} {{ end -}}
</button> </button>
</h2> </h2>
{{- end -}} {{- end -}}
@@ -75,19 +75,16 @@
<div class="accordion-body">{{ $args.body | $args.page.RenderString | safeHTML }}</div> <div class="accordion-body">{{ $args.body | $args.page.RenderString | safeHTML }}</div>
</div> </div>
</div> </div>
{{ else }} {{- else -}}
<div <div
id="{{ $parentID }}-{{ $args.id }}" id="{{ $parentID }}-{{ $args.id }}"
class="tab-pane{{ if $args.show }} active {{ if $args.fade }}show{{ end }}{{ end }} {{ if $args.fade }}fade{{ end }}{{ with $args.class }} {{ . }}{{ end }}" class="tab-pane{{ if $args.show }} active{{ if $args.fade }} show{{ end }}{{ end }}{{ if $args.fade }} fade{{ end }}{{ with $args.class }} {{ . }}{{ end }}"
role="tabpanel" role="tabpanel"
aria-labelledby="{{ $parentID }}-btn-{{ $args.id }}" aria-labelledby="{{ $parentID }}-btn-{{ $args.id }}"
tabindex="0" tabindex="0"
data-header="{{ $title }}"
{{ if $args.show }}data-show-id="{{ $args.id }}"{{ end }}
data-has-content="{{ gt (len $args.body) 0 }}" data-has-content="{{ gt (len $args.body) 0 }}"
{{ if $args.disabled }} data-disabled-id="{{ $args.id }}"{{ end }}
> >
{{ $args.body | $args.page.RenderString | safeHTML }} {{ $args.body | $args.page.RenderString | safeHTML }}
</div> </div>
{{ end }} {{- end -}}
{{ end }} {{- end -}}

View File

@@ -42,7 +42,7 @@
"class" $args.class "class" $args.class
"body" (or $item.Description $item.Content) "body" (or $item.Description $item.Content)
"show" false "show" false
"disabled" false "disabled" $item.disabled
"item_type" "accordion" "item_type" "accordion"
"illustration" (partial "utilities/GetIllustration.html" (dict "item" $item "size" "col-12")) "illustration" (partial "utilities/GetIllustration.html" (dict "item" $item "size" "col-12"))
) )
@@ -64,11 +64,14 @@
{{- range $args.list }}{{ $titles = $titles | append .Title }} {{ end -}} {{- range $args.list }}{{ $titles = $titles | append .Title }} {{ end -}}
{{- if reflect.IsSlice $args.navTitles }}{{ $titles = $titles | append $args.navTitles }}{{ end -}} {{- if reflect.IsSlice $args.navTitles }}{{ $titles = $titles | append $args.navTitles }}{{ end -}}
{{- range $index, $item := $titles -}} {{- range $index, $item := $titles -}}
{{ $show := eq $index 0}} {{ $itemID := printf "%s-btn-%d" $args.id $index -}}
{{- $show := eq $index 0 -}}
{{- if $args.navShow }}{{ $show = eq $args.navShow $itemID }}{{ end -}}
{{- $disabled := in $args.navDisabled $itemID -}}
<li class="nav-item" role="presentation"> <li class="nav-item" role="presentation">
<button <button
class="nav-link {{ if not $wrap }} text-nowrap{{ end }}{{ if $show }} active{{ end }}" class="nav-link{{ if not $wrap }} text-nowrap{{ end }}{{ if $show }} active{{ end }}{{ if $disabled }} disabled{{ end }}"
id="nav-{{ $id }}-btn-{{ $index }}" id="{{ $itemID }}"
data-bs-toggle="pill" data-bs-toggle="pill"
data-bs-target="#{{ $id }}-{{ $index }}" data-bs-target="#{{ $id }}-{{ $index }}"
type="button" type="button"
@@ -82,7 +85,7 @@
{{ end -}} {{ end -}}
</ul> </ul>
<div class="tab-content {{ if eq $type "tabs" }}border border-bottom-0 p-3{{ else if $args.vertical }}ms-3{{ else }}mt-3{{ end }}"> <div class="tab-content {{ if eq $type "tabs" }}border p-3{{ else if $args.vertical }}ms-3{{ else }}mt-3{{ end }}">
{{- range $index, $item := $args.list -}} {{- range $index, $item := $args.list -}}
{{- $header := $item.Title -}} {{- $header := $item.Title -}}
{-{ $body := $item.Content -}} {-{ $body := $item.Content -}}

View File

@@ -26,8 +26,9 @@
{{- $preheading := $args.heading.preheading }} {{- $preheading := $args.heading.preheading }}
{{- $title := $args.heading.title }} {{- $title := $args.heading.title }}
{{- $width := $args.heading.width | default 12 -}} {{- $width := $args.heading.width | default 12 -}}
{{- $width = cond (lt $width 12) (printf "col-12 col-%s-%d" $breakpoint.current $width) "" }}
{{ if and (not $preheading) $args.useSection }}{{ $preheading = page.CurrentSection.Name }}{{ end }} {{ if and (not $preheading) $args.useSection }}{{ $preheading = page.CurrentSection.Name }}{{ end }}
{{ $justify := cond (eq $args.justify "start") "" (cond (eq $args.justify "end") "me-0" "mx-auto") }}
{{ if site.Params.main.titleCase }} {{ if site.Params.main.titleCase }}
{{ $preheading = title $preheading }} {{ $preheading = title $preheading }}
@@ -85,7 +86,7 @@
}} }}
<!-- Main code --> <!-- Main code -->
<div class="text-{{ $args.heading.align }}{{ with $args.class }} {{ . }}{{ end }}{{ if lt $width 12 }} col-12 col-{{ $breakpoint.current }}-{{ $width }}{{ end }} py-{{ $padding.y }}"> <div class="text-{{ $args.heading.align }}{{ with $justify }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}{{ with $width }} {{ . }}{{ end }} py-{{ $padding.y }}">
{{ if and $preheading (eq $arrangement "first") }} {{ if and $preheading (eq $arrangement "first") }}
<div class="container-fluid"> <div class="container-fluid">
<div class="row"> <div class="row">

View File

@@ -45,7 +45,7 @@
{{- end -}} {{- end -}}
<div class="py-3 text-body-secondary hstack gap-1"> <div class="py-3 text-body-secondary hstack gap-1">
{{ T "shareLink" "" }} {{ T "shareLink" " " }}
{{- range $index, $item := $list -}} {{- range $index, $item := $list -}}
{{- $url := $item.url -}} {{- $url := $item.url -}}
{{- $url = replace $url "{url}" $page.Permalink -}} {{- $url = replace $url "{url}" $page.Permalink -}}

View File

@@ -104,6 +104,7 @@
"links" $args.links "links" $args.links
"link-type" (or $args.linkType $args.type) "link-type" (or $args.linkType $args.type)
"arrangement" $arrangement "arrangement" $arrangement
"justify" $args.justify
) }} ) }}
{{ end }} {{ end }}

View File

@@ -33,10 +33,6 @@
{{ end }} {{ end }}
{{ else }} {{ else }}
{{- $thumbnail = $page.Params.Thumbnail -}} {{- $thumbnail = $page.Params.Thumbnail -}}
{{ if or $page.Params.photoCredits $page.Params.photoSource }}
{{ warnf "DEPRECATED: frontmatter variables `photoCredits` and `photoSource` have been deprecated in release v0.18: %s" $page.RelPermalink }}
{{ end }}
{{- if and $page.Params.photoCredits $page.Params.PhotoSource }}{{ $credits = printf (T "photoFull") $page.Params.photoCredits $page.Params.PhotoSource }}{{ end -}}
{{- end -}} {{- end -}}
{{ if $thumbnail -}} {{ if $thumbnail -}}

View File

@@ -35,21 +35,23 @@
{{ $blocks = $blocks | append (dict {{ $blocks = $blocks | append (dict
"_bookshop_name" "hero" "_bookshop_name" "hero"
"heading" (dict "title" $pageTitle "align" $page.Site.Params.modules.bookshop.hero.align) "heading" (dict "title" $pageTitle "align" $page.Site.Params.modules.bookshop.hero.align)
"breadcrumb" $breadcrumb "breadcrumb" $breadcrumb
"background" (dict "backdrop" $page.Site.Params.modules.bookshop.hero.backdrop) "background" (dict "backdrop" $page.Site.Params.modules.bookshop.hero.backdrop)
"overlay-mode" $page.Site.Params.modules.bookshop.hero.overlayMode "overlay-mode" $page.Site.Params.modules.bookshop.hero.overlayMode
"justify" "start"
)}} )}}
{{ if eq $page.Kind "section" }} {{ if eq $page.Kind "section" }}
{{ $blocks = $blocks | append (dict {{ $blocks = $blocks | append (dict
"_bookshop_name" "articles" "_bookshop_name" "articles"
"hide-empty" false "hide-empty" false
"input" (dict "section" $page.Section "reverse" true "sort" "date" "nested" true) "input" (dict "section" $page.Section "reverse" true "sort" "date" "nested" true)
"cols" 3 "cols" 3
"padding" "0" "padding" "0"
"paginate" true "paginate" true
"scroll" false "scroll" false
"justify" "start"
)}} )}}
{{ end }} {{ end }}

View File

@@ -26,27 +26,27 @@
{{- $class := partial "utilities/GetArgParent" (dict "page" . "arg" "class" "merge" true) -}} {{- $class := partial "utilities/GetArgParent" (dict "page" . "arg" "class" "merge" true) -}}
{{- $color := partial "utilities/GetArgParent" (dict "page" . "arg" "color") -}} {{- $color := partial "utilities/GetArgParent" (dict "page" . "arg" "color") -}}
{{- $description := trim .Inner " \r\n" | .Page.RenderString | safeHTML -}} {{- $description := trim .Inner " \r\n" | .Page.RenderString | safeHTML -}}
{{- $footer := partial "utilities/GetArgParent" (dict "page" . "arg" "footer-style") | partial "utilities/GetArgParent" (dict "page" . "arg" "footer") | default "none" -}} {{- $footer := or (partial "utilities/GetArgParent" (dict "page" . "arg" "footer-style")) (partial "utilities/GetArgParent" (dict "page" . "arg" "footer")) -}}
{{- $gutter := partial "utilities/GetArgParent" (dict "page" . "arg" "gutter") | default "0" -}} {{- $gutter := partial "utilities/GetArgParent" (dict "page" . "arg" "gutter") -}}
{{- $header := partial "utilities/GetArgParent" (dict "page" . "arg" "header-style") | partial "utilities/GetArgParent" (dict "page" . "arg" "header") | default "full" -}} {{- $header := or (partial "utilities/GetArgParent" (dict "page" . "arg" "header-style")) (partial "utilities/GetArgParent" (dict "page" . "arg" "header")) -}}
{{- $icon := .Get "icon" -}} {{- $icon := .Get "icon" -}}
{{- $iconRounded := partial "utilities/GetArgParent" (dict "page" . "arg" "icon-rounded") | partial "utilities/GetArgParent" (dict "page" . "arg" "iconRounded") | default false -}} {{- $iconRounded := or (partial "utilities/GetArgParent" (dict "page" . "arg" "icon-rounded")) (partial "utilities/GetArgParent" (dict "page" . "arg" "iconRounded")) -}}
{{- $align := partial "utilities/GetArgParent" (dict "page" . "arg" "align") | default "start" -}} {{- $align := partial "utilities/GetArgParent" (dict "page" . "arg" "align") -}}
{{- $style := partial "utilities/GetArgParent" (dict "page" . "arg" "icon-style") | partial "utilities/GetArgParent" (dict "page" . "arg" "style") | default "" -}} {{- $style := or (partial "utilities/GetArgParent" (dict "page" . "arg" "icon-style")) (partial "utilities/GetArgParent" (dict "page" . "arg" "style")) -}}
{{- $subtle := partial "utilities/GetArgParent" (dict "page" . "arg" "subtle") | default false -}} {{- $subtle := partial "utilities/GetArgParent" (dict "page" . "arg" "subtle") -}}
{{- $loading := .Get "loading" -}} {{- $loading := .Get "loading" -}}
{{- $orientation := partial "utilities/GetArgParent" (dict "page" . "arg" "orientation") | default "stacked" -}} {{- $orientation := partial "utilities/GetArgParent" (dict "page" . "arg" "orientation") -}}
{{- $padding := partial "utilities/GetArgParent" (dict "page" . "arg" "padding") | default 3 -}} {{- $padding := partial "utilities/GetArgParent" (dict "page" . "arg" "padding") -}}
{{- $ratio := partial "utilities/GetArgParent" (dict "page" . "arg" "ratio") | default "" -}} {{- $ratio := partial "utilities/GetArgParent" (dict "page" . "arg" "ratio") -}}
{{- $page := .Page -}} {{- $page := .Page -}}
{{- $path := .Get "path" -}} {{- $path := .Get "path" -}}
{{- $thumbnail := .Get "thumbnail" -}} {{- $thumbnail := .Get "thumbnail" -}}
{{- $anchor := .Get "anchor" -}} {{- $anchor := .Get "anchor" -}}
{{- $title := .Get "title" -}} {{- $title := .Get "title" -}}
{{- $button := partial "utilities/GetArgParent" (dict "page" . "arg" "button") | default false -}} {{- $button := partial "utilities/GetArgParent" (dict "page" . "arg" "button") -}}
{{- $linkType := partial "utilities/GetArgParent" (dict "page" . "arg" "link-type") | partial "utilities/GetArgParent" (dict "page" . "arg" "buttonType") | default "" -}} {{- $linkType := or (partial "utilities/GetArgParent" (dict "page" . "arg" "link-type")) (partial "utilities/GetArgParent" (dict "page" . "arg" "buttonType")) -}}
{{- $cols := partial "utilities/GetArgParent" (dict "page" . "arg" "cols") | default 3 -}} {{- $cols := partial "utilities/GetArgParent" (dict "page" . "arg" "cols") -}}
{{- $scroll := partial "utilities/GetArgParent" (dict "page" . "arg" "scroll") | default false -}} {{- $scroll := partial "utilities/GetArgParent" (dict "page" . "arg" "scroll") -}}
{{- $wrapper := "" -}} {{- $wrapper := "" -}}
{{/* Override arguments */}} {{/* Override arguments */}}
@@ -66,7 +66,6 @@
{{ $wrapper = printf "card-block-%d p-0" $cols }} {{ $wrapper = printf "card-block-%d p-0" $cols }}
{{ end }} {{ end }}
{{/* Main code */}} {{/* Main code */}}
{{ if not $error -}} {{ if not $error -}}
{{/* Render card */}} {{/* Render card */}}

View File

@@ -73,7 +73,7 @@
</ul> </ul>
<div class="border-start border-end border-bottom mb-3"> <div class="border-start border-end border-bottom mb-3">
<div class="collapse multi-{{ $id }}{{ if $args.show }} show{{ end }} syntax-highlight" id="body-{{ $id }}"> <div class="collapse multi-{{ $id }}{{ if $args.show }} show{{ end }} syntax-highlight" id="body-{{ $id }}">
{{- highlight (trim $content "\r\n") $lang $args.options -}} {{- highlight (trim $content "\r\n") $lang (or $args.highlightOptions $args.options) -}}
</div> </div>
<div class="collapse multi-{{ $id }}{{ if not $args.show }} show{{ end }} p-3" id="footer-{{ $id }}"> <div class="collapse multi-{{ $id }}{{ if not $args.show }} show{{ end }} p-3" id="footer-{{ $id }}">
<a class="nav-link active" <a class="nav-link active"

View File

@@ -21,7 +21,7 @@
{{- end -}} {{- end -}}
{{/* Initialize local arguments */}} {{/* Initialize local arguments */}}
{{- $text := or $args.text $args.title }} {{- $text := trim (or $args.text $args.title) " \n\r" }}
{{- if not $text -}} {{- if not $text -}}
{{- partial "utilities/LogErr.html" (dict {{- partial "utilities/LogErr.html" (dict
"partial" "shortcodes/kbd.html" "partial" "shortcodes/kbd.html"
@@ -36,6 +36,6 @@
{{/* Main code */}} {{/* Main code */}}
{{- if not $error }} {{- if not $error }}
<kbd {{ if or $args.color $args.class }}class="{{ with $args.color }}text-bg-{{ . }} {{ end }}{{ $args.class }}"{{ end }}> <kbd {{ if or $args.color $args.class }}class="{{ with $args.color }}text-bg-{{ . }} {{ end }}{{ $args.class }}"{{ end }}>
{{ $text | plainify }} {{- $text -}}
</kbd> </kbd>
{{ end -}} {{ end -}}

View File

@@ -30,6 +30,8 @@
{{- if isset .Parent.Params "fade" }}{{ $parentFade = partial "utilities/CastBool.html" (.Parent.Get "fade") }}{{ end -}} {{- if isset .Parent.Params "fade" }}{{ $parentFade = partial "utilities/CastBool.html" (.Parent.Get "fade") }}{{ end -}}
{{- $fade = or $fade $parentFade -}} {{- $fade = or $fade $parentFade -}}
{{- $title := or $args.title $args.header -}} {{- $title := or $args.title $args.header -}}
{{- $itemID := printf "%s-btn-%d" $parent $id }}
{{- $disabledID := cond $args.disabled $itemID "" }}
{{- $body := trim .Inner " \r\n" -}} {{- $body := trim .Inner " \r\n" -}}
{{- $current := "" -}} {{- $current := "" -}}
@@ -49,15 +51,19 @@
{{- $current := .Parent.Scratch.Get "inner" -}} {{- $current := .Parent.Scratch.Get "inner" -}}
{{- $titles := .Parent.Scratch.Get "inner-title" -}} {{- $titles := .Parent.Scratch.Get "inner-title" -}}
{{- $disabled := .Parent.Scratch.Get "inner-disabled" -}}
{{- if $args.show }}{{ .Parent.Scratch.Set "inner-show" $itemID }}{{ end -}}
{{- if $current -}} {{- if $current -}}
{{- .Parent.Scratch.Set "inner" (print $current $output) -}} {{- .Parent.Scratch.Set "inner" (print $current $output) -}}
{{- .Parent.Scratch.Set "inner-title" ($titles | append $title) -}} {{- .Parent.Scratch.Set "inner-title" ($titles | append $title) -}}
{{- .Parent.Scratch.Set "inner-disabled" ($disabled | append $disabledID) -}}
{{- else -}} {{- else -}}
{{- .Parent.Scratch.Set "inner" $output -}} {{- .Parent.Scratch.Set "inner" $output -}}
{{- .Parent.Scratch.Set "inner-title" (slice $title) -}} {{- .Parent.Scratch.Set "inner-title" (slice $title) -}}
{{- .Parent.Scratch.Set "inner-disabled" (slice $disabledID) -}}
{{- end }} {{- end }}
{{- $alternative := partial "assets/nav-item" (dict {{- $alternative := partial "assets/nav-item.html" (dict
"page" .Page "page" .Page
"id" $id "id" $id
"parent-id" $parent "parent-id" $parent

View File

@@ -19,6 +19,8 @@
{{- $inner := .Scratch.Get "inner" -}} {{- $inner := .Scratch.Get "inner" -}}
{{- $innerTitles := .Scratch.Get "inner-title" -}} {{- $innerTitles := .Scratch.Get "inner-title" -}}
{{- $innerDisabled := .Scratch.Get "inner-disabled" -}}
{{- $innerShow := .Scratch.Get "inner-show" -}}
{{- $input := trim .Inner " \r\n" -}} {{- $input := trim .Inner " \r\n" -}}
{{- if $input -}} {{- if $input -}}
{{- $input = replace $input "\n" "\n " -}} {{- $input = replace $input "\n" "\n " -}}
@@ -28,17 +30,19 @@
{{/* Main code */}} {{/* Main code */}}
{{- if not $args.err -}} {{- if not $args.err -}}
{{- partial "assets/nav.html" (dict {{- partial "assets/nav.html" (dict
"id" (or $args.id (printf "nav-%d" .Ordinal)) "id" (or $args.id (printf "nav-%d" .Ordinal))
"page" .Page "page" .Page
"list" $args.list "list" $args.list
"nav-items" $inner "nav-items" $inner
"nav-titles" $innerTitles "nav-titles" $innerTitles
"tab-type" (or $args.tabType $args.type) "nav-disabled" $innerDisabled
"vertical" $args.vertical "nav-show" $innerShow
"word-wrap" $args.wordWrap "tab-type" (or $args.tabType $args.type)
"class" $args.class "vertical" $args.vertical
"pane" $args.pane "word-wrap" $args.wordWrap
"width" $args.width "class" $args.class
"pane" $args.pane
"width" $args.width
) )
-}} -}}
{{- end -}} {{- end -}}

View File

@@ -1,3 +1,3 @@
{{- partial "single/thumbnail.html" (dict "page" . "wrapper" "mb-5") -}} {{- partial "page/thumbnail.html" (dict "page" . "wrapper" "mb-5") -}}
{{ partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }} {{ partial "utilities/ProcessContent" (dict "page" .Page "raw" .RawContent) }}

View File

@@ -27,9 +27,10 @@
{{ if .Date }} {{ if .Date }}
{{ $lastmodstr := (partial "utilities/date.html" (dict "date" .Lastmod "format" "long")) -}} {{ $lastmodstr := (partial "utilities/date.html" (dict "date" .Lastmod "format" "long")) -}}
{{ $datestr := (partial "utilities/date.html" (dict "date" .Date "format" "long")) -}} {{ $datestr := (partial "utilities/date.html" (dict "date" .Date "format" "long")) -}}
{{ $datestr | i18n "postedOnDate" -}} {{ if gt .Lastmod .Date }}
{{ if eq $metadata "full" }} {{ $lastmodstr | i18n "lastModified" }}
{{ if ne $datestr $lastmodstr -}}&nbsp;({{ $lastmodstr | i18n "lastModified" }}){{ end }} {{ else }}
{{ $datestr | i18n "postedOnDate" -}}
{{ end }} {{ end }}
&bull; &bull;
{{ end }} {{ end }}

View File

@@ -1,7 +1,7 @@
{{ define "main" -}} {{ define "main" -}}
{{- $breakpoint := $.Scratch.Get "breakpoint" -}} {{- $breakpoint := $.Scratch.Get "breakpoint" -}}
{{- $sidebar := partial "body/sidebar" . -}} {{- $sidebar := partial "page/sidebar" . -}}
{{- $toc := partial "body/panel-toc" . -}} {{- $toc := partial "page/panel-toc" . -}}
{{ with $sidebar }} {{ with $sidebar }}
<div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-labelledby="offcanvas-label"> <div class="offcanvas offcanvas-start" tabindex="-1" id="offcanvass-sidebar" aria-labelledby="offcanvas-label">

44
package-lock.json generated
View File

@@ -1,25 +1,25 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "1.0.0-beta2", "version": "1.0.0",
"lockfileVersion": 3, "lockfileVersion": 3,
"requires": true, "requires": true,
"packages": { "packages": {
"": { "": {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "1.0.0-beta2", "version": "1.0.0",
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@fullhuman/postcss-purgecss": "^7.0.2", "@fullhuman/postcss-purgecss": "^7.0.2",
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"cssnano": "^7.0.7", "cssnano": "^7.0.7",
"cssnano-preset-advanced": "^7.0.7", "cssnano-preset-advanced": "^7.0.7",
"hugo-bin": "0.144.8", "hugo-bin": "0.144.9",
"purgecss-whitelister": "^2.4.0" "purgecss-whitelister": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0", "@gethinode/netlify-plugin-dartsass": "^0.3.0",
"cpy-cli": "^5.0.0", "cpy-cli": "^5.0.0",
"eslint": "^9.29.0", "eslint": "^9.30.0",
"markdownlint-cli2": "^0.18.1", "markdownlint-cli2": "^0.18.1",
"neostandard": "^0.12.1", "neostandard": "^0.12.1",
"netlify-plugin-hugo-cache-resources": "^0.2.1", "netlify-plugin-hugo-cache-resources": "^0.2.1",
@@ -329,9 +329,9 @@
} }
}, },
"node_modules/@eslint/config-array": { "node_modules/@eslint/config-array": {
"version": "0.20.1", "version": "0.21.0",
"resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.20.1.tgz", "resolved": "https://registry.npmjs.org/@eslint/config-array/-/config-array-0.21.0.tgz",
"integrity": "sha512-OL0RJzC/CBzli0DrrR31qzj6d6i6Mm3HByuhflhl4LOBiWxN+3i6/t/ZQQNii4tjksXi8r2CRW1wMpWA2ULUEw==", "integrity": "sha512-ENIdc4iLu0d93HeYirvKmrzshzofPw6VkZRKQGe9Nv46ZnWUzcF1xV01dcvEg/1wXUR61OmmlSfyeyO7EvjLxQ==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"dependencies": { "dependencies": {
@@ -344,9 +344,9 @@
} }
}, },
"node_modules/@eslint/config-helpers": { "node_modules/@eslint/config-helpers": {
"version": "0.2.1", "version": "0.3.0",
"resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.2.1.tgz", "resolved": "https://registry.npmjs.org/@eslint/config-helpers/-/config-helpers-0.3.0.tgz",
"integrity": "sha512-RI17tsD2frtDu/3dmI7QRrD4bedNKPM08ziRYaC5AhkGrzIAJelm9kJU1TznK+apx6V+cqRz8tfpEeG3oIyjxw==", "integrity": "sha512-ViuymvFmcJi04qdZeDc2whTHryouGcDlaxPqarTD0ZE10ISpxGUVZGZDx4w01upyIynL3iu6IXH2bS1NhclQMw==",
"dev": true, "dev": true,
"license": "Apache-2.0", "license": "Apache-2.0",
"engines": { "engines": {
@@ -391,9 +391,9 @@
} }
}, },
"node_modules/@eslint/js": { "node_modules/@eslint/js": {
"version": "9.29.0", "version": "9.30.0",
"resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.29.0.tgz", "resolved": "https://registry.npmjs.org/@eslint/js/-/js-9.30.0.tgz",
"integrity": "sha512-3PIF4cBw/y+1u2EazflInpV+lYsSG0aByVIQzAgb1m1MhHFSbqTyNqtBKHgWf/9Ykud+DhILS9EGkmekVhbKoQ==", "integrity": "sha512-Wzw3wQwPvc9sHM+NjakWTcPx11mbZyiYHuwWa/QfZ7cIRX7WK54PSk7bdyXDaoaopUcMatv1zaQvOAAO8hCdww==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"engines": { "engines": {
@@ -2875,19 +2875,19 @@
} }
}, },
"node_modules/eslint": { "node_modules/eslint": {
"version": "9.29.0", "version": "9.30.0",
"resolved": "https://registry.npmjs.org/eslint/-/eslint-9.29.0.tgz", "resolved": "https://registry.npmjs.org/eslint/-/eslint-9.30.0.tgz",
"integrity": "sha512-GsGizj2Y1rCWDu6XoEekL3RLilp0voSePurjZIkxL3wlm5o5EC9VpgaP7lrCvjnkuLvzFBQWB3vWB3K5KQTveQ==", "integrity": "sha512-iN/SiPxmQu6EVkf+m1qpBxzUhE12YqFLOSySuOyVLJLEF9nzTf+h/1AJYc1JWzCnktggeNrjvQGLngDzXirU6g==",
"dev": true, "dev": true,
"license": "MIT", "license": "MIT",
"dependencies": { "dependencies": {
"@eslint-community/eslint-utils": "^4.2.0", "@eslint-community/eslint-utils": "^4.2.0",
"@eslint-community/regexpp": "^4.12.1", "@eslint-community/regexpp": "^4.12.1",
"@eslint/config-array": "^0.20.1", "@eslint/config-array": "^0.21.0",
"@eslint/config-helpers": "^0.2.1", "@eslint/config-helpers": "^0.3.0",
"@eslint/core": "^0.14.0", "@eslint/core": "^0.14.0",
"@eslint/eslintrc": "^3.3.1", "@eslint/eslintrc": "^3.3.1",
"@eslint/js": "9.29.0", "@eslint/js": "9.30.0",
"@eslint/plugin-kit": "^0.3.1", "@eslint/plugin-kit": "^0.3.1",
"@humanfs/node": "^0.16.6", "@humanfs/node": "^0.16.6",
"@humanwhocodes/module-importer": "^1.0.1", "@humanwhocodes/module-importer": "^1.0.1",
@@ -4266,9 +4266,9 @@
} }
}, },
"node_modules/hugo-bin": { "node_modules/hugo-bin": {
"version": "0.144.8", "version": "0.144.9",
"resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.144.8.tgz", "resolved": "https://registry.npmjs.org/hugo-bin/-/hugo-bin-0.144.9.tgz",
"integrity": "sha512-ZqXy5cvfMJ1FSGrO62rp9koEZ+bXHcw1gPKV5LJDveYKMEFmnBy4TW8KWD0joPyHKD1xKRpVnOL13/AQx8NxlA==", "integrity": "sha512-SsAgkkXTl0Mwzgf5HYiE8gmWwfAkCCs7KFcVt0uZjmPI+Xflr3q9maxEDcNmTxSp/NMLSnPhqcGZwlHzh5oXMw==",
"funding": [ "funding": [
{ {
"type": "github", "type": "github",

View File

@@ -1,6 +1,6 @@
{ {
"name": "@gethinode/hinode", "name": "@gethinode/hinode",
"version": "1.0.0-beta2", "version": "1.0.0",
"description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator", "description": "Hinode is a clean documentation and blog theme for Hugo, an open-source static site generator",
"keywords": [ "keywords": [
"hugo", "hugo",
@@ -73,13 +73,13 @@
"autoprefixer": "^10.4.21", "autoprefixer": "^10.4.21",
"cssnano": "^7.0.7", "cssnano": "^7.0.7",
"cssnano-preset-advanced": "^7.0.7", "cssnano-preset-advanced": "^7.0.7",
"hugo-bin": "0.144.8", "hugo-bin": "0.144.9",
"purgecss-whitelister": "^2.4.0" "purgecss-whitelister": "^2.4.0"
}, },
"devDependencies": { "devDependencies": {
"@gethinode/netlify-plugin-dartsass": "^0.3.0", "@gethinode/netlify-plugin-dartsass": "^0.3.0",
"cpy-cli": "^5.0.0", "cpy-cli": "^5.0.0",
"eslint": "^9.29.0", "eslint": "^9.30.0",
"markdownlint-cli2": "^0.18.1", "markdownlint-cli2": "^0.18.1",
"neostandard": "^0.12.1", "neostandard": "^0.12.1",
"netlify-plugin-hugo-cache-resources": "^0.2.1", "netlify-plugin-hugo-cache-resources": "^0.2.1",