diff --git a/layouts/_default/baseof.html b/layouts/_default/baseof.html
index 529edeb..6141206 100644
--- a/layouts/_default/baseof.html
+++ b/layouts/_default/baseof.html
@@ -1,105 +1,18 @@
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- {{ .Title }} | {{ .Site.Title }}
-
- {{ if .IsHome }}
-
- {{ end }}
-
+
+ {{ partial "head.html" . }}
skip to content
{{ partial "svg.html" . }}
-
-
-
-
-
-
-
- {{ .Site.Params.Description | markdownify }}
-
-
-
- {{ block "nav" . }}
-
- Main navigation
-
- {{ $current := . }}
-
- {{ range .Site.Menus.nav }}
-
- {{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }}
- {{ $active = or $active (eq .Name $current.Title) }}
- {{ $active = or $active (and (eq .Name "Blog") (eq $current.Section "post")) }}
- {{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
-
-
-
-
- {{ .Name }}
-
-
- {{ end }}
-
-
- {{ end }}
-
-
+ {{ partial "header.html" . }}
- {{ block "main" . }}
- {{ end }}
-
+ {{ block "main" . }}{{ end }}
+ {{ partial "footer.html" . }}
-
-
- {{ if .Page.IsHome }}
-
- {{ end }}
+ {{ partial "script.html" . }}
diff --git a/layouts/_default/li.html b/layouts/_default/li.html
deleted file mode 100644
index b2ec1b7..0000000
--- a/layouts/_default/li.html
+++ /dev/null
@@ -1,10 +0,0 @@
-
-
-
diff --git a/layouts/_default/list.html b/layouts/_default/list.html
index 7290243..d3dae91 100644
--- a/layouts/_default/list.html
+++ b/layouts/_default/list.html
@@ -4,9 +4,18 @@
{{ .Title }}
- {{ range .Data.Pages }}
- {{ .Render "li" }}
- {{ end }}
+ {{ range .Pages.ByPublishDate.Reverse }}
+
+
+
+ {{ end }}
{{ end }}
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
new file mode 100644
index 0000000..5864862
--- /dev/null
+++ b/layouts/partials/footer.html
@@ -0,0 +1,9 @@
+
diff --git a/layouts/partials/head.html b/layouts/partials/head.html
new file mode 100644
index 0000000..698883b
--- /dev/null
+++ b/layouts/partials/head.html
@@ -0,0 +1,39 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+ {{ $title := print .Title " | " .Site.Title }}
+ {{ if .IsHome }}
+ {{ $title = .Site.Title }}
+ {{ end }}
+
+ {{ $title }}
+
+ {{ if .IsHome }}
+
+ {{ end }}
+
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
new file mode 100644
index 0000000..fbaf1ae
--- /dev/null
+++ b/layouts/partials/header.html
@@ -0,0 +1,14 @@
+
\ No newline at end of file
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
new file mode 100644
index 0000000..1abadca
--- /dev/null
+++ b/layouts/partials/nav.html
@@ -0,0 +1,26 @@
+
+ Main navigation
+
+ {{ $current := . }}
+
+ {{ range .Site.Menus.nav }}
+
+ {{ $active := or ($current.IsMenuCurrent "nav" .) ($current.HasMenuCurrent "nav" .) }}
+ {{ $active = or $active (eq .Name $current.Title) }}
+ {{ $active = or $active (and (eq .Name "Blog") (eq $current.Section "post")) }}
+ {{ $active = or $active (and (eq .Name "Tags") (eq $current.Section "tags")) }}
+
+
+
+
+ {{ .Name }}
+
+
+ {{ end }}
+
+
\ No newline at end of file
diff --git a/layouts/partials/script.html b/layouts/partials/script.html
new file mode 100644
index 0000000..b0073ef
--- /dev/null
+++ b/layouts/partials/script.html
@@ -0,0 +1,5 @@
+
+
+{{ if .IsHome }}
+
+{{ end }}
\ No newline at end of file