This commit is contained in:
aichy126 2022-12-16 19:38:55 +08:00
parent 706b73173f
commit fc5b65ee0e
2 changed files with 7 additions and 2 deletions

View File

@ -426,7 +426,6 @@ func (tc *TemplateController) html(ctx *gin.Context, code int, tpl string, siteI
if !ok {
data["path"] = ""
}
ctx.HTML(code, tpl, data)
}

View File

@ -12,8 +12,14 @@
<link rel="manifest" href="/manifest.json"/>
<link href="{{.cssPath}}" rel="stylesheet" />
<link href="/custom.css" rel="stylesheet">
<script defer="defer" src="{{.scriptPath}}"></script>
<link rel="icon" type="image/png" href="{{.siteinfo.Branding.Favicon}}" data-rh="true">
<link rel="icon" type="image/png" sizes="192x192" href="{{.siteinfo.Branding.SquareIcon}}" data-rh="true">
<!-- <script defer="defer" src="{{.scriptPath}}"></script> -->
{{if $.siteinfo.JsonLD }}{{ .siteinfo.JsonLD | templateHTML}}{{end}}
</head>
<body>