-{{ partial "footer.html" . }}
\ No newline at end of file
+{{ end }}
\ No newline at end of file
diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
new file mode 100644
index 0000000..b0cc70d
--- /dev/null
+++ b/layouts/_default/baseof.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+ {{ if not .IsHome }}{{ .Title }} | {{ end }}{{ .Site.Title }}
+
+ {{ with .Site.Params.author }}{{ end }}
+ {{ if .Site.Params.opengraph }}{{ template "_internal/opengraph.html" . }}{{ end }}
+ {{ if .Site.Params.twitter_cards }}{{ template "_internal/twitter_cards.html" . }}{{ end }}
+
+
+
+ {{ with .OutputFormats.Get "rss" -}}
+ {{ printf `` .Rel .MediaType.Type .RelPermalink $.Site.Title | safeHTML }}
+ {{ end -}}
+
+ {{ if not .Site.IsServer }}{{ template "_internal/google_analytics_async.html" . }}{{ end }}
+
+
+ {{ partial "header" . }}
+
+ {{ block "main" . }}
+ {{- if or .Title .Content }}
+
+ {{ with .Title }}
{{ . }}
{{ end }}
+ {{ with .Content }}
{{ . }}
{{ end }}
+
+ {{ end }}
+ {{ end }}
+
+ {{ partial "footer" . }}
+
+
+{{- partial "mathjax.html" . -}}
+
+
\ No newline at end of file
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index f8fecf4..bd8a291 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -1,18 +1,10 @@
-{{ partial "header.html" . }}
-
- {{- if or .Title .Content }}
-
- {{ with .Title }}
{{ . }}
{{ end }}
- {{ with .Content }}
{{ . }}
{{ end }}
+{{ define "main" }}
+
+ {{ range .Paginator.Pages }}
+
+ {{ .Render "summary" }}
{{ end }}
-
- {{ range .Paginator.Pages }}
-
- {{ .Render "summary" }}
-
- {{ end }}
-
- {{ partial "pagination.html" . }}
-{{ partial "footer.html" . }}
\ No newline at end of file
+ {{ partial "pagination.html" . }}
+{{ end }}
\ No newline at end of file
diff --git a/layouts/_default/single.html b/layouts/_default/single.html
index bc9d6ef..b841ac2 100644
--- a/layouts/_default/single.html
+++ b/layouts/_default/single.html
@@ -1,21 +1,19 @@
-{{ partial "header.html" . }}
-