diff --git a/templates/page_header.html b/templates/page_header.html
index d062256f..2cf35247 100644
--- a/templates/page_header.html
+++ b/templates/page_header.html
@@ -9,8 +9,7 @@
{{- with .board -}}
{{- with $.op}}{{.TitleText}}{{else}}/{{$.board.Dir}}/ - {{$.board.Title}}{{end -}}
{{- else -}}
- {{- with $.documentTitle}}documentTitle: {{.}}
- {{- else -}}
+ {{- with $.documentTitle}}{{.}}{{- else -}}
{{- with $.pageTitle -}}{{$.pageTitle}} - {{$.siteConfig.SiteName}}
{{else}}{{$.siteConfig.SiteName}}
{{- end -}}