From 7f70d98f952172b95d5a5396d3f282264d7d39cf Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 27 Aug 2020 19:40:05 +0530 Subject: [PATCH] homeInfo : rm extra enabled param --- layouts/_default/list.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/layouts/_default/list.html b/layouts/_default/list.html index 4f69d81..3f02b7b 100644 --- a/layouts/_default/list.html +++ b/layouts/_default/list.html @@ -23,7 +23,7 @@ {{- $class := "post-entry" }} {{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }} -{{- if (eq $.Site.Params.homeInfoParams.enabled true) }} +{{- if .Site.Params.homeInfoParams }} {{- partial "homeInfo.html" . }} {{else}} {{- $class = "first-entry" }}