From 8cd36f504e1824895a0ab60db52179319a668172 Mon Sep 17 00:00:00 2001
From: Regis Philibert <login@regisphilibert.com>
Date: Wed, 19 Jan 2022 16:24:13 +0000
Subject: [PATCH] Use .Render for summary and summary-with-image throughout (#498)

---
 layouts/partials/summary-with-image.html |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/layouts/partials/summary-with-image.html b/layouts/partials/summary-with-image.html
index 94666db..b73f698 100644
--- a/layouts/partials/summary-with-image.html
+++ b/layouts/partials/summary-with-image.html
@@ -1,3 +1,6 @@
+{{ partial "func/warn" `You are currently using 'partial "summary-with-image"' in your project templates. 
+You should replace it with '.Render "summary-with-image"' as the use of this partial will be deprecated in future releases.
+More info here: https://github.com/theNewDynamic/gohugo-theme-ananke/releases/tag/v2.8.1` }}
 {{ $featured_image := partial "func/GetFeaturedImage.html" . }}
 <article class="bb b--black-10">
   <div class="db pv4 ph3 ph0-l no-underline dark-gray">

--
Gitblit v1.10.0