-
+
{% assign card_body_col = '7' %}
@@ -106,9 +112,6 @@ layout: default
{% endfor %}
- {% if has_tail %}
- {% for _include in layout.tail_includes %}
- {% assign _include_path = _include | append: '.html' %}
- {% include {{ _include_path }} lang=lang %}
- {% endfor %}
- {% endif %}
+ {% for _include in layout.tail_includes %}
+ {% assign _include_path = _include | append: '.html' %}
+ {% include {{ _include_path }} lang=lang %}
+ {% endfor %}
{% include_cached footer.html lang=lang %}
diff --git a/_layouts/home.html b/_layouts/home.html
index b5b6f7f..4cf4c1d 100644
--- a/_layouts/home.html
+++ b/_layouts/home.html
@@ -1,5 +1,6 @@
---
layout: default
+refactor: true
---
{% include lang.html %}
@@ -39,8 +40,7 @@ layout: default
{% endfor %}
{% endif %}
-{% capture _content %}
-
+
{% if page.layout == 'page' or page.collection == 'tabs' %}
{% assign tab_key = page.title | downcase %}
@@ -20,9 +12,9 @@ layout: default
{{ title }}
diff --git a/_layouts/post.html b/_layouts/post.html
index 0b99d49..4dd9efc 100644
--- a/_layouts/post.html
+++ b/_layouts/post.html
@@ -1,5 +1,5 @@
---
-layout: page
+layout: default
refactor: true
panel_includes:
- toc
@@ -11,125 +11,125 @@ tail_includes:
{% include lang.html %}
-
-
+
+
{% for post in posts %}
@@ -54,8 +54,14 @@ layout: default
{% assign alt = post.image.alt | xml_escape | default: 'Preview Image' %}
+ {% assign lqip = null %}
+
+ {% if post.image.lqip %}
+ {% capture lqip %}lqip="{{ post.image.lqip }}"{% endcapture %}
+ {% endif %}
+
-{% endcapture %}
-
-{% include refactor-content.html content=_content lang=lang %}
{% if paginator.total_pages > 1 %}
{% include post-paginator.html %}
diff --git a/_layouts/page.html b/_layouts/page.html
index cd04bdc..32d6582 100644
--- a/_layouts/page.html
+++ b/_layouts/page.html
@@ -4,14 +4,6 @@ layout: default
{% include lang.html %}
-{% capture _content %}
- {% if layout.refactor or page.layout == 'page' %}
- {% include refactor-content.html content=content lang=lang %}
- {% else %}
- {{ content }}
- {% endif %}
-{% endcapture %}
-
- {{ _content }}
+ {{ content }}
{% else %}
- {{ _content }}
+ {{ content }}
{% endif %}