Change customHTML to customHeadHTML

This commit is contained in:
Yash Mehrotra
2021-08-02 00:02:22 +05:30
parent bb5f7aaa61
commit 31237df2d4
2 changed files with 3 additions and 3 deletions

View File

@@ -14,7 +14,7 @@ pygmentsStyle = "monokai"
footer = "The Marauders" footer = "The Marauders"
description = "Sky above, sand below & peace within" description = "Sky above, sand below & peace within"
avatarURL = "https://upload.wikimedia.org/wikipedia/commons/7/7a/1859-Martinique.web.jpg" avatarURL = "https://upload.wikimedia.org/wikipedia/commons/7/7a/1859-Martinique.web.jpg"
customHTML = "" customHeadHTML = ""
showPostsOnHomePage = "popular" showPostsOnHomePage = "popular"
[menu] [menu]

View File

@@ -15,8 +15,8 @@
<script src="/js/main.js"></script> <script src="/js/main.js"></script>
<!-- Option for user to inject custom html --> <!-- Option for user to inject custom html -->
{{ if .Site.Params.CustomHTML }} {{ if .Site.Params.CustomHeadHTML }}
{{ .Site.Params.CustomHTML | safeHTML }} {{ .Site.Params.CustomHeadHTML | safeHTML }}
{{ end }} {{ end }}
{{ $title := print .Site.Title " | " .Title }} {{ $title := print .Site.Title " | " .Title }}