diff --git a/layouts/partials/header.html b/layouts/partials/header.html
index f53ab52b..cc636598 100644
--- a/layouts/partials/header.html
+++ b/layouts/partials/header.html
@@ -46,7 +46,7 @@
{{- if .Site.Title }}
{{- if .Site.Params.label.icon }}
-
{{- end -}}
{{- $label_text -}}
diff --git a/layouts/partials/index_profile.html b/layouts/partials/index_profile.html
index b7753f9f..4e961bac 100644
--- a/layouts/partials/index_profile.html
+++ b/layouts/partials/index_profile.html
@@ -2,7 +2,7 @@
{{- with .Site.Params.profileMode }}
{{- if .imageUrl -}}
-
{{- end }}
{{ .title | default $.Site.Title | markdownify }}