A Q&A platform software for teams at any scales. Whether it's a community forum, help center, or knowledge management platform, you can always count on Apache Answer.
update header.html
aichy126714c06da4af5
diff --git a/ui/template/header.html b/ui/template/header.htmlindex ebb59788..73625a7c 100644--- a/ui/template/header.html+++ b/ui/template/header.html@@ -12,8 +12,9 @@<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}}