-
-
-
- {{ .Site.Params.firstName | default "Introduction" }}.
-
-
- {{ .Site.Params.tagLine }}
-
-
-
-
- {{ partial "social.html" . }}
+
+
+
+ {{ partial "head/metadata.html" . }}
+ {{ partial "head/favicons.html" . }}
+ {{ partial "head/css.html" . }}
+
+
+
+
+
+
+
+
+
+ {{ .Site.Params.firstName | default "Introduction" }}.
+
+
+ {{ .Site.Params.tagLine }}
+
+
+
+
+ {{ partial "home/social.html" . }}
+
+
+
+
+
-
-
-
-
-
-
-
-
-
-
-
-
-
-{{ with .Site.GetPage "page" "about" }}
-
-
-
{{ .Title }}
-
- {{ if .Site.Params.avatar }}
-
-
-
- {{ end }}
-
- {{.Content}}
+
+
+
+
+ {{ partial "nav.html" . }}
+ {{ with .Site.GetPage "page" "about" }}
+
+
+
{{ .Title }}
+
+ {{ if .Site.Params.avatar }}
+
+
+
+ {{ end }}
+
+ {{.Content}}
+
+
+
+
+ {{ partial "top-icon.html" . }}
+
+
+
+ {{ end }}
+
+ {{ partial "home/projects.html" . }}
+
+ {{ partial "home/blog.html" . }}
+
+ {{ with .Site.GetPage "page" "contact" }}
+
+
+
{{ .Title }}
+
+ {{.Content}}
+
+ {{ if .Site.Params.localTime }}
+
{{ i18n "index_currentTime" . }} .
+ {{ end }}
+ {{ if .Site.Params.email }}
+
+ {{ end }}
+ {{ partial "home/social.html" . }}
+
+
+ {{ partial "top-icon.html" . }}
+
+
+ {{ end }}
+
+ {{ partial "footer/text.html" . }}
-
-
- {{ partial "top-icon.html" . }}
-
-
-
-
-{{ end }}
-
-
-{{ partial "projects.html" . }}
-
-
-{{ partial "blogsection.html" . }}
-
-
-{{ with .Site.GetPage "page" "contact" }}
-
-
-
{{ .Title }}
-
- {{.Content}}
-
-
- {{ if .Site.Params.localTime }}
-
{{ i18n "index_currentTime" . }} .
-
-
-
-
-
- {{ end }}
-
- {{ if .Site.Params.email }}
-
- {{ end }}
-
- {{ partial "social.html" . }}
-
-
- {{ partial "top-icon.html" . }}
-
-
-
-
-{{ end }}
-
-
-{{ partial "footer.html" . }}
-
-
-
-
-
+
+ {{ partial "footer/scripts.html" . }}
+
+
diff --git a/layouts/partials/footer.html b/layouts/partials/footer.html
deleted file mode 100644
index 1668009..0000000
--- a/layouts/partials/footer.html
+++ /dev/null
@@ -1,27 +0,0 @@
-
-
-
-
-
-
diff --git a/layouts/partials/footer/scripts.html b/layouts/partials/footer/scripts.html
new file mode 100644
index 0000000..5989686
--- /dev/null
+++ b/layouts/partials/footer/scripts.html
@@ -0,0 +1,21 @@
+
+
+
+
+
+
+
+{{ if .Site.Params.localTime }}
+
+
+
+
+{{ end }}
+
+
+{{ template "_internal/google_analytics_async.html" . }}
diff --git a/layouts/partials/footer/text.html b/layouts/partials/footer/text.html
new file mode 100644
index 0000000..c356329
--- /dev/null
+++ b/layouts/partials/footer/text.html
@@ -0,0 +1,11 @@
+
diff --git a/layouts/partials/head/css.html b/layouts/partials/head/css.html
new file mode 100644
index 0000000..2813437
--- /dev/null
+++ b/layouts/partials/head/css.html
@@ -0,0 +1,15 @@
+
+
+
+
+
+{{ if .Site.Params.cacheBuster }}
+
+{{ else }}
+
+{{ end }}
+
+
+{{ range .Site.Params.customCSS -}}
+
+{{- end }}
diff --git a/layouts/partials/head/favicons.html b/layouts/partials/head/favicons.html
new file mode 100644
index 0000000..c6813e9
--- /dev/null
+++ b/layouts/partials/head/favicons.html
@@ -0,0 +1,2 @@
+
+
diff --git a/layouts/partials/head/metadata.html b/layouts/partials/head/metadata.html
new file mode 100644
index 0000000..1d97aa2
--- /dev/null
+++ b/layouts/partials/head/metadata.html
@@ -0,0 +1,24 @@
+
+
+
+
+
+
+{{ if .Site.Params.description }}
{{ end }}
+
+{{ .Title }}{{ if ne .Title .Site.Title }} - {{ .Site.Title }}{{ end }}
+
+
+{{ if .RSSLink }}
+
+{{ end }}
+
+{{ if .Site.Params.enforce_ssl }}
+
+{{ end }}
diff --git a/layouts/partials/header.html b/layouts/partials/header.html
deleted file mode 100644
index 82ff72b..0000000
--- a/layouts/partials/header.html
+++ /dev/null
@@ -1,64 +0,0 @@
-
-
-
-
-
-
-
-
-
-
-{{ if .Site.Params.description }}
{{ end }}
-
-
-{{ $url := replace .Permalink ( printf "%s" .Site.BaseURL) "" }}
-{{ if eq $url "/" }}
- {{ .Site.Title }}
-{{ else }}
- {{ if .Params.heading }} {{ .Params.heading }} {{ else }} {{ .Title }} {{ end }}
-{{ end }}
-
-
-
-
-
-{{ if .Site.Params.enforce_ssl }}
-
-{{ end }}
-
-
-
-
-
-
-
-
-{{ if .Site.Params.cacheBuster }}
-
-{{ else }}
-
-{{ end }}
-
-
-{{ range .Site.Params.customCSS -}}
-
-{{- end }}
-
-
-
-
-
-{{ template "_internal/google_analytics_async.html" . }}
-
-
-{{ if .RSSLink }}
-
-{{ end }}
-
-
diff --git a/layouts/partials/blogsection.html b/layouts/partials/home/blog.html
similarity index 100%
rename from layouts/partials/blogsection.html
rename to layouts/partials/home/blog.html
diff --git a/layouts/partials/projects.html b/layouts/partials/home/projects.html
similarity index 81%
rename from layouts/partials/projects.html
rename to layouts/partials/home/projects.html
index 4a09ca6..8e2c057 100644
--- a/layouts/partials/projects.html
+++ b/layouts/partials/home/projects.html
@@ -41,8 +41,9 @@
- {{ range $index, $element := .Pages.ByWeight | first $numberOfProjectsToShow }} {{ if not .Params.external_link }}
-
+ {{ range $index, $element := .Pages.ByWeight | first $numberOfProjectsToShow }}
+ {{ if not .Params.external_link }}
+
{{ with .Title }}
@@ -59,22 +60,10 @@
{{ end }}
-
+
-
- {{ end }} {{ end }}
+ {{ end }}
+ {{ end }}
{{ partial "top-icon.html" . }}
diff --git a/layouts/partials/social.html b/layouts/partials/home/social.html
similarity index 100%
rename from layouts/partials/social.html
rename to layouts/partials/home/social.html
diff --git a/layouts/partials/li.html b/layouts/partials/li.html
deleted file mode 100644
index 1e26736..0000000
--- a/layouts/partials/li.html
+++ /dev/null
@@ -1,3 +0,0 @@
-
- {{ .Title }} - {{ .Date.Format (.Site.Params.dateform | default "Jan 02, 2006") }}
-
diff --git a/layouts/partials/nav.html b/layouts/partials/nav.html
index e6cf4c9..f358b9b 100644
--- a/layouts/partials/nav.html
+++ b/layouts/partials/nav.html
@@ -3,19 +3,19 @@