Compare commits

...

10 Commits

Author SHA1 Message Date
Mark Dumay
773b365b1c Merge pull request #1503 from gethinode/develop
Develop
2025-07-08 06:58:46 +02:00
Mark Dumay
550945f0f6 fix: correct arguments of panels content block 2025-07-08 06:48:09 +02:00
Mark Dumay
b60ad8fd0b docs: drop npm badge 2025-07-08 06:41:07 +02:00
Mark Dumay
38d1ddb86d Merge pull request #1502 from gethinode/develop
Develop
2025-07-08 06:39:23 +02:00
Mark Dumay
17287492e5 fix: adjust padding of section title 2025-07-08 06:31:12 +02:00
Mark Dumay
992d724a6f Merge branch 'main' into develop 2025-07-08 06:17:21 +02:00
Mark Dumay
0b81eba373 Merge pull request #1501 from gethinode/hugo-mod-dependencies
Update Hugo module dependencies
2025-07-08 06:17:04 +02:00
Mark Dumay
0a5e8bed92 fix: standardize padding of content blocks 2025-07-08 06:07:14 +02:00
Mark Dumay
a387adca66 feat: add support for configurable icon style to video message 2025-07-08 06:06:28 +02:00
markdumay
5341db7db2 fix: update Hugo module dependencies 2025-07-08 03:30:43 +00:00
12 changed files with 113 additions and 106 deletions

View File

@@ -15,9 +15,6 @@
<a href="https://gethinode.com">
<img src="https://img.shields.io/badge/theme-hinode-blue" alt="Hinode theme">
</a>
<a href="https://www.npmjs.com/package/%40gethinode/hinode">
<img src="https://img.shields.io/npm/v/%40gethinode/hinode" alt="npm package">
</a>
<a href="https://app.netlify.com/sites/gethinode-demo/deploys">
<img src="https://img.shields.io/netlify/0ad42e3e-fdfa-4d37-8e26-58badd429a67" alt="Netlify Status">
</a>

View File

@@ -24,7 +24,8 @@
{{ $class := "" }}
{{ $id := printf "faq-%s" (md5 (delimit (slice . now) "-")) }}
<div id="{{ $id }}" class="accordion accordion-faq {{ if $args.contrast }}accordion-faq-contrast text-white {{ end }}accordion-flush mb-3{{ with $class }} {{ . }}{{ end }} col-12 col-md-6 mx-auto">
<div id="{{ $id }}" class="accordion accordion-faq {{ if $args.contrast }}accordion-faq-contrast text-white {{ end -}}
accordion-flush{{ with $class }} {{ . }}{{ end }} col-12 col-md-6 mx-auto">
{{ range $index, $item := $args.items }}
<div class="accordion-item">
{{- with $item.title -}}

View File

@@ -16,7 +16,6 @@ blueprint:
align:
width:
cols:
icon-rounded:
padding:
background:
backdrop:
@@ -30,6 +29,7 @@ blueprint:
content:
tab-type:
ratio:
responsive:
class:
width:
justify:

View File

@@ -24,6 +24,7 @@ blueprint:
link-type:
orientation:
icon-rounded:
icon-style:
video:
provider:
account:

View File

@@ -59,6 +59,7 @@
{{ $cols := .cols }}
{{ $type := .type }}
{{ $iconRounded := .iconRounded }}
{{ $iconStyle := .iconStyle }}
{{- partial "assets/card-group.html" (dict
"page" page
@@ -75,6 +76,7 @@
"button" true
"link-type" $type
"icon-rounded" $iconRounded
"icon-style" $iconStyle
) -}}
{{ end }}
@@ -99,7 +101,7 @@
{{- partial "assets/section-title.html" (dict "heading" $args.heading "justify" $args.justify) -}}
{{ 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">
{{ with $args.video }}
{{- partial "inline/video.html" (dict
"provider" .provider
@@ -112,11 +114,17 @@
) -}}
{{ end }}
</div>
<div class="mt-{{ $padding.y }} pb-{{ $padding.y }}">
{{- partial "inline/messages.html" (dict "list" $list "cols" $args.cols "type" $args.type "iconRounded" $args.iconRounded) -}}
<div class="mt-{{ $padding.y }}">
{{- partial "inline/messages.html" (dict
"list" $list
"cols" $args.cols
"type" $args.type
"iconRounded" $args.iconRounded
"iconStyle" $args.iconStyle
) -}}
</div>
{{ else }}
<div class="container grid gap-4 pb-{{ $padding.y }}">
<div class="container grid gap-{{ $padding.x }}">
<div class="row row-cols-1 row-cols-{{ $breakpoint.current }}-2">
<div class="col col-{{ $breakpoint.current }}-{{ $args.width }} p-0">
{{ with $args.video }}
@@ -132,7 +140,13 @@
{{ end }}
</div>
<div class="col col-{{ $breakpoint.current }}-{{ sub 12 $args.width }} mt-{{ $padding.y }} mt-{{ $breakpoint.current }}-0">
{{- partial "inline/messages.html" (dict "list" $list "cols" 1 "type" $args.type "iconRounded" $args.iconRounded) -}}
{{- partial "inline/messages.html" (dict
"list" $list
"cols" 1
"type" $args.type
"iconRounded" $args.iconRounded
"iconStyle" $args.iconStyle
) -}}
</div>
</div>
</div>

View File

@@ -24,6 +24,7 @@ The `video` content block renders a horizontal line to separate sections. The se
color: primary
subtle: true
orientation: horizontal
icon-style: fa-lg
video:
provider: vimeo
media-id: "55073825"

View File

@@ -104,6 +104,7 @@
"bg-opacity-10",
"bg-primary",
"bg-primary-subtle",
"bg-secondary-subtle",
"bi",
"bi-activity",
"border",
@@ -242,6 +243,7 @@
"fa-arrow-left",
"fa-arrow-right",
"fa-bootstrap",
"fa-check",
"fa-chevron-right",
"fa-circle",
"fa-circle-check",
@@ -264,6 +266,8 @@
"fa-house",
"fa-info",
"fa-inverse",
"fa-lg",
"fa-li",
"fa-link",
"fa-linkedin",
"fa-magnifying-glass",
@@ -279,6 +283,7 @@
"fa-stack-2x",
"fa-sun",
"fa-timeline",
"fa-ul",
"fa-up-right-from-square",
"fa-whatsapp",
"fa-wrapper",
@@ -339,6 +344,7 @@
"justify-content-between",
"justify-content-center",
"justify-content-end",
"justify-content-md-end",
"justify-content-md-start",
"justify-content-start",
"katex",
@@ -354,7 +360,6 @@
"lottie-animation",
"m-0",
"m-auto",
"m-md-n4",
"m-n1",
"main",
"main-nav-toggler",
@@ -387,11 +392,13 @@
"mx-auto",
"mx-md-0",
"mx-md-2",
"mx-md-n4",
"my-2",
"my-4",
"my-auto",
"my-md-0",
"my-md-auto",
"my-md-n4",
"nav",
"nav-callout",
"nav-item",
@@ -423,7 +430,6 @@
"p-2",
"p-3",
"p-4",
"p-md-4",
"page-item",
"page-link",
"pagination",
@@ -458,13 +464,16 @@
"px-2",
"px-3",
"px-4",
"px-md-4",
"px-xxl-0",
"py-%!d(string=0)",
"py-0",
"py-1",
"py-2",
"py-3",
"py-4",
"py-md-1",
"py-md-4",
"ratio",
"ratio-16x9",
"releases",
@@ -524,6 +533,7 @@
"text-decoration-none",
"text-end",
"text-info",
"text-md-start",
"text-muted",
"text-nowrap",
"text-primary",
@@ -580,6 +590,7 @@
],
"ids": [
"abbr",
"accelerate-your-data-products",
"accordion",
"accordion-0",
"accordion-0-heading-0",
@@ -589,8 +600,10 @@
"accordion-0-item-1",
"accordion-0-item-2",
"accordéon",
"ai",
"alert",
"alerte",
"analytics",
"animatie",
"animation",
"args",
@@ -627,20 +640,17 @@
"content-blocks",
"cookies-etc",
"custom-activity",
"data-quality",
"data-tables",
"docs",
"documentation",
"dropdown-nav-0",
"dropdown-panel-238964a04aea6f8244486a01aed3980e",
"dropdown-panel-2e7f06bd7d5712159e2b7e5ac229ee72",
"dropdown-panel-4ebb6a36beb73ac83f451cd6ec26838d",
"dropdown-panel-4fdf233f48f3ac0b803d8f61d31061f8",
"dropdown-panel-614a2684d4bdf8e5fe22a20d7d9c0a35",
"dropdown-panel-6d6a7601d2a9e04ae94f19b456563e16",
"dropdown-panel-741ce6efb5ef84856ecec7bb8244f44d",
"dropdown-panel-81fe53c7c723ca3d94d01401dc7e00c0",
"dropdown-panel-a446e03ac74b582fa6a24fefbc8dd1bf",
"dropdown-panel-c652a97140bc598c5580e01bdc444e65",
"dropdown-panel-3",
"dropdown-panel-7e187675c614319023ef5249655de8a9",
"dropdown-panel-c41ebffd7d6c859c099185651c98e657",
"dropdown-panel-cd782977d4cc3557dd801f3b59fa2b2a",
"dropdown-panel-e11d337424f2ea942fc8694af8a45fff",
"dropdown-panel-e226777dabc90f8ed07c75aeddf05969",
"elements-type",
"entity-relationship-diagram",
"example",
@@ -658,16 +668,11 @@
"fab-medium",
"fab-whatsapp",
"fab-x-twitter",
"faq-7533b3556b81a10b7e52b91bbf81d758",
"faq-7533b3556b81a10b7e52b91bbf81d758-heading-faq-7533b3556b81a10b7e52b91bbf81d758",
"faq-7533b3556b81a10b7e52b91bbf81d758-item-0",
"faq-7533b3556b81a10b7e52b91bbf81d758-item-1",
"faq-7533b3556b81a10b7e52b91bbf81d758-item-2",
"faq-f9bb3b20a95e205fbad9e433c2899cbe",
"faq-f9bb3b20a95e205fbad9e433c2899cbe-heading-faq-f9bb3b20a95e205fbad9e433c2899cbe",
"faq-f9bb3b20a95e205fbad9e433c2899cbe-item-0",
"faq-f9bb3b20a95e205fbad9e433c2899cbe-item-1",
"faq-f9bb3b20a95e205fbad9e433c2899cbe-item-2",
"faq-8e1dc1566367f67303783ad93f8d7eab",
"faq-8e1dc1566367f67303783ad93f8d7eab-heading-faq-8e1dc1566367f67303783ad93f8d7eab",
"faq-8e1dc1566367f67303783ad93f8d7eab-item-0",
"faq-8e1dc1566367f67303783ad93f8d7eab-item-1",
"faq-8e1dc1566367f67303783ad93f8d7eab-item-2",
"fas-1",
"fas-2",
"fas-3",
@@ -678,6 +683,7 @@
"fas-angles-right",
"fas-arrow-left",
"fas-arrow-right",
"fas-check",
"fas-chevron-right",
"fas-circle",
"fas-circle-check",
@@ -737,6 +743,7 @@
"items-type",
"kaart",
"kbd",
"kickstart-your-data-stack-without-coding",
"language-selector",
"leaflet-map-0",
"lien",
@@ -751,6 +758,7 @@
"messages-type",
"mindmap",
"more-type",
"move-your-data-into-action",
"nav",
"nav-0-0",
"nav-0-1",
@@ -759,16 +767,12 @@
"nav-0-btn-1",
"nav-0-btn-2",
"nav-nav-0",
"nav-panel-238964a04aea6f8244486a01aed3980e",
"nav-panel-2e7f06bd7d5712159e2b7e5ac229ee72",
"nav-panel-4ebb6a36beb73ac83f451cd6ec26838d",
"nav-panel-4fdf233f48f3ac0b803d8f61d31061f8",
"nav-panel-614a2684d4bdf8e5fe22a20d7d9c0a35",
"nav-panel-6d6a7601d2a9e04ae94f19b456563e16",
"nav-panel-741ce6efb5ef84856ecec7bb8244f44d",
"nav-panel-81fe53c7c723ca3d94d01401dc7e00c0",
"nav-panel-a446e03ac74b582fa6a24fefbc8dd1bf",
"nav-panel-c652a97140bc598c5580e01bdc444e65",
"nav-panel-3",
"nav-panel-7e187675c614319023ef5249655de8a9",
"nav-panel-c41ebffd7d6c859c099185651c98e657",
"nav-panel-cd782977d4cc3557dd801f3b59fa2b2a",
"nav-panel-e11d337424f2ea942fc8694af8a45fff",
"nav-panel-e226777dabc90f8ed07c75aeddf05969",
"navbar",
"navbar-0-collapse",
"navbar-mode",
@@ -777,66 +781,42 @@
"navigation",
"notification",
"overview",
"panel-238964a04aea6f8244486a01aed3980e-0",
"panel-238964a04aea6f8244486a01aed3980e-1",
"panel-238964a04aea6f8244486a01aed3980e-2",
"panel-238964a04aea6f8244486a01aed3980e-btn-0",
"panel-238964a04aea6f8244486a01aed3980e-btn-1",
"panel-238964a04aea6f8244486a01aed3980e-btn-2",
"panel-2e7f06bd7d5712159e2b7e5ac229ee72-0",
"panel-2e7f06bd7d5712159e2b7e5ac229ee72-1",
"panel-2e7f06bd7d5712159e2b7e5ac229ee72-2",
"panel-2e7f06bd7d5712159e2b7e5ac229ee72-btn-0",
"panel-2e7f06bd7d5712159e2b7e5ac229ee72-btn-1",
"panel-2e7f06bd7d5712159e2b7e5ac229ee72-btn-2",
"panel-4ebb6a36beb73ac83f451cd6ec26838d-0",
"panel-4ebb6a36beb73ac83f451cd6ec26838d-1",
"panel-4ebb6a36beb73ac83f451cd6ec26838d-2",
"panel-4ebb6a36beb73ac83f451cd6ec26838d-btn-0",
"panel-4ebb6a36beb73ac83f451cd6ec26838d-btn-1",
"panel-4ebb6a36beb73ac83f451cd6ec26838d-btn-2",
"panel-4fdf233f48f3ac0b803d8f61d31061f8-0",
"panel-4fdf233f48f3ac0b803d8f61d31061f8-1",
"panel-4fdf233f48f3ac0b803d8f61d31061f8-2",
"panel-4fdf233f48f3ac0b803d8f61d31061f8-btn-0",
"panel-4fdf233f48f3ac0b803d8f61d31061f8-btn-1",
"panel-4fdf233f48f3ac0b803d8f61d31061f8-btn-2",
"panel-614a2684d4bdf8e5fe22a20d7d9c0a35-0",
"panel-614a2684d4bdf8e5fe22a20d7d9c0a35-1",
"panel-614a2684d4bdf8e5fe22a20d7d9c0a35-2",
"panel-614a2684d4bdf8e5fe22a20d7d9c0a35-btn-0",
"panel-614a2684d4bdf8e5fe22a20d7d9c0a35-btn-1",
"panel-614a2684d4bdf8e5fe22a20d7d9c0a35-btn-2",
"panel-6d6a7601d2a9e04ae94f19b456563e16-0",
"panel-6d6a7601d2a9e04ae94f19b456563e16-1",
"panel-6d6a7601d2a9e04ae94f19b456563e16-2",
"panel-6d6a7601d2a9e04ae94f19b456563e16-btn-0",
"panel-6d6a7601d2a9e04ae94f19b456563e16-btn-1",
"panel-6d6a7601d2a9e04ae94f19b456563e16-btn-2",
"panel-741ce6efb5ef84856ecec7bb8244f44d-0",
"panel-741ce6efb5ef84856ecec7bb8244f44d-1",
"panel-741ce6efb5ef84856ecec7bb8244f44d-2",
"panel-741ce6efb5ef84856ecec7bb8244f44d-btn-0",
"panel-741ce6efb5ef84856ecec7bb8244f44d-btn-1",
"panel-741ce6efb5ef84856ecec7bb8244f44d-btn-2",
"panel-81fe53c7c723ca3d94d01401dc7e00c0-0",
"panel-81fe53c7c723ca3d94d01401dc7e00c0-1",
"panel-81fe53c7c723ca3d94d01401dc7e00c0-2",
"panel-81fe53c7c723ca3d94d01401dc7e00c0-btn-0",
"panel-81fe53c7c723ca3d94d01401dc7e00c0-btn-1",
"panel-81fe53c7c723ca3d94d01401dc7e00c0-btn-2",
"panel-a446e03ac74b582fa6a24fefbc8dd1bf-0",
"panel-a446e03ac74b582fa6a24fefbc8dd1bf-1",
"panel-a446e03ac74b582fa6a24fefbc8dd1bf-2",
"panel-a446e03ac74b582fa6a24fefbc8dd1bf-btn-0",
"panel-a446e03ac74b582fa6a24fefbc8dd1bf-btn-1",
"panel-a446e03ac74b582fa6a24fefbc8dd1bf-btn-2",
"panel-c652a97140bc598c5580e01bdc444e65-0",
"panel-c652a97140bc598c5580e01bdc444e65-1",
"panel-c652a97140bc598c5580e01bdc444e65-2",
"panel-c652a97140bc598c5580e01bdc444e65-btn-0",
"panel-c652a97140bc598c5580e01bdc444e65-btn-1",
"panel-c652a97140bc598c5580e01bdc444e65-btn-2",
"panel-3-0",
"panel-3-1",
"panel-3-2",
"panel-3-btn-0",
"panel-3-btn-1",
"panel-3-btn-2",
"panel-7e187675c614319023ef5249655de8a9-0",
"panel-7e187675c614319023ef5249655de8a9-1",
"panel-7e187675c614319023ef5249655de8a9-2",
"panel-7e187675c614319023ef5249655de8a9-btn-0",
"panel-7e187675c614319023ef5249655de8a9-btn-1",
"panel-7e187675c614319023ef5249655de8a9-btn-2",
"panel-c41ebffd7d6c859c099185651c98e657-0",
"panel-c41ebffd7d6c859c099185651c98e657-1",
"panel-c41ebffd7d6c859c099185651c98e657-2",
"panel-c41ebffd7d6c859c099185651c98e657-btn-0",
"panel-c41ebffd7d6c859c099185651c98e657-btn-1",
"panel-c41ebffd7d6c859c099185651c98e657-btn-2",
"panel-cd782977d4cc3557dd801f3b59fa2b2a-0",
"panel-cd782977d4cc3557dd801f3b59fa2b2a-1",
"panel-cd782977d4cc3557dd801f3b59fa2b2a-2",
"panel-cd782977d4cc3557dd801f3b59fa2b2a-btn-0",
"panel-cd782977d4cc3557dd801f3b59fa2b2a-btn-1",
"panel-cd782977d4cc3557dd801f3b59fa2b2a-btn-2",
"panel-e11d337424f2ea942fc8694af8a45fff-0",
"panel-e11d337424f2ea942fc8694af8a45fff-1",
"panel-e11d337424f2ea942fc8694af8a45fff-2",
"panel-e11d337424f2ea942fc8694af8a45fff-btn-0",
"panel-e11d337424f2ea942fc8694af8a45fff-btn-1",
"panel-e11d337424f2ea942fc8694af8a45fff-btn-2",
"panel-e226777dabc90f8ed07c75aeddf05969-0",
"panel-e226777dabc90f8ed07c75aeddf05969-1",
"panel-e226777dabc90f8ed07c75aeddf05969-2",
"panel-e226777dabc90f8ed07c75aeddf05969-btn-0",
"panel-e226777dabc90f8ed07c75aeddf05969-btn-1",
"panel-e226777dabc90f8ed07c75aeddf05969-btn-2",
"persona",
"pie-chart",
"pills",
@@ -855,12 +835,15 @@
"spinner",
"stacked-cards-with-an-icon",
"stacked-cards-with-an-image",
"stacked-video-message",
"start-using-your-data-immediately",
"state-diagram",
"sub",
"sup",
"sécurité",
"table",
"tabs",
"tap-into-the-latest-thinking-from-infusal-and-stay-in-the-lead",
"third-panel",
"third-party-links--use-of-your-information",
"timeline",
@@ -873,6 +856,7 @@
"toast-message-email-4",
"toc-collapse",
"tooltip",
"turn-boring-into-brilliant",
"types-de-cookies-que-nous-utilisons",
"types-of-cookies-we-use",
"underline",
@@ -883,6 +867,7 @@
"vos-droits",
"welcome-to-hinode",
"what-are-cookies",
"works-seamlessly-with-your-current-tech-stack",
"xy-chart",
"your-rights"
]

2
go.mod
View File

@@ -4,7 +4,7 @@ go 1.19
require (
github.com/airbnb/lottie-web v5.12.2+incompatible // indirect
github.com/cloudcannon/bookshop/hugo/v3 v3.16.1 // indirect
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3 // indirect
github.com/gethinode/mod-bootstrap v1.3.3 // indirect
github.com/gethinode/mod-csp v1.0.7 // indirect
github.com/gethinode/mod-flexsearch/v2 v2.1.1 // indirect

2
go.sum
View File

@@ -6,6 +6,8 @@ github.com/cloudcannon/bookshop/hugo/v3 v3.16.0 h1:Fb76ABHqTyPl9Z2QqYJCwiMBKPySh
github.com/cloudcannon/bookshop/hugo/v3 v3.16.0/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.1 h1:WByz6rqg28h94VLVLscu77/CHhi2peig/LqrnVomX0Y=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.1/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3 h1:/Z66xKILl1SNGQePHZCnxo6vFgED7AGI600OSPotXj4=
github.com/cloudcannon/bookshop/hugo/v3 v3.16.3/go.mod h1:s7mIonDhtsLcn10ZKuVXyqd6BDHI8vT1WQhZw8rPfY8=
github.com/gethinode/mod-bootstrap v1.0.1 h1:NDZar+UEL42YHCvzzO+jVgqkZU5INA12BpjX3y6U4I4=
github.com/gethinode/mod-bootstrap v1.0.1/go.mod h1:DcpPc2cNaXUPGEvhD7npuEEPA7573NvakTlrwFbyjr8=
github.com/gethinode/mod-bootstrap v1.1.0 h1:BbalsW8kmFhv+J+dcc41TGcjIlM/p69AB0h0oGhAXIU=

View File

@@ -86,7 +86,7 @@
}}
<!-- Main code -->
<div class="text-{{ $args.heading.align }}{{ with $justify }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}{{ with $width }} {{ . }}{{ end }} py-{{ $padding.y }}">
<div class="text-{{ $args.heading.align }}{{ with $justify }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}{{ with $width }} {{ . }}{{ end }} pb-{{ $padding.y }}">
{{ if and $preheading (eq $arrangement "first") }}
<div class="container-fluid">
<div class="row">

View File

@@ -109,7 +109,7 @@
{{ end }}
{{/* Render default timeline */}}
<div class="container p-0 d-none d-md-block mb-5 {{ with $background }} timeline-{{ . }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
<div class="container p-0 d-none d-md-block {{ with $background }} timeline-{{ . }} {{ . }}{{ end }}{{ with $args.class }} {{ . }}{{ end }}">
{{ $title | safeHTML }}
{{ range $index, $item := $data }}
<div class="row timeline timeline-{{ $item.color }} timeline-dot g-0 ">

View File

@@ -54,7 +54,13 @@
{{ errorf "Expected '_bookshop_name': %s" .Position -}}
{{ $error = true }}
{{ else }}
{{ $partial = partial "_bookshop/helpers/component.html" (slice $component_name $data "p-1 p-md-4" "m-n1 m-md-n4") }}
{{- $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)
) }}
{{ end }}
{{ else }}
{{ errorf "Expected frontmatter codeblock as input: %s" .Position -}}