diff --git a/layouts/index.html b/layouts/index.html
index f0765ce..f3963fb 100644
--- a/layouts/index.html
+++ b/layouts/index.html
@@ -1,22 +1,17 @@
- slate
+ {{ .Title }}
-
+
{{ partial "nav.html" . }}
{{ partial "tile_slate.html" . }}
-{{ if .Site.Data.page.backgrounds -}}
-
-{{- end }}
-
diff --git a/src/js/slate.js b/src/js/slate.js
index c14eab0..a9f8d60 100644
--- a/src/js/slate.js
+++ b/src/js/slate.js
@@ -262,7 +262,7 @@ var renderTiles = function() {
renderTiles();
var getBackgroundImages = function() {
- var backgrounds = document.getElementsByTagName("background");
+ var backgrounds = document.getElementsByTagName("body");
var images = [];
if (backgrounds.length > 0) {
var imgString = backgrounds[0].getAttribute("data-backgrounds");
diff --git a/static/js/slate.js b/static/js/slate.js
index 20075b7..b546c22 100644
--- a/static/js/slate.js
+++ b/static/js/slate.js
@@ -3463,7 +3463,7 @@ var renderTiles = function() {
renderTiles();
var getBackgroundImages = function() {
- var backgrounds = document.getElementsByTagName("background");
+ var backgrounds = document.getElementsByTagName("body");
var images = [];
if (backgrounds.length > 0) {
var imgString = backgrounds[0].getAttribute("data-backgrounds");