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
1 changed files with 1 additions and 1 deletions

View File

@ -23,7 +23,7 @@
{{- $class := "post-entry" }} {{- $class := "post-entry" }}
{{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }} {{- if (and $.IsHome (eq $paginator.PageNumber 1) (eq $index 0)) }}
{{- if (eq $.Site.Params.homeInfoParams.enabled true) }} {{- if .Site.Params.homeInfoParams }}
{{- partial "homeInfo.html" . }} {{- partial "homeInfo.html" . }}
{{else}} {{else}}
{{- $class = "first-entry" }} {{- $class = "first-entry" }}