Skip to content

Commit 9e478df

Browse files
authored
[core] fix rest api doc charset and tab's icon and title (#5380)
1 parent 89c8628 commit 9e478df

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

docs/layouts/_default/baseof.html

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,11 @@
2121

2222
<head>
2323
{{ hugo.Generator }}
24-
{{ if not .Params.redocPage }}
24+
{{ if .Params.redocPage }}
25+
<meta charset="UTF-8">
26+
<title>{{ partial "docs/title" . }} | {{ .Site.Title -}}</title>
27+
<link rel="icon" href="{{ "favicon.png" | relURL }}" type="image/x-icon">
28+
{{else}}
2529
{{ partial "docs/html-head" . }}
2630
{{end}}
2731
{{ partial "docs/inject/head" . }}

0 commit comments

Comments
 (0)