homeInfo : rm extra enabled param

This commit is contained in:
Aditya Telange 2020-08-27 19:40:05 +05:30
parent f925f2fd40
commit 7f70d98f95
No known key found for this signature in database
GPG Key ID: 82E844EF3DA99E77

View File

@ -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" }}