diff options
author | Oscar Najera <hi@oscarnajera.com> | 2023-09-07 02:37:36 +0200 |
---|---|---|
committer | Oscar Najera <hi@oscarnajera.com> | 2023-09-07 02:37:36 +0200 |
commit | 5e20b8d99cd4591cc9d066370139d210d673864c (patch) | |
tree | a17021b68f31b3d5ccb488e057dc7aa7942ce518 /layouts/partials/hero.html | |
parent | cd710363419f5144062707e8cd170278052924fa (diff) | |
download | hugo-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.html | 2 |
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> |