From ed77f349671ed2eef9232683bf1d1362c08a7141 Mon Sep 17 00:00:00 2001
From: alexisben <alex@noesya.coop>
Date: Thu, 4 May 2023 19:30:12 +0200
Subject: [PATCH] fix

---
 layouts/diplomas/term.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/layouts/diplomas/term.html b/layouts/diplomas/term.html
index 76057e4a..807600e0 100644
--- a/layouts/diplomas/term.html
+++ b/layouts/diplomas/term.html
@@ -12,7 +12,7 @@
             <a href="{{ .Permalink }}" class="title" title="{{ safeHTML (i18n "commons.more_aria" (dict "Title" $title)) }}">
               {{- $title -}}
             </a>
-            {{ if .Params }}
+            {{ if .Params.summary }}
               <p class="description">
                 {{- partial "PrepareHTML" .Params.summary -}}
               </p>
-- 
GitLab