diff --git a/README.md b/README.md index 21f29f83..2beeade5 100644 --- a/README.md +++ b/README.md @@ -312,6 +312,7 @@ paige: blurb: "" # Displayed below the greeting greeting: "" # Displayed below the image image: + alt: "" # Image alt raw: false # Do not copy or process the file stretch: false # Stretch the image fully horizontally if true; center the image otherwise url: "" # Local or remote resource glob diff --git a/exampleSite/content/_index.md b/exampleSite/content/_index.md index c6bc2f6e..76dcda2b 100644 --- a/exampleSite/content/_index.md +++ b/exampleSite/content/_index.md @@ -6,6 +6,7 @@ paige: blurb: "Paige is designed to put your content front and center, avoiding the typical clutter. The look is seamless and smooth, scalable and readable, portable and efficient. The layout is minimal and responsive, using verticality and white space to focus and delineate parts of the page. The implementation is flexible and extensible. It's a versatile canvas that serves most web needs." greeting: "An advanced Hugo theme" image: + alt: "Landscape" stretch: true url: "landscape.webp" social: diff --git a/layouts/_default/paige/home.html b/layouts/_default/paige/home.html index 6c96b22c..3ffe0cc0 100644 --- a/layouts/_default/paige/home.html +++ b/layouts/_default/paige/home.html @@ -15,6 +15,7 @@
{{ partial "paige/img.html" (dict + "alt" $page.Params.paige.home.image.alt "class" $class "fetchpriority" "high" "loading" "eager"