From 2be271608947fb77eaa278c8c389b71e26b89c54 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Tue, 3 Mar 2026 19:29:21 +0100 Subject: [PATCH 1/2] feat: illustrate 3x1 aspect ration --- content/components/carousel.md | 18 ++++++++++++++++++ content/components/image.md | 10 ++++++++++ 2 files changed, 28 insertions(+) diff --git a/content/components/carousel.md b/content/components/carousel.md index 3b34e7b..f16659e 100644 --- a/content/components/carousel.md +++ b/content/components/carousel.md @@ -28,6 +28,24 @@ Set the `ratio` to `1x1` for a square aspect ratio. {{< /example >}} +### 3x1 ratio + +{{< release version="v2.0.0" >}} + +Set the `ratio` to `3x1` for a landscape aspect ratio. + + +{{< example lang="hugo" >}} +{{}} + {{}} + {{}} + {{}} +{{}} +{{< /example >}} + + +### 3x2 ratio + Set the `ratio` to `3x2` for a landscape aspect ratio. diff --git a/content/components/image.md b/content/components/image.md index 5e8e82e..b99b1a5 100644 --- a/content/components/image.md +++ b/content/components/image.md @@ -26,6 +26,16 @@ Set the `ratio` to `1x1` for a square aspect ratio. {{< /example >}} +Set the `ratio` to `3x1` for a landscape aspect ratio. + +{{< release version="v2.0.0" >}} + + +{{< example lang="hugo" >}} +{{}} +{{< /example >}} + + Set the `ratio` to `3x2` for a landscape aspect ratio. From a8657c106423f711c56eb8906e20af485d86f211 Mon Sep 17 00:00:00 2001 From: Mark Dumay <61946753+markdumay@users.noreply.github.com> Date: Tue, 3 Mar 2026 19:29:32 +0100 Subject: [PATCH 2/2] chore: update dependencies --- exampleSite/go.mod | 2 +- exampleSite/go.sum | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/exampleSite/go.mod b/exampleSite/go.mod index 5c44d15..6222554 100644 --- a/exampleSite/go.mod +++ b/exampleSite/go.mod @@ -2,4 +2,4 @@ module github.com/gethinode/mod-docs-example go 1.19 -require github.com/gethinode/mod-docs v1.3.0 // indirect +require github.com/gethinode/mod-docs v1.4.0 // indirect diff --git a/exampleSite/go.sum b/exampleSite/go.sum index 1dbb81f..2203a26 100644 --- a/exampleSite/go.sum +++ b/exampleSite/go.sum @@ -10,3 +10,5 @@ github.com/gethinode/mod-docs v1.1.2 h1:xAhgmGrrEWEFPYbT3Ng57TWvOHcIn2z0Wps8iIOU github.com/gethinode/mod-docs v1.1.2/go.mod h1:ru1w0fHqFocjDIMV0dm40OwhBw5k4UncCS8iO/1S5kI= github.com/gethinode/mod-docs v1.3.0 h1:3sX5SlLKTtfd0WtI9NjfWR8Zse7rf+MuHupnkMoG1/w= github.com/gethinode/mod-docs v1.3.0/go.mod h1:ru1w0fHqFocjDIMV0dm40OwhBw5k4UncCS8iO/1S5kI= +github.com/gethinode/mod-docs v1.4.0 h1:8StPPaPlLk8BnCK4OwIxbuFxiXTfU3gwOi5q/UfDW0c= +github.com/gethinode/mod-docs v1.4.0/go.mod h1:ru1w0fHqFocjDIMV0dm40OwhBw5k4UncCS8iO/1S5kI=