mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-26 04:32:50 +00:00
Docs: fix favicon (#258)
Signed-off-by: Carson Yang <yangchuansheng33@gmail.com>
This commit is contained in:
parent
1ba3d72a8a
commit
139d0be52b
|
|
@ -0,0 +1,18 @@
|
|||
{{ if os.FileExists "static/favicon.ico" -}}
|
||||
<link rel="icon" href="{{ "/favicon.ico" | absURL }}" sizes="any">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/favicon.svg" -}}
|
||||
<link rel="icon" type="image/svg+xml" href="{{ "/favicon.svg" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/apple-touch-icon.png" -}}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/apple-touch-icon.png" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/favicon-32x32.png" -}}
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/favicon-32x32.png" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/favicon-16x16.png" -}}
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/favicon-16x16.png" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/site.webmanifest" -}}
|
||||
<link rel="manifest" crossorigin="use-credentials" href="{{ "/site.webmanifest" | absURL }}">
|
||||
{{ end -}}
|
||||
|
|
@ -0,0 +1,18 @@
|
|||
{{ if os.FileExists "static/favicon.ico" -}}
|
||||
<link rel="icon" href="{{ "/favicon.ico" | absURL }}" sizes="any">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/favicon.svg" -}}
|
||||
<link rel="icon" type="image/svg+xml" href="{{ "/favicon.svg" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/apple-touch-icon.png" -}}
|
||||
<link rel="apple-touch-icon" sizes="180x180" href="{{ "/apple-touch-icon.png" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/favicon-32x32.png" -}}
|
||||
<link rel="icon" type="image/png" sizes="32x32" href="{{ "/favicon-32x32.png" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/favicon-16x16.png" -}}
|
||||
<link rel="icon" type="image/png" sizes="16x16" href="{{ "/favicon-16x16.png" | absURL }}">
|
||||
{{ end -}}
|
||||
{{ if os.FileExists "static/site.webmanifest" -}}
|
||||
<link rel="manifest" crossorigin="use-credentials" href="{{ "/site.webmanifest" | absURL }}">
|
||||
{{ end -}}
|
||||
Loading…
Reference in New Issue