fix(template): add template HTML

This commit is contained in:
LinkinStars
2024-07-17 11:15:36 +08:00
parent c4318f1d18
commit bf4f8a70dc
2 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -31,7 +31,7 @@
</footer>
</div>
<!--customize_footer-->
{{if .FooterCode }}{{.FooterCode}}{{end}}
{{if .FooterCode }}{{.FooterCode | templateHTML}}{{end}}
<!--customize_footer-->
</body>
</html>
+2 -2
View File
@@ -77,13 +77,13 @@
content="{{if $.siteinfo.Branding.Favicon }}{{$.siteinfo.Branding.Favicon}}{{else}}{{$.baseURL}}/favicon.ico{{end}}"}
/>
<!--customize_head-->
{{if .HeadCode }} {{.HeadCode}} {{end}}
{{if .HeadCode }} {{.HeadCode | templateHTML}} {{end}}
<!--customize_head-->
</head>
<body>
<!--customize_header-->
{{if .HeaderCode }} {{.HeaderCode}} {{end}}
{{if .HeaderCode }} {{.HeaderCode | templateHTML}} {{end}}
<!--customize_header-->
<div id="root">