From 31237df2d4cc1e92de9d7597839111b74324738f Mon Sep 17 00:00:00 2001 From: Yash Mehrotra Date: Mon, 2 Aug 2021 00:02:22 +0530 Subject: [PATCH] Change customHTML to customHeadHTML --- exampleSite/config.toml | 2 +- themes/gokarna/layouts/partials/head.html | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/exampleSite/config.toml b/exampleSite/config.toml index e41b25d..444697f 100644 --- a/exampleSite/config.toml +++ b/exampleSite/config.toml @@ -14,7 +14,7 @@ pygmentsStyle = "monokai" footer = "The Marauders" description = "Sky above, sand below & peace within" avatarURL = "https://upload.wikimedia.org/wikipedia/commons/7/7a/1859-Martinique.web.jpg" - customHTML = "" + customHeadHTML = "" showPostsOnHomePage = "popular" [menu] diff --git a/themes/gokarna/layouts/partials/head.html b/themes/gokarna/layouts/partials/head.html index 77c4d8a..97e7638 100644 --- a/themes/gokarna/layouts/partials/head.html +++ b/themes/gokarna/layouts/partials/head.html @@ -15,8 +15,8 @@ - {{ if .Site.Params.CustomHTML }} - {{ .Site.Params.CustomHTML | safeHTML }} + {{ if .Site.Params.CustomHeadHTML }} + {{ .Site.Params.CustomHeadHTML | safeHTML }} {{ end }} {{ $title := print .Site.Title " | " .Title }}