mirror of
https://github.com/Wonderfall/hugo-WonderMod.git
synced 2024-12-28 00:19:28 -05:00
homeInfo : rm extra enabled param
This commit is contained in:
parent
f925f2fd40
commit
7f70d98f95
@ -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" }}
|
||||
|
Loading…
Reference in New Issue
Block a user