summaryrefslogtreecommitdiff
path: root/layouts/_default
diff options
context:
space:
mode:
authorAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-08-27 19:55:39 +0530
committerAditya Telange <21258296+adityatelange@users.noreply.github.com>2020-08-27 19:55:39 +0530
commit5345b3e6b060dcccbb2eb3e1c0dddb69439fd88d (patch)
tree55f2f8af477e48021ad412a3990e8ccb7d764966 /layouts/_default
parent7f70d98f952172b95d5a5396d3f282264d7d39cf (diff)
profile-mode: enabled only on .Site.Params.profileMode.enabled: true
Diffstat (limited to 'layouts/_default')
-rw-r--r--layouts/_default/list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 3f02b7b..edc9624 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -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 */}}