From 4c3a3dab709c1b2c905a5206cbb312e367eaa580 Mon Sep 17 00:00:00 2001 From: Will Faught Date: Mon, 8 Apr 2024 22:07:18 -0700 Subject: [PATCH] Remove max width with scroll from content --- exampleSite/content/_index.md | 2 +- layouts/partials/paige/content.html | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index 57709836..0c8cf760 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -15,7 +15,7 @@ paige: title: "Paige" --- -

{{% paige/image alt="Landscape" breakpoints=true class="object-fit-cover rounded-4" fetchpriority="high" height="20rem" loading="eager" process="webp" src="https://images.unsplash.com/photo-1490604001847-b712b0c2f967?w=1296" width="100%" %}}

+

{{% paige/image alt="Landscape" breakpoints=true class="object-fit-cover rounded-4 shadow-lg" fetchpriority="high" height="20rem" loading="eager" process="webp" src="https://images.unsplash.com/photo-1490604001847-b712b0c2f967?w=1296" width="100%" %}}

An advanced Hugo theme

diff --git a/layouts/partials/paige/content.html b/layouts/partials/paige/content.html index 7cc8e8cf..c47c839e 100644 --- a/layouts/partials/paige/content.html +++ b/layouts/partials/paige/content.html @@ -3,5 +3,5 @@ {{ $content := $page.Content | replaceRE `()` (printf `${1} #${3}` (i18n "paige_aria_section_link")) | safeHTML }} {{ with $content }} -
{{ . }}
+
{{ . }}
{{ end }}