mirror of
https://github.com/kubesphere/website.git
synced 2025-12-26 00:12:48 +00:00
fix: case page title
Signed-off-by: TheYoungManLi <cjl@kubesphere.io>
This commit is contained in:
parent
40ad7bdf97
commit
1f0799e23d
|
|
@ -49,6 +49,8 @@
|
|||
{{ with .specialContent }}
|
||||
{{ if .link }}
|
||||
{{ partial "case_specialContent.html" . }}
|
||||
{{ else if .level }}
|
||||
{{ partial "case_specialContent.html" . }}
|
||||
{{ else }}
|
||||
<p class="{{ if .bold }}title-bold{{end}}">{{ .text }}</p>
|
||||
{{ end }}
|
||||
|
|
|
|||
|
|
@ -1,5 +1,5 @@
|
|||
{{ $content := . }}
|
||||
<a href="{{ .link }}" style="{{ if .link }}color: #55bc8a;{{end}}" class="{{ if .bold }}title-bold{{end}}">
|
||||
<a {{ if .link }}href="{{ .link }}"{{end}} style="{{ if .link }}color: #55bc8a;{{end}}" class="{{ if .bold }}title-bold{{end}}">
|
||||
{{ if .level }}
|
||||
<h{{ .level }} style="{{ if .color }}color:{{.color}};{{end}}">{{ .text }}</h{{ .level }}>
|
||||
{{ else }}
|
||||
|
|
|
|||
Loading…
Reference in New Issue