profile-mode: enabled only on .Site.Params.profileMode.enabled: true

This commit is contained in:
Aditya Telange committed 2020-08-27 19:55:39 +05:30
1 parent 7f70d98f95
commit 5345b3e6b0
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -1,6 +1,6 @@
{{ define "main" }}
{{ if (and .Site.Params.profileMode .IsHome) }}
{{ if (and .Site.Params.profileMode.enabled .IsHome) }}
{{- partial "indexProfile.html" . }}
{{else}} {{/* if not profileMode */}}