Merge branch 'feat/0.7.0/seo' into test

This commit is contained in:
aichy126 2022-12-16 19:48:08 +08:00
commit 98d75540c0
1 changed files with 2 additions and 5 deletions

View File

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