aboutsummaryrefslogtreecommitdiffstats
path: root/layouts/partials/hero.html
diff options
context:
space:
mode:
authorOscar Najera <hi@oscarnajera.com>2023-09-07 02:37:36 +0200
committerOscar Najera <hi@oscarnajera.com>2023-09-07 02:37:36 +0200
commit5e20b8d99cd4591cc9d066370139d210d673864c (patch)
treea17021b68f31b3d5ccb488e057dc7aa7942ce518 /layouts/partials/hero.html
parentcd710363419f5144062707e8cd170278052924fa (diff)
downloadhugo-minimalist-theme-5e20b8d99cd4591cc9d066370139d210d673864c.tar.gz
hugo-minimalist-theme-5e20b8d99cd4591cc9d066370139d210d673864c.tar.bz2
hugo-minimalist-theme-5e20b8d99cd4591cc9d066370139d210d673864c.zip
metadata for social media
I must here also change how the page image is stored
Diffstat (limited to 'layouts/partials/hero.html')
-rw-r--r--layouts/partials/hero.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/partials/hero.html b/layouts/partials/hero.html
index 263bb03..4729291 100644
--- a/layouts/partials/hero.html
+++ b/layouts/partials/hero.html
@@ -1,4 +1,4 @@
-<div style="background: linear-gradient( rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5) ), url('{{ .Params.image }}'); background-position: center;"
+<div style="background: linear-gradient( rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.5) ){{ with .Params.images }}, url('{{ index . 0 }}'){{ end }}; background-position: center;"
class="bg-center pv5" >
<div class="mw7 center ph2 near-white">
<h1 class="f1 tc title berkshire-swash">{{ .Title }}</h1>