fix(header): header style and search dropdown (#282)
This commit is contained in:
@@ -7,7 +7,13 @@
|
||||
{{- with .logo -}}
|
||||
{{- partial "plugin/image.html" (dict "src" . "alt" $.Site.Title "class" "logo") -}}
|
||||
{{- end -}}
|
||||
{{- .pre | safeHTML }}{{ .name }}{{ .post | safeHTML -}}
|
||||
{{- with .pre -}}
|
||||
<span class="header-title-pre">{{ . | safeHTML }}</span>
|
||||
{{- end -}}
|
||||
{{- .name -}}
|
||||
{{- with .post -}}
|
||||
<span class="header-title-post">{{ . | safeHTML }}</span>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- .Site.Title -}}
|
||||
{{- end -}}
|
||||
@@ -79,7 +85,13 @@
|
||||
{{- with .logo -}}
|
||||
{{- partial "plugin/image.html" (dict "src" . "alt" $.Site.Title "class" "logo") -}}
|
||||
{{- end -}}
|
||||
{{- .pre | safeHTML }}{{ .name }}{{ .post | safeHTML -}}
|
||||
{{- with .pre -}}
|
||||
<span class="header-title-pre">{{ . | safeHTML }}</span>
|
||||
{{- end -}}
|
||||
{{- .name -}}
|
||||
{{- with .post -}}
|
||||
<span class="header-title-post">{{ . | safeHTML }}</span>
|
||||
{{- end -}}
|
||||
{{- else -}}
|
||||
{{- .Site.Title -}}
|
||||
{{- end -}}
|
||||
|
||||
Reference in New Issue
Block a user