From ea3d489836a4fcf0b0875e0fb9e3462db2f7a41a Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Tue, 10 Jan 2023 10:13:30 +0100
Subject: [PATCH] add picture to category term

---
 config.yaml                                | 2 +-
 layouts/partials/categories/hero-term.html | 1 +
 layouts/partials/persons/hero-single.html  | 2 +-
 3 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/config.yaml b/config.yaml
index 2ad97347..4e605329 100644
--- a/config.yaml
+++ b/config.yaml
@@ -16,4 +16,4 @@ params:
       disabled: true
   logo:
     header: "/assets/images/logo.svg"
-    footer: "/assets/images/logo.svg"
\ No newline at end of file
+    footer: "/assets/images/logo.svg"
diff --git a/layouts/partials/categories/hero-term.html b/layouts/partials/categories/hero-term.html
index 0a48273d..3454341c 100644
--- a/layouts/partials/categories/hero-term.html
+++ b/layouts/partials/categories/hero-term.html
@@ -1,5 +1,6 @@
 {{- partial "header/hero.html"
       (dict
         "title" .Title
+        "image" .Params.image
         "context" .
       ) -}}
diff --git a/layouts/partials/persons/hero-single.html b/layouts/partials/persons/hero-single.html
index 059d3e3d..847d4dc9 100644
--- a/layouts/partials/persons/hero-single.html
+++ b/layouts/partials/persons/hero-single.html
@@ -11,7 +11,7 @@
                   "class"    "img-fluid"
                   "mobile"   "202x202"
                   "tablet"   "192x192"
-                  "desktop"  "400x400"
+                  "desktop"  "415x415"
                 )}}
         </div>
       {{ end }}
-- 
GitLab