From 5345b3e6b060dcccbb2eb3e1c0dddb69439fd88d Mon Sep 17 00:00:00 2001 From: Aditya Telange <21258296+adityatelange@users.noreply.github.com> Date: Thu, 27 Aug 2020 19:55:39 +0530 Subject: profile-mode: enabled only on .Site.Params.profileMode.enabled: true --- layouts/partials/head.html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'layouts/partials/head.html') diff --git a/layouts/partials/head.html b/layouts/partials/head.html index 60d66eb..8c88a68 100644 --- a/layouts/partials/head.html +++ b/layouts/partials/head.html @@ -30,7 +30,7 @@ {{ $stylesheet := slice $anoldhope $style | resources.Concat "css/stylesheet.css" | minify | fingerprint }} -{{ if (and (.Site.Params.profileMode) (.IsHome)) }} +{{ if (and (.Site.Params.profileMode.enabled) (.IsHome)) }} {{ $profileMode := resources.Get "css/profileMode.css" | minify | fingerprint }} -- cgit v1.2.3