diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index c7d627b..0b46514 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -4,7 +4,11 @@
{{ partial "google-analytics.html" . }}
{{ partial "meta.html" . }}
-
{{ block "title" . }}{{ .Site.Title }}{{ end }}
+
+ {{- block "title" . -}}
+ {{ .Title }} – {{ site.Title -}}
+ {{ end -}}
+
{{ partial "favicons.html" . }}
{{ partial "css.html" . }}
@@ -13,8 +17,7 @@
{{ partial "navbar.html" . }}
{{ partial "banner.html" -}}
- {{ block "main" . }}
- {{ end }}
+ {{ block "main" . }}{{ end }}
{{ partial "footer.html" . }}
{{ partial "javascript.html" . }}
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index 400de57..3629e20 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,7 +1,3 @@
-{{ define "title" -}}
-{{ .Title }} – {{ site.Title -}}
-{{ end -}}
-
{{ define "main" -}}
{{ partial "hero.html" . -}}
diff --git a/layouts/blog/list.html b/layouts/blog/list.html
index 38a9a1b..97d4c8e 100644
--- a/layouts/blog/list.html
+++ b/layouts/blog/list.html
@@ -1,7 +1,3 @@
-{{ define "title" -}}
-{{ .Title }} – {{ site.Title -}}
-{{ end -}}
-
{{ define "main" -}}
{{ partial "blog/list-hero.html" . }}
{{ partial "blog/posts.html" . -}}
diff --git a/layouts/blog/single.html b/layouts/blog/single.html
index 8bd7265..2dd118b 100644
--- a/layouts/blog/single.html
+++ b/layouts/blog/single.html
@@ -1,7 +1,3 @@
-{{ define "title" -}}
-{{ .Title }} – {{ site.Title -}}
-{{ end -}}
-
{{ define "main" -}}
{{ partial "blog/hero.html" . }}
{{ partial "blog/article.html" . -}}
diff --git a/layouts/docs/list.html b/layouts/docs/list.html
index 650edd2..cacaf9b 100644
--- a/layouts/docs/list.html
+++ b/layouts/docs/list.html
@@ -1,7 +1,3 @@
-{{ define "title" -}}
-{{ .Title }} – {{ site.Title -}}
-{{ end -}}
-
{{ define "main" -}}
{{ partial "docs/article.html" . -}}
{{ end -}}
diff --git a/layouts/docs/single.html b/layouts/docs/single.html
index 650edd2..cacaf9b 100644
--- a/layouts/docs/single.html
+++ b/layouts/docs/single.html
@@ -1,7 +1,3 @@
-{{ define "title" -}}
-{{ .Title }} – {{ site.Title -}}
-{{ end -}}
-
{{ define "main" -}}
{{ partial "docs/article.html" . -}}
{{ end -}}
diff --git a/layouts/partials/content.html b/layouts/partials/content.html
index fe257eb..e6e50ee 100644
--- a/layouts/partials/content.html
+++ b/layouts/partials/content.html
@@ -1,4 +1,4 @@
-{{ $size := .size | default "normal" -}}
+{{ $size := .size | default "normal" -}}
{{ .content }}
\ No newline at end of file