diff --git a/_includes/head.html b/_includes/head.html
index 1355dd7..e8c8135 100644
--- a/_includes/head.html
+++ b/_includes/head.html
@@ -1,5 +1,5 @@
- {{ site.title }}
+ {% if page.title %}{{ page.title }} | {% endif %}{{ site.title }}
diff --git a/_includes/tiles.html b/_includes/tiles.html
index 39a8d7a..62892cd 100644
--- a/_includes/tiles.html
+++ b/_includes/tiles.html
@@ -1,28 +1,18 @@
+{% if 'posts' == site.tiles-source %}
+ {% assign tiles = site.posts %}
+{% elsif 'pages' == site.tiles-source %}
+ {% assign tiles = site.html_pages | where_exp: "item", "item.show_tile != false" %}
+{% endif %}
- {% for post in site.posts limit:site.tiles-count %}
- {% if site.tiles-source == 'posts' %}
+ {% for tile in tiles limit:site.tiles-count %}
-
+
-
+
{{ post.description }}
- {% endif %}
- {% endfor %}
- {% for page in site.html_pages limit:site.tiles-count %}
- {% if site.tiles-source == 'pages' and page.show_tile != false %}
-
-
-
-
-
-
- {{ page.description }}
-
-
- {% endif %}
{% endfor %}
diff --git a/_layouts/post.html b/_layouts/post.html
index a13d4e2..ef56284 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -23,7 +23,7 @@
{{ page.title }}
{% if page.image %}{% endif %}
- {{ content }}
+ {{ content }}
@@ -33,4 +33,4 @@
-