-
- {{ with $args.video }}
- {{- partial "inline/video.html" (dict
- "provider" .provider
- "account" .account
- "media-id" (index . "media-id")
- "autoplay" .autoplay
- "query-args" .queryArgs
- "border" $.border
- "padding" $padding
- "color" .color
- ) -}}
- {{ end }}
-
-
- {{- partial "inline/messages.html" (dict
- "list" $list
- "cols" 1
- "type" $args.type
- "iconRounded" $args.iconRounded
- "iconStyle" $args.iconStyle
- ) -}}
-
+{{- define "_partials/inline/video-stacked.html" -}}
+ {{ $breakpoint := .breakpoint }}
+ {{ $padding := .padding }}
+ {{ $width := .width }}
+ {{ $video := .video }}
+ {{ $messages := .messages }}
+
+
+ {{ $video | safeHTML }}
+
+
+ {{ $messages | safeHTML }}
+
+{{ end }}
+
+{{- define "_partials/inline/video-horizontal.html" -}}
+ {{ $breakpoint := .breakpoint }}
+ {{ $padding := .padding }}
+ {{ $width := .width | default 12 }}
+ {{ $video := .video }}
+ {{ $messages := .messages }}
+
+
+
+
+ {{ $video | safeHTML }}
+
+
+ {{ $messages | safeHTML }}
- {{ end }}
+
+{{ end }}
+
+{{/* Main code */}}
+{{ $list := slice }}
+
+{{ range .messages }}
+ {{ $path := "" }}
+ {{ $href := "" }}
+ {{ with .link }}{{ if hasPrefix . "http" }}{{ $href = . }}{{ else }}{{ $path = . }}{{ end }}{{ end }}
+
+ {{ $list = $list | append (dict
+ "title" .title
+ "description" (.content | page.RenderString)
+ "icon" .icon
+ "href" $href
+ "path" $path
+ "button-label" .label
+ ) }}
+{{ end}}
+
+{{- $raw := partial "assets/section-title.html" (dict
+ "heading" .heading
+ "justify" .justify
+ "class" (printf "pb-%d" $padding.y))
+-}}
+
+{{ $video := "" }}
+{{ with .video }}
+ {{ $video = partial "inline/video.html" (dict
+ "provider" .provider
+ "account" .account
+ "media-id" (or .media_id (index . "media-id"))
+ "autoplay" .autoplay
+ "query-args" (or .query_args (index . "query-args"))
+ "border" $.border
+ "padding" $padding
+ "color" .color
+ ) -}}
{{ end }}
+
+{{- $messages := partial "inline/messages.html" (dict
+ "list" $list
+ "cols" (cond (eq .orientation "stacked") .cols 1)
+ "type" .type
+ "linkType" (or .link_type (index . "link-type"))
+ "iconRounded" (or .icon_rounded (index . "icon-rounded"))
+ "iconStyle" (or .icon_style (index . "icon-style"))
+) -}}
+
+{{ $partial := cond (eq .orientation "stacked") "inline/video-stacked.html" "inline/video-horizontal.html" }}
+
+{{- $raw = printf "%s%s" $raw (partial $partial (dict
+ "breakpoint" $breakpoint
+ "padding" $padding
+ "width" .width
+ "video" $video
+ "messages" $messages
+)) }}
+
+{{ if $raw }}
+ {{ partial "utilities/section.html" (dict
+ "component-name" "video-message"
+ "id" .id
+ "raw" $raw
+ "background" .background
+ "width" .width
+ "justify" .justify
+ "wrapper" .wrapper
+ "fluid" .fluid
+ "theme" .theme
+ "cover" .cover
+ "overlay-mode" (or .overlay_mode (index . "overlay-mode"))
+ "section-class" (or .section_class (index . "section-class"))
+ "bg-class" (or .bg_class (index . "bg-class"))
+ )}}
+{{ end }}
\ No newline at end of file
diff --git a/component-library/config.toml b/component-library/config.toml
new file mode 100644
index 00000000..5412680d
--- /dev/null
+++ b/component-library/config.toml
@@ -0,0 +1,25 @@
+[module]
+ hugoVersion.extended = true
+ hugoVersion.min = '0.147.6'
+ # expose bookshop partials to Hugo
+ [[module.mounts]]
+ source = '.'
+ target = 'layouts/partials/bookshop' # note: bookshop engine 3.17.1 does not recognize layouts/_partials/bookshop yet
+ includeFiles = [
+ '**/*.hugo.html',
+ ]
+ # expose bookshop specifications as Hinode data structure
+ [[module.mounts]]
+ source = '.'
+ target = 'data/structures'
+ includeFiles = ['**/*.bookshop.yml']
+ # integrate main bookshop style with Hinode styles pipeline
+ [[module.mounts]]
+ source = 'bookshop.scss'
+ target = 'assets/scss/bookshop.scss'
+ # integrate bookshop component styles with Hinode styles pipeline
+ [[module.mounts]]
+ source = '.'
+ target = 'assets/scss/modules/bookshop'
+ includeFiles = ['**/*.scss']
+ excludeFiles = ['bookshop.scss']
diff --git a/component-library/go.mod b/component-library/go.mod
new file mode 100644
index 00000000..18fcd69d
--- /dev/null
+++ b/component-library/go.mod
@@ -0,0 +1,3 @@
+module local/component-library
+
+go 1.16
\ No newline at end of file
diff --git a/component-library/helpers/component.html b/component-library/helpers/component.html
deleted file mode 100644
index 4e03ef95..00000000
--- a/component-library/helpers/component.html
+++ /dev/null
@@ -1,93 +0,0 @@
-{{/* Adapted from https://github.com/CloudCannon/bookshop/blob/main/hugo/v3/core/helpers/component.html */}}
-
-{{/*
- Renders a single Bookshop component,
- wrapping in in a live editing context tag.
-
- Expects a slice:
- [
-
, # Component name
- <_> # Component props
- ]
-*/}}
-
-{{- $component_name := index . 0 -}}
-{{- $component_props := index . 1 -}}
-{{- $class := index . 2 | default "p-0" -}}
-{{- $bgclass := index . 3 | default "" -}}
-{{- $padding := partial "utilities/GetPadding.html" -}}
-{{- $component_path := partial "_bookshop/helpers/component_key" $component_name -}}
-{{- $flat_component_path := partial "_bookshop/helpers/flat_component_key" $component_name -}}
-{{- $passthrough := index $component_props "passthrough" -}}
-
-{{- $resolved_component := false -}}
-{{- if templates.Exists ( printf "_partials/%s" $component_path ) -}}
- {{- $resolved_component = $component_path -}}
-{{- else if templates.Exists ( printf "_partials/%s" $flat_component_path ) -}}
- {{- $resolved_component = $flat_component_path -}}
-{{- end -}}
-
-{{ if $resolved_component }}
- {{- $id := index $component_props "id" -}}
- {{- $cover := index $component_props "cover" -}}
- {{- $background := index $component_props "background" -}}
- {{- $backdrop := "" -}}
- {{- $fluid := index $component_props "fluid" | default true -}}
- {{- $wrapper := index $component_props "wrapper" -}}
- {{- $width := index $component_props "width" -}}
- {{- $justify := index $component_props "justify" | default "start" -}}
- {{- $paddingOuter := cond (ne $component_name "separator") (printf "px-xxl-0 px-%d py-0" $padding.x) "" -}}
- {{- $padding := cond (ne $component_name "separator") (printf "px-%d %spy-%d" $padding.x (cond $fluid "px-xxl-0 " "") $padding.y) "" -}}
- {{ with $background }}
- {{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $wrapper) }}
- {{ if reflect.IsMap $background }}
- {{ with $background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }}
- {{ end }}
- {{ end }}
- {{- $theme := index $component_props "theme" -}}
- {{- $overlayMode := (or (index $component_props "overlay-mode") page.Params.overlayMode) | default "dark" -}}
- {{ if not $backdrop }}{{ $overlayMode = page.Params.overlayMode }}{{ end }}
- {{ if eq $overlayMode "none" }}{{ $overlayMode = "" }}{{ end }}
-
- {{ (printf "" $component_name) | safeHTML }}
- {{ if not $fluid }}{{ end }}
-
- {{- if $backdrop -}}
- {{ partial "assets/live-image.html" (dict
- "src" $backdrop
- "class" (printf "background-img-fluid %s" $bgclass)
- "title" (T "backgroundImage"))
- }}
- {{- end -}}
-
- {{ $col := cond (and $width (lt $width 12)) (printf "col-12 col-md-%d" $width) "" }}
- {{ if $passthrough }}
- {{ partial $resolved_component $component_props }}
- {{ else }}
-
- {{ with $col }}
-
{{ partial $resolved_component $component_props }}
- {{ else }}
- {{ partial $resolved_component $component_props }}
- {{ end}}
-
- {{ end }}
-
- {{ if not $fluid }}
{{ end }}
- {{ "" | safeHTML }}
-{{- else -}}
- {{- $file_loc := slicestr $component_path 9 -}}
- {{- $flat_file_loc := slicestr $flat_component_path 9 -}}
- {{- partial "_bookshop/errors/err" (printf "Component \"%s\" does not exist.\n Create this component by placing a file in your bookshop at %s or %s" $component_name $file_loc $flat_file_loc) -}}
-{{- end -}}
\ No newline at end of file
diff --git a/component-library/helpers/partial.html b/component-library/helpers/partial.html
deleted file mode 100644
index 524addcd..00000000
--- a/component-library/helpers/partial.html
+++ /dev/null
@@ -1,23 +0,0 @@
-{{/* Adapted from https://github.com/CloudCannon/bookshop/blob/main/hugo/v3/core/helpers/partial.html */}}
-
-{{/*
- Renders a single Bookshop partial,
- wrapping in in a live editing context tag.
-
- Expects a slice:
- [
- , # Partial name
- <_> # Partial props
- ]
-*/}}
-
-{{- $partial_name := index . 0 -}}
-{{- $partial_props := index . 1 -}}
-{{- $partial_path := partial "_bookshop/helpers/partial_key" $partial_name -}}
-
-{{- if templates.Exists ( printf "partials/%s" $partial_path ) -}}
-{{ partial $partial_path $partial_props }}
-{{- else -}}
- {{- $file_loc := slicestr $partial_path 9 -}}
- {{- partial "_bookshop/errors/err" (printf "Partial \"%s\" does not exist.\n Create this partial by placing a file in your bookshop at %s" $partial_name $file_loc) -}}
-{{- end -}}
\ No newline at end of file
diff --git a/component-library/shared/hugo/page.hugo.html b/component-library/shared/hugo/page.hugo.html
index 3c7befb8..eeebeb84 100644
--- a/component-library/shared/hugo/page.hugo.html
+++ b/component-library/shared/hugo/page.hugo.html
@@ -1,5 +1,3 @@
-
{{ range . }}
{{ partial "bookshop" . }}
{{ end }}
-
diff --git a/config/_default/hugo.toml b/config/_default/hugo.toml
index b314a667..2fd51511 100644
--- a/config/_default/hugo.toml
+++ b/config/_default/hugo.toml
@@ -1,6 +1,6 @@
# toml-docs-start main
title = "Hinode"
-copyright = "Copyright © 2022 - 2025 Mark Dumay."
+copyright = "Copyright © 2026 Hinode Team"
enableGitInfo = true
# toml-docs-end main
@@ -114,6 +114,7 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
keepWhitespace = true
[module]
+ replacements = "local/component-library -> ../component-library"
[module.hugoVersion]
extended = true
min = "0.146.0"
@@ -138,37 +139,12 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
[[module.mounts]]
source = "static"
target = "static"
- [[module.mounts]]
- source = 'component-library'
- target = 'layouts/partials/bookshop'
- includeFiles = ['**/*.hugo.html']
- [[module.mounts]]
- source = 'component-library'
- target = 'data/structures'
- includeFiles = ['**/*.bookshop.yml']
- [[module.mounts]]
- source = 'component-library'
- target = 'assets/bookshop'
- [[module.mounts]]
- source = 'component-library'
- target = 'assets/scss/modules/bookshop'
- includeFiles = ['**/*.scss']
- excludeFiles = ['bookshop.scss']
- [[module.mounts]]
- source = 'component-library/bookshop.scss'
- target = 'assets/scss/bookshop.scss'
- [[module.mounts]]
- source = 'component-library/helpers'
- target = 'layouts/partials/_bookshop/helpers'
- # ensures main package.json is always available, even when using workspaces
- # in workspaces, the package.json is pointing to the first imported module
- [[module.mounts]]
- source = "package.json"
- target = "assets/data/package-hinode.json"
[[module.mounts]]
source = "netlify.toml"
target = "assets/config/netlify.toml"
# toml-docs-start modules
+ [[module.imports]]
+ path = "local/component-library"
[[module.imports]]
path = "github.com/cloudcannon/bookshop/hugo/v3"
[[module.imports]]
diff --git a/data/structures/section.yml b/data/structures/section.yml
new file mode 100644
index 00000000..b9abaeb3
--- /dev/null
+++ b/data/structures/section.yml
@@ -0,0 +1,28 @@
+comment: >-
+ Renders a bookshop component as section, using common styling options such as
+ background, width, and justification.
+arguments:
+ id:
+ component-name:
+ type: string
+ optional: false
+ comment: >-
+ Name of the bookshop component, excluding its path relative to the
+ bookshop folder.
+ raw:
+ background:
+ width:
+ default: 12
+ justify:
+ wrapper:
+ fluid:
+ theme:
+ cover:
+ default: false
+ overlay-mode:
+ section-class:
+ type: string
+ optional: true
+ bg-class:
+ type: string
+ optional: true
diff --git a/data/structures/testimonial.yml b/data/structures/testimonial.yml
index 61e89b73..c7c6c8df 100644
--- a/data/structures/testimonial.yml
+++ b/data/structures/testimonial.yml
@@ -14,6 +14,9 @@ arguments:
url:
image:
icon:
+ icon-style:
+ default: fa-5x
+ release: v2.0.0
logo:
padding:
orientation:
@@ -21,7 +24,7 @@ arguments:
type: bool
optional: true
default: false
- comment: ->
+ comment: >-
Trigger to add margins for carousel controls. If set,
the card includes a quote icon on the right-hand side too.
class:
diff --git a/exampleSite/config/_default/hugo.toml b/exampleSite/config/_default/hugo.toml
index 17ea2899..76af2f00 100644
--- a/exampleSite/config/_default/hugo.toml
+++ b/exampleSite/config/_default/hugo.toml
@@ -1,6 +1,6 @@
resourcedir = '../resources/'
title = "Hinode"
-copyright = "Copyright © 2022 - 2025 Mark Dumay."
+copyright = "Copyright © 2026 Hinode Team"
enableGitInfo = true
# additional settings
@@ -104,6 +104,7 @@ home = ["HTML", "RSS", "REDIR", "netlify", "server"]
output = '{netlify,server}'
[module]
+ replacements = "local/component-library -> ../../component-library"
# Build and serve using local hinode clone declared in the named Hugo workspace:
workspace = "hinode.work"
[[module.imports]]
diff --git a/exampleSite/content/en/blocks/about.md b/exampleSite/content/en/blocks/about.md
index 8f2c0e44..32e987d3 100644
--- a/exampleSite/content/en/blocks/about.md
+++ b/exampleSite/content/en/blocks/about.md
@@ -20,8 +20,8 @@ The `about` content block renders a short message next to an illustration. You c
content: Content
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
illustration:
image: /assets/img/nat-9l98kFByiao-unsplash.jpg
ratio: 1x1
diff --git a/exampleSite/content/en/blocks/approach.md b/exampleSite/content/en/blocks/approach.md
index 2fb8a9a6..3977c08e 100644
--- a/exampleSite/content/en/blocks/approach.md
+++ b/exampleSite/content/en/blocks/approach.md
@@ -20,8 +20,8 @@ The `approach` content block renders a featured image with one or more steps.
content: Approach content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
illustration:
image: /assets/img/nat-9l98kFByiao-unsplash.jpg
orientation: stacked
diff --git a/exampleSite/content/en/blocks/articles.md b/exampleSite/content/en/blocks/articles.md
index fda28408..8e296154 100644
--- a/exampleSite/content/en/blocks/articles.md
+++ b/exampleSite/content/en/blocks/articles.md
@@ -28,8 +28,8 @@ The `articles` content block renders a group of article cards.
padding: 0
limit: 3
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
class: border-0 card-zoom card-body-margin
justify: start
```
diff --git a/exampleSite/content/en/blocks/cards.md b/exampleSite/content/en/blocks/cards.md
index 0dff096d..6647e984 100644
--- a/exampleSite/content/en/blocks/cards.md
+++ b/exampleSite/content/en/blocks/cards.md
@@ -20,8 +20,8 @@ The `cards` content block renders a group of content cards.
content: Cards content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
orientation: stacked
icon-rounded: true
icon-style: fa-xs
@@ -65,8 +65,8 @@ Set the `image` attribute of each `element` to an image asset to render illustra
content: Cards content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
orientation: stacked
class: bg-body
align: center
@@ -97,8 +97,8 @@ Set the `orientation` attribute to `horizontal` to render horizontally oriented
content: Cards content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
orientation: horizontal
class: bg-body
align: center
@@ -132,8 +132,8 @@ Set the `icon` attribute of each `element` to an icon to render illustrated card
content: Cards content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
orientation: stacked
icon-style: fa-xs text-primary
align: start
@@ -168,8 +168,8 @@ Set the `icon` attribute of each `element` to an icon to render illustrated card
content: Cards content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
orientation: horizontal
icon-rounded: true
icon-style: fa-2xs text-primary
diff --git a/exampleSite/content/en/blocks/cta.md b/exampleSite/content/en/blocks/cta.md
index bfd4fe04..85d37c12 100644
--- a/exampleSite/content/en/blocks/cta.md
+++ b/exampleSite/content/en/blocks/cta.md
@@ -17,8 +17,8 @@ The `cta` content block renders a call to action link or button. You can include
contact: Betty White
caption-url: /en/blocks/cta/
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
order: first
links:
- title: Get in touch
diff --git a/exampleSite/content/en/blocks/faq.md b/exampleSite/content/en/blocks/faq.md
index f839a955..cea4fcc5 100644
--- a/exampleSite/content/en/blocks/faq.md
+++ b/exampleSite/content/en/blocks/faq.md
@@ -22,8 +22,8 @@ The `FAQ` content block renders an accordion of frequently asked questions. Clic
content: >-
Section content. It supports multiple lines.
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
items:
- title: First item
description: |-
diff --git a/exampleSite/content/en/blocks/featured.md b/exampleSite/content/en/blocks/featured.md
index c27d9cff..03b9849e 100644
--- a/exampleSite/content/en/blocks/featured.md
+++ b/exampleSite/content/en/blocks/featured.md
@@ -20,8 +20,8 @@ The `featured` content block renders a featured article or downloadable asset.
content: Content
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
illustration:
image: /assets/img/nat-9l98kFByiao-unsplash.jpg
ratio: 1x1
diff --git a/exampleSite/content/en/blocks/list.md b/exampleSite/content/en/blocks/list.md
index 150b64ea..4d9efd14 100644
--- a/exampleSite/content/en/blocks/list.md
+++ b/exampleSite/content/en/blocks/list.md
@@ -30,8 +30,8 @@ modules: ["simple-datatables"]
sort: title
hide-empty: false
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
justify: start
sortable: true
paginate: true
diff --git a/exampleSite/content/en/blocks/panels.md b/exampleSite/content/en/blocks/panels.md
index 38d1cb0b..3992aebd 100644
--- a/exampleSite/content/en/blocks/panels.md
+++ b/exampleSite/content/en/blocks/panels.md
@@ -20,8 +20,8 @@ The `panels` content block displays multiple panels that are toggled by a tab co
content: Panels content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
width: 12
tab-type: underline
ratio: 1x1
@@ -63,8 +63,8 @@ Set `tab-type` to `tabs` to adjust the panel controls.
content: Panels content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
width: 12
tab-type: tabs
ratio: 1x1
@@ -98,8 +98,8 @@ Set `tab-type` to `pills` to adjust the panel controls.
content: Panels content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
width: 12
tab-type: pills
ratio: 1x1
@@ -133,8 +133,8 @@ Set `tab-type` to `underline` to adjust the panel controls.
content: Panels content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
width: 12
tab-type: underline
ratio: 1x1
@@ -168,8 +168,8 @@ Set `tab-type` to `callout` to adjust the panel controls.
content: Panels content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
width: 12
tab-type: callout
ratio: 1x1
diff --git a/exampleSite/content/en/blocks/releases.md b/exampleSite/content/en/blocks/releases.md
index cb5ad624..dd43bae9 100644
--- a/exampleSite/content/en/blocks/releases.md
+++ b/exampleSite/content/en/blocks/releases.md
@@ -21,8 +21,8 @@ The `releases` content block displays a timeline with release information.
align: start
width: 8
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
data: timeline
```
diff --git a/exampleSite/content/en/blocks/team.md b/exampleSite/content/en/blocks/team.md
index 49f49d9b..7835a1d6 100644
--- a/exampleSite/content/en/blocks/team.md
+++ b/exampleSite/content/en/blocks/team.md
@@ -26,8 +26,8 @@ The `team` content block renders a group of team members.
header-style: none
padding: 0
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
class: border-0 card-zoom card-body-margin
justify: start
```
diff --git a/exampleSite/content/en/blocks/testimonials.md b/exampleSite/content/en/blocks/testimonials.md
index 17833550..3a067447 100644
--- a/exampleSite/content/en/blocks/testimonials.md
+++ b/exampleSite/content/en/blocks/testimonials.md
@@ -15,8 +15,8 @@ The `testimonials` content block renders one or more client testimonials. You ca
```yml
- _bookshop_name: testimonials
card:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
cols: 1
carousel: true
testimonials:
@@ -53,8 +53,8 @@ Set `carousel` to `true` to render a carousel of multiple testimonials.
```yml
- _bookshop_name: testimonials
card:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
cols: 1
carousel: true
testimonials:
@@ -82,9 +82,10 @@ Set `cols` to `3` to render three testimonials as columns.
```yml
- _bookshop_name: testimonials
card:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
cols: 3
+ icon_style: fa-2x
carousel: false
testimonials:
- icon: fab linkedin
diff --git a/exampleSite/content/en/blocks/video-message.md b/exampleSite/content/en/blocks/video-message.md
index 04909b1f..41b596cd 100644
--- a/exampleSite/content/en/blocks/video-message.md
+++ b/exampleSite/content/en/blocks/video-message.md
@@ -21,8 +21,8 @@ The `video` content block renders a horizontal line to separate sections. The se
content: Video content. It supports multiple lines.
align: start
background:
- color: primary
- subtle: true
+ color: body-tertiary
+ subtle: false
orientation: horizontal
icon-style: fa-lg
video:
diff --git a/exampleSite/go.mod b/exampleSite/go.mod
index 1301026e..6fefaa27 100644
--- a/exampleSite/go.mod
+++ b/exampleSite/go.mod
@@ -3,5 +3,6 @@ module github.com/gethinode/hinode-example
go 1.19
require (
+ github.com/gethinode/hinode/v2 v2.0.0-beta.40 // indirect
github.com/gethinode/mod-cookieyes/v2 v2.2.6 // indirect
)
diff --git a/exampleSite/go.sum b/exampleSite/go.sum
index 544449c2..8d10ce5b 100644
--- a/exampleSite/go.sum
+++ b/exampleSite/go.sum
@@ -1,2 +1,4 @@
+github.com/gethinode/hinode/v2 v2.0.0-beta.40 h1:nQPRDbQP4ywWUmeFvDTAxmpGdhtJ7qvyLlrpxQWpKOw=
+github.com/gethinode/hinode/v2 v2.0.0-beta.40/go.mod h1:6qTM4Xj2t0r5Hfgfwk4vOOTRs6kEdJ97hxxY9nGjD0M=
github.com/gethinode/mod-cookieyes/v2 v2.2.6 h1:/DQm8OYpms0On8wuosQER47TplVu/3z7MZHwbBKXCAg=
github.com/gethinode/mod-cookieyes/v2 v2.2.6/go.mod h1:tULb7D7CoTycGUyL7ryqHJKaX11XuL2SN+XwP7/DI0Y=
diff --git a/exampleSite/hugo_stats.json b/exampleSite/hugo_stats.json
index 81144751..08940aea 100644
--- a/exampleSite/hugo_stats.json
+++ b/exampleSite/hugo_stats.json
@@ -71,8 +71,7 @@
],
"classes": [
"%!s()",
- "3",
- "4",
+ "%!s(
- {{ $padding := printf "p-%d%s" $args.padding (cond (and (eq $args.padding 0) (or $icon $thumbnail)) " ps-3" "") }}
+ {{ $padding := printf "p-%d" $args.padding }}
{{ if $icon }}
{{- partial "assets/card-icon.html" (dict
"icon" $icon
- "padding" $args.padding
+ "padding" 0
"icon-rounded" $args.iconRounded
"icon-style" $style
"class" (printf "align-self-%s me-1 mt-1 col-auto" $args.align)
diff --git a/layouts/_partials/assets/carousel-item.html b/layouts/_partials/assets/carousel-item.html
index 542e0967..8ed3b2e0 100644
--- a/layouts/_partials/assets/carousel-item.html
+++ b/layouts/_partials/assets/carousel-item.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/contact.html b/layouts/_partials/assets/contact.html
index f4064fa7..af6546e8 100644
--- a/layouts/_partials/assets/contact.html
+++ b/layouts/_partials/assets/contact.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2024 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2024 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
@@ -54,7 +54,7 @@
{{ partial "assets/hero.html" (dict
"page" $args.page
- "heading" (merge $heading (dict "size" 6))
+ "heading" (merge $heading (dict "size" 4))
"background" $args.background
"illustration" $illustration
"order" $args.order
@@ -64,7 +64,8 @@
"width" (or $args.width 12)
"use-title" false
"size" 6
- "content-style" "text-muted fs-5"
+ "heading-style" "fs"
+ "content-style" "text-muted fs-6"
)
}}
{{ end }}
diff --git a/layouts/_partials/assets/download.html b/layouts/_partials/assets/download.html
index c90c1c9f..57c2ab6b 100644
--- a/layouts/_partials/assets/download.html
+++ b/layouts/_partials/assets/download.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/featured-illustration.html b/layouts/_partials/assets/featured-illustration.html
index 75ab1432..ca5385c3 100644
--- a/layouts/_partials/assets/featured-illustration.html
+++ b/layouts/_partials/assets/featured-illustration.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/helpers/GetDimension.html b/layouts/_partials/assets/helpers/GetDimension.html
index 3278fdf4..93584bba 100644
--- a/layouts/_partials/assets/helpers/GetDimension.html
+++ b/layouts/_partials/assets/helpers/GetDimension.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/helpers/image-definition.html b/layouts/_partials/assets/helpers/image-definition.html
index 97163afe..090b5f60 100644
--- a/layouts/_partials/assets/helpers/image-definition.html
+++ b/layouts/_partials/assets/helpers/image-definition.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/helpers/image-dimension.html b/layouts/_partials/assets/helpers/image-dimension.html
index 696abdd9..c2d620d2 100644
--- a/layouts/_partials/assets/helpers/image-dimension.html
+++ b/layouts/_partials/assets/helpers/image-dimension.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/helpers/image-rewrite.html b/layouts/_partials/assets/helpers/image-rewrite.html
index 993436d9..0532a817 100644
--- a/layouts/_partials/assets/helpers/image-rewrite.html
+++ b/layouts/_partials/assets/helpers/image-rewrite.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/helpers/image-set.html b/layouts/_partials/assets/helpers/image-set.html
index f2cf8aeb..38f8ad4c 100644
--- a/layouts/_partials/assets/helpers/image-set.html
+++ b/layouts/_partials/assets/helpers/image-set.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/helpers/navbar-item.html b/layouts/_partials/assets/helpers/navbar-item.html
index ab877db0..e01ec7cc 100644
--- a/layouts/_partials/assets/helpers/navbar-item.html
+++ b/layouts/_partials/assets/helpers/navbar-item.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/hero.html b/layouts/_partials/assets/hero.html
index c1789874..e74c1d32 100644
--- a/layouts/_partials/assets/hero.html
+++ b/layouts/_partials/assets/hero.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2024 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2024 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
@@ -27,8 +27,12 @@
{{/* Initialize local variables */}}
{{ $align := $args.align }}
{{ $class := $args.class | default "" }}
-{{ $scale := $args.illustration.width }}
-{{ $icon := $args.illustration.icon }}
+{{ $scale := "" }}
+{{ $icon := "" }}
+{{ with $args.illustration }}
+ {{ $scale = .scale }}
+ {{ $icon = .icon }}
+{{ end }}
{{ $heading := cond (eq $args.orientation "horizontal") (merge $args.heading (dict "width" 12)) $args.heading }}
{{ if $scale }}
@@ -66,7 +70,7 @@
{{ end }}
- {{ $imageWrapper := printf "%s text-%s mx-auto" $class $args.illustration.align }}
+ {{ $imageWrapper := printf "%s text-%s mx-auto" $class (or $args.illustration.align "start") }}
{{ $imageJustify := "" }}
{{ if eq $args.orientation "stacked" }}
{{ $imageWrapper = printf "%s pb-%d" $imageWrapper $padding.y }}
@@ -100,20 +104,22 @@
"sizes" $sizes
"title" (T "heroImage")
"wrapper" $imageWrapper
- "class" (printf "hero-image %s" $args.illustration.class)
+ "class" (printf "hero-image %s" (or $args.illustration.class ""))
"image-overlay" $args.imageOverlay
"justify" $imageJustify
) }}
{{ end }}
{{ $title := partial "assets/section-title.html" (dict
- "heading" $heading
- "use-title" $args.useTitle
- "links" $args.links
- "link-type" (or $args.linkType $args.type)
- "class" "hero-title"
- "arrangement" $arrangement
- "justify" $args.justify
+ "heading" $heading
+ "use-title" $args.useTitle
+ "links" $args.links
+ "link-type" (or $args.linkType $args.link_type $args.type)
+ "class" "hero-title"
+ "arrangement" $arrangement
+ "justify" $args.justify
+ "heading-style" $args.headingStyle
+ "content-style" $args.contentStyle
) }}
{{ if eq $args.orientation "stacked" }}
diff --git a/layouts/_partials/assets/image.html b/layouts/_partials/assets/image.html
index 6ed3fdbb..258c4286 100644
--- a/layouts/_partials/assets/image.html
+++ b/layouts/_partials/assets/image.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/link.html b/layouts/_partials/assets/link.html
index f98af030..9a6fb4e7 100644
--- a/layouts/_partials/assets/link.html
+++ b/layouts/_partials/assets/link.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/links.html b/layouts/_partials/assets/links.html
index bef638eb..f1dec5bc 100644
--- a/layouts/_partials/assets/links.html
+++ b/layouts/_partials/assets/links.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2024 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2024 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/live-card.html b/layouts/_partials/assets/live-card.html
index ae4bba56..8e9de8b2 100644
--- a/layouts/_partials/assets/live-card.html
+++ b/layouts/_partials/assets/live-card.html
@@ -1,5 +1,5 @@
diff --git a/layouts/_partials/assets/live-image.html b/layouts/_partials/assets/live-image.html
index 8358480a..dd42a13e 100644
--- a/layouts/_partials/assets/live-image.html
+++ b/layouts/_partials/assets/live-image.html
@@ -1,5 +1,5 @@
{{- $error := false }}
diff --git a/layouts/_partials/assets/live-pages.html b/layouts/_partials/assets/live-pages.html
index f8e24988..3abbecd8 100644
--- a/layouts/_partials/assets/live-pages.html
+++ b/layouts/_partials/assets/live-pages.html
@@ -1,5 +1,5 @@
{{/* Initialize arguments */}}
diff --git a/layouts/_partials/assets/nav-item.html b/layouts/_partials/assets/nav-item.html
index a8d3a62f..56a8fa6f 100644
--- a/layouts/_partials/assets/nav-item.html
+++ b/layouts/_partials/assets/nav-item.html
@@ -1,6 +1,6 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/nav.html b/layouts/_partials/assets/nav.html
index a1ee824c..959812cd 100644
--- a/layouts/_partials/assets/nav.html
+++ b/layouts/_partials/assets/nav.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/navbar.html b/layouts/_partials/assets/navbar.html
index ea6dee98..32b32a0a 100644
--- a/layouts/_partials/assets/navbar.html
+++ b/layouts/_partials/assets/navbar.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/page-alert.html b/layouts/_partials/assets/page-alert.html
index 925fcd8d..b947cc4a 100644
--- a/layouts/_partials/assets/page-alert.html
+++ b/layouts/_partials/assets/page-alert.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/pagination.html b/layouts/_partials/assets/pagination.html
index 15be3917..6b743253 100644
--- a/layouts/_partials/assets/pagination.html
+++ b/layouts/_partials/assets/pagination.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_partials/assets/persona.html b/layouts/_partials/assets/persona.html
index d4da0318..24c4da5b 100644
--- a/layouts/_partials/assets/persona.html
+++ b/layouts/_partials/assets/persona.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/section-title.html b/layouts/_partials/assets/section-title.html
index c1585b9f..02476468 100644
--- a/layouts/_partials/assets/section-title.html
+++ b/layouts/_partials/assets/section-title.html
@@ -1,5 +1,5 @@
{{/* Initialize arguments */}}
diff --git a/layouts/_partials/assets/sidebar.html b/layouts/_partials/assets/sidebar.html
index b3e11320..160c128d 100644
--- a/layouts/_partials/assets/sidebar.html
+++ b/layouts/_partials/assets/sidebar.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/stack.html b/layouts/_partials/assets/stack.html
index 9c56c6e4..baa02b82 100644
--- a/layouts/_partials/assets/stack.html
+++ b/layouts/_partials/assets/stack.html
@@ -1,5 +1,5 @@
diff --git a/layouts/_partials/assets/table.html b/layouts/_partials/assets/table.html
index 1860397d..75dbad26 100644
--- a/layouts/_partials/assets/table.html
+++ b/layouts/_partials/assets/table.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/testimonial.html b/layouts/_partials/assets/testimonial.html
index 7e596d50..d7187b64 100644
--- a/layouts/_partials/assets/testimonial.html
+++ b/layouts/_partials/assets/testimonial.html
@@ -1,5 +1,5 @@
@@ -32,9 +32,9 @@
{{ end }}
{{ define "_partials/inline/testimonial-inner.html" }}
-
+
{{ if or .logo .icon }}
-
+
{{ $class := "" }}
{{ if and (not .icon) .logo }}{{ $class = "testimonial-logo" }}{{ end }}
{{ $title := trim (printf "%s logo" (humanize (path.BaseName .logo))) " ." }}
@@ -42,12 +42,12 @@
{{ partial "assets/featured-illustration.html" (dict
"page" .page
"image" .logo
- "icon" .icon
+ "icon" (trim (cond .icon (printf "%s %s" .icon (index . "icon-style")) "") " ")
"class" $class
"title" $title
"sizes" "(min-width: 768px) 33.3vw, 100vw"
- "wrapper" "col-9 py-4 py-md-0"
- ) }}
+ "wrapper" (cond .logo "col-9 py-4 py-md-0" "")
+ ) }}
{{ end }}
@@ -141,6 +141,7 @@
"page" $args.page
"content" $args.content
"icon" $args.icon
+ "icon-style" $args.iconStyle
"logo" $args.logo
"contact" $args.contact
"role" $args.role
diff --git a/layouts/_partials/assets/timeline.html b/layouts/_partials/assets/timeline.html
index b32571e7..7ba44619 100644
--- a/layouts/_partials/assets/timeline.html
+++ b/layouts/_partials/assets/timeline.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_partials/assets/toast.html b/layouts/_partials/assets/toast.html
index 3f1856f2..d4e54a77 100644
--- a/layouts/_partials/assets/toast.html
+++ b/layouts/_partials/assets/toast.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/toc-dropdown.html b/layouts/_partials/assets/toc-dropdown.html
index cc181e55..526d040e 100644
--- a/layouts/_partials/assets/toc-dropdown.html
+++ b/layouts/_partials/assets/toc-dropdown.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/toc-main.html b/layouts/_partials/assets/toc-main.html
index 1eaada07..977ae3f2 100644
--- a/layouts/_partials/assets/toc-main.html
+++ b/layouts/_partials/assets/toc-main.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/version.html b/layouts/_partials/assets/version.html
index 959751e1..aeac729c 100644
--- a/layouts/_partials/assets/version.html
+++ b/layouts/_partials/assets/version.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/assets/video.html b/layouts/_partials/assets/video.html
index 7d52db79..0e8e0fbd 100644
--- a/layouts/_partials/assets/video.html
+++ b/layouts/_partials/assets/video.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_partials/footer/scripts.html b/layouts/_partials/footer/scripts.html
index 434cf016..eec17c32 100644
--- a/layouts/_partials/footer/scripts.html
+++ b/layouts/_partials/footer/scripts.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/page/sharing.html b/layouts/_partials/page/sharing.html
index 1d0a9af3..70c6b9e7 100644
--- a/layouts/_partials/page/sharing.html
+++ b/layouts/_partials/page/sharing.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/templates/script.html b/layouts/_partials/templates/script.html
index ec739826..142a3baf 100644
--- a/layouts/_partials/templates/script.html
+++ b/layouts/_partials/templates/script.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_partials/utilities/GetBackgroundStyle.html b/layouts/_partials/utilities/GetBackgroundStyle.html
index 031e22db..6532d53d 100644
--- a/layouts/_partials/utilities/GetBackgroundStyle.html
+++ b/layouts/_partials/utilities/GetBackgroundStyle.html
@@ -1,5 +1,5 @@
{{/* Initialize arguments */}}
diff --git a/layouts/_partials/utilities/GetLink.html b/layouts/_partials/utilities/GetLink.html
index 648ac64a..f3cf51aa 100644
--- a/layouts/_partials/utilities/GetLink.html
+++ b/layouts/_partials/utilities/GetLink.html
@@ -1,5 +1,5 @@
diff --git a/layouts/_partials/utilities/RenderContentBlocks.html b/layouts/_partials/utilities/RenderContentBlocks.html
index 5098abe4..e6b046d2 100644
--- a/layouts/_partials/utilities/RenderContentBlocks.html
+++ b/layouts/_partials/utilities/RenderContentBlocks.html
@@ -1,5 +1,5 @@
{{/* Ingest bookshop bindings when applicable */}}
diff --git a/layouts/_partials/utilities/section.html b/layouts/_partials/utilities/section.html
new file mode 100644
index 00000000..03d1b1ab
--- /dev/null
+++ b/layouts/_partials/utilities/section.html
@@ -0,0 +1,72 @@
+{{/*
+ Copyright © 2026 The Hinode Team / Mark Dumay. All rights reserved.
+ Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
+ Visit gethinode.com/license for more details.
+*/}}
+
+{{/* Initialize arguments */}}
+{{ $args := partial "utilities/InitArgs.html" (dict "structure" "section" "args" . "group" "partial") }}
+{{ if or $args.err $args.warnmsg }}
+ {{ partial (cond $args.err "utilities/LogErr.html" "utilities/LogWarn.html") (dict
+ "partial" "utilities/section.html"
+ "warnid" "warn-invalid-arguments"
+ "msg" "Invalid arguments"
+ "details" ($args.errmsg | append $args.warnmsg)
+ "file" page.File
+ )}}
+{{ end }}
+
+{{- $padding := partial "utilities/GetPadding.html" -}}
+
+{{/* Main code */}}
+{{ if not $args.err }}
+ {{- $containerPadding := printf "px-%d %spy-%d" $padding.x (cond $args.fluid "px-xxl-0 " "") $padding.y -}}
+ {{- $paddingOuter := printf "px-xxl-0 px-%d py-0" $padding.x -}}
+ {{ $wrapper := "" }}
+ {{ $backdrop := "" }}
+ {{ with $args.background }}
+ {{ $wrapper = partial "utilities/GetBackgroundStyle.html" (dict "background" . "class" $wrapper) }}
+ {{ if reflect.IsMap $args.background }}
+ {{ with $args.background.backdrop }}{{ $wrapper = "" }}{{ $backdrop = . }}{{ end }}
+ {{ end }}
+ {{ end }}
+ {{- $overlayMode := (or $args.overlayMode page.Params.overlayMode) | default "dark" -}}
+ {{ if not $backdrop }}{{ $overlayMode = page.Params.overlayMode }}{{ end }}
+ {{ if eq $overlayMode "none" }}{{ $overlayMode = "" }}{{ end }}
+
+ {{ if not $args.fluid }}
{{ end }}
+
+ {{- if $backdrop -}}
+ {{ partial "assets/live-image.html" (dict
+ "src" $backdrop
+ "class" (printf "background-img-fluid %s" (or $args.bgClass ""))
+ "title" (T "backgroundImage")
+ )}}
+ {{- end -}}
+
+ {{ $col := cond (and $args.width (lt $args.width 12)) (printf "col-12 col-md-%d" $args.width) "" }}
+ {{ if $args.passthrough }}
+ {{ $args.raw | safeHTML }}
+ {{ else }}
+
+ {{ with $col }}
+
{{ $args.raw | safeHTML }}
+ {{ else }}
+ {{ $args.raw | safeHTML }}
+ {{ end}}
+
+ {{ end }}
+
+ {{ if not $args.fluid }}
{{ end }}
+{{ end }}
diff --git a/layouts/_shortcodes/abbr.html b/layouts/_shortcodes/abbr.html
index bd63109a..7142c748 100644
--- a/layouts/_shortcodes/abbr.html
+++ b/layouts/_shortcodes/abbr.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/accordion-item.html b/layouts/_shortcodes/accordion-item.html
index 1d51ac3e..99ed453a 100644
--- a/layouts/_shortcodes/accordion-item.html
+++ b/layouts/_shortcodes/accordion-item.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/accordion.html b/layouts/_shortcodes/accordion.html
index 61c01aeb..f5cc339e 100644
--- a/layouts/_shortcodes/accordion.html
+++ b/layouts/_shortcodes/accordion.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/alert.html b/layouts/_shortcodes/alert.html
index a7f598ce..18de146d 100644
--- a/layouts/_shortcodes/alert.html
+++ b/layouts/_shortcodes/alert.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/args.html b/layouts/_shortcodes/args.html
index fc03a49e..38e1b63c 100644
--- a/layouts/_shortcodes/args.html
+++ b/layouts/_shortcodes/args.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/badge.html b/layouts/_shortcodes/badge.html
index 63b0f08a..91557428 100644
--- a/layouts/_shortcodes/badge.html
+++ b/layouts/_shortcodes/badge.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/breadcrumb.html b/layouts/_shortcodes/breadcrumb.html
index e8f73aa5..ae62d76f 100644
--- a/layouts/_shortcodes/breadcrumb.html
+++ b/layouts/_shortcodes/breadcrumb.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/button-group.html b/layouts/_shortcodes/button-group.html
index 3c70deb8..5ec82965 100644
--- a/layouts/_shortcodes/button-group.html
+++ b/layouts/_shortcodes/button-group.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/button.html b/layouts/_shortcodes/button.html
index cd5f7d5e..bdc3862b 100644
--- a/layouts/_shortcodes/button.html
+++ b/layouts/_shortcodes/button.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/card-group.html b/layouts/_shortcodes/card-group.html
index aed7ddb2..ef1e2466 100644
--- a/layouts/_shortcodes/card-group.html
+++ b/layouts/_shortcodes/card-group.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/card.html b/layouts/_shortcodes/card.html
index 2f7bfab7..6a372fc4 100644
--- a/layouts/_shortcodes/card.html
+++ b/layouts/_shortcodes/card.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/carousel.html b/layouts/_shortcodes/carousel.html
index a458fe1f..7ef0aafe 100644
--- a/layouts/_shortcodes/carousel.html
+++ b/layouts/_shortcodes/carousel.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/collapse.html b/layouts/_shortcodes/collapse.html
index af1e2ac8..52ebcb4b 100644
--- a/layouts/_shortcodes/collapse.html
+++ b/layouts/_shortcodes/collapse.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/command.html b/layouts/_shortcodes/command.html
index 9dce9742..8cc5a7ea 100644
--- a/layouts/_shortcodes/command.html
+++ b/layouts/_shortcodes/command.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/docs.html b/layouts/_shortcodes/docs.html
index a4cc56d3..c3cff42d 100644
--- a/layouts/_shortcodes/docs.html
+++ b/layouts/_shortcodes/docs.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_shortcodes/example-bookshop.html b/layouts/_shortcodes/example-bookshop.html
index 30922405..a449123d 100644
--- a/layouts/_shortcodes/example-bookshop.html
+++ b/layouts/_shortcodes/example-bookshop.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
@@ -36,6 +36,9 @@
{{- $showMarkup := or $args.showMarkup $args.show_markup }}
{{- if eq $lang "hugo" }}{{ $lang = "markdown" }}{{ end -}}
{{- $content := .InnerDeindent -}}
+{{- $padding := partial "utilities/GetPadding.html" -}}
+{{- $sectionClass := printf "p-1 px-md-%d py-md-%d" $padding.x $padding.y -}}
+{{- $bgClass := printf "m-n1 mx-md-n%d my-md-n%d" $padding.x $padding.y -}}
{{- $data := "" -}}
{{- $partial := "" -}}
@@ -49,18 +52,13 @@
{{ $lang = (trim (index (split $content "\n") 2) "\x60") | default "yml" }}
{{ $content = index (index $inputRE 0) 2 }}
{{ $data = index (unmarshal $content) 0 }}
+ {{ $data = merge $data (dict "section-class" $sectionClass "bg-class" $bgClass) }}
{{ $component_name := (index $data "_bookshop_name") }}
{{ if not $component_name }}
{{ errorf "Expected '_bookshop_name': %s" .Position -}}
{{ $error = true }}
{{ else }}
- {{- $padding := partial "utilities/GetPadding.html" -}}
- {{ $partial = partial "_bookshop/helpers/component.html" (slice
- $component_name
- $data
- (printf "p-1 px-md-%d py-md-%d" $padding.x $padding.y)
- (printf "m-n1 mx-md-n%d my-md-n%d" $padding.x $padding.y)
- ) }}
+ {{ $partial = partial "_bookshop/helpers/component.html" (slice $component_name $data) }}
{{ end }}
{{ else }}
{{ errorf "Expected frontmatter codeblock as input: %s" .Position -}}
@@ -70,7 +68,7 @@
{{/* Main code */}}
{{ if not $error }}
-
+
{{- if eq $showPreview true -}}
{{ if eq $type "bookshop" }}
diff --git a/layouts/_shortcodes/example.html b/layouts/_shortcodes/example.html
index b9dd50d0..cb40dbb5 100644
--- a/layouts/_shortcodes/example.html
+++ b/layouts/_shortcodes/example.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_shortcodes/file.html b/layouts/_shortcodes/file.html
index 152a4704..5815a3d3 100644
--- a/layouts/_shortcodes/file.html
+++ b/layouts/_shortcodes/file.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_shortcodes/image.html b/layouts/_shortcodes/image.html
index e41952b8..bb03adda 100644
--- a/layouts/_shortcodes/image.html
+++ b/layouts/_shortcodes/image.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/img.html b/layouts/_shortcodes/img.html
index 91fed604..e5ef8ef0 100644
--- a/layouts/_shortcodes/img.html
+++ b/layouts/_shortcodes/img.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/ins.html b/layouts/_shortcodes/ins.html
index 0335a958..774a8034 100644
--- a/layouts/_shortcodes/ins.html
+++ b/layouts/_shortcodes/ins.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/kbd.html b/layouts/_shortcodes/kbd.html
index 53c0f918..c7727a69 100644
--- a/layouts/_shortcodes/kbd.html
+++ b/layouts/_shortcodes/kbd.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/link.html b/layouts/_shortcodes/link.html
index 4144a085..a7fd2997 100644
--- a/layouts/_shortcodes/link.html
+++ b/layouts/_shortcodes/link.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/mark.html b/layouts/_shortcodes/mark.html
index c7974f6c..a1088de7 100644
--- a/layouts/_shortcodes/mark.html
+++ b/layouts/_shortcodes/mark.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/nav-item.html b/layouts/_shortcodes/nav-item.html
index 529362f6..036318d4 100644
--- a/layouts/_shortcodes/nav-item.html
+++ b/layouts/_shortcodes/nav-item.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/nav.html b/layouts/_shortcodes/nav.html
index 35c282b4..a8825712 100644
--- a/layouts/_shortcodes/nav.html
+++ b/layouts/_shortcodes/nav.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/navbar.html b/layouts/_shortcodes/navbar.html
index 3999571d..fc39ad8d 100644
--- a/layouts/_shortcodes/navbar.html
+++ b/layouts/_shortcodes/navbar.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/persona.html b/layouts/_shortcodes/persona.html
index 0bb8f2f8..86cb90f5 100644
--- a/layouts/_shortcodes/persona.html
+++ b/layouts/_shortcodes/persona.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/release.html b/layouts/_shortcodes/release.html
index 56e64fa8..0a7d405a 100644
--- a/layouts/_shortcodes/release.html
+++ b/layouts/_shortcodes/release.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/spinner.html b/layouts/_shortcodes/spinner.html
index 095dd5b1..20e77b7c 100644
--- a/layouts/_shortcodes/spinner.html
+++ b/layouts/_shortcodes/spinner.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/sub.html b/layouts/_shortcodes/sub.html
index 63e3ebc2..26716f02 100644
--- a/layouts/_shortcodes/sub.html
+++ b/layouts/_shortcodes/sub.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/sup.html b/layouts/_shortcodes/sup.html
index 463e0f48..2c83775e 100644
--- a/layouts/_shortcodes/sup.html
+++ b/layouts/_shortcodes/sup.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/table.html b/layouts/_shortcodes/table.html
index c900b7eb..542b8292 100644
--- a/layouts/_shortcodes/table.html
+++ b/layouts/_shortcodes/table.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/testimonial.html b/layouts/_shortcodes/testimonial.html
index 53d92947..b10b89cc 100644
--- a/layouts/_shortcodes/testimonial.html
+++ b/layouts/_shortcodes/testimonial.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/timeline.html b/layouts/_shortcodes/timeline.html
index 493879ba..6b6c7cd1 100644
--- a/layouts/_shortcodes/timeline.html
+++ b/layouts/_shortcodes/timeline.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
diff --git a/layouts/_shortcodes/toast.html b/layouts/_shortcodes/toast.html
index c84e339c..d0015589 100644
--- a/layouts/_shortcodes/toast.html
+++ b/layouts/_shortcodes/toast.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/tooltip.html b/layouts/_shortcodes/tooltip.html
index bdccd582..a02e4726 100644
--- a/layouts/_shortcodes/tooltip.html
+++ b/layouts/_shortcodes/tooltip.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/video.html b/layouts/_shortcodes/video.html
index 5efea800..880feb81 100644
--- a/layouts/_shortcodes/video.html
+++ b/layouts/_shortcodes/video.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/vimeo.html b/layouts/_shortcodes/vimeo.html
index 7ebc2850..4dafd9a5 100644
--- a/layouts/_shortcodes/vimeo.html
+++ b/layouts/_shortcodes/vimeo.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}
diff --git a/layouts/_shortcodes/youtube.html b/layouts/_shortcodes/youtube.html
index a175e763..1f12eecc 100644
--- a/layouts/_shortcodes/youtube.html
+++ b/layouts/_shortcodes/youtube.html
@@ -1,5 +1,5 @@
{{/*
- Copyright © 2022 - 2025 The Hinode Team / Mark Dumay. All rights reserved.
+ Copyright © 2022 - 2026 The Hinode Team / Mark Dumay. All rights reserved.
Use of this source code is governed by The MIT License (MIT) that can be found in the LICENSE file.
Visit gethinode.com/license for more details.
*/}}