Change customHTML to customHeadHTML
This commit is contained in:
@@ -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]
|
||||||
|
|||||||
@@ -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 }}
|
||||||
|
|||||||
Reference in New Issue
Block a user