diff --git a/_layouts/default.html b/_layouts/default.html index 4c39d77..5997399 100644 --- a/_layouts/default.html +++ b/_layouts/default.html @@ -5,6 +5,7 @@ + {% if site.header_type == 'drawer' %}
{% include header_fixed.html %} @@ -15,15 +16,16 @@
- {% if site.post_type == 'highlight' %} - {% include highlight_post.html %} - {% endif %} - {{ content }} +
+ {{ content }} +
{% include footer.html %}
+ + {% if site.pagination_type == 'ops' %} diff --git a/_sass/_layout.scss b/_sass/_layout.scss index ac0e3d2..6f955a7 100644 --- a/_sass/_layout.scss +++ b/_sass/_layout.scss @@ -13,8 +13,15 @@ color: #fff; } +.post-button{ + position: absolute; + right: 15px; + bottom: 25px; +} + .section-highlight { position: relative; + margin: 10px; .mdl-card__supporting-text { margin: 40px; diff --git a/index.html b/index.html index 63999ef..0366b15 100644 --- a/index.html +++ b/index.html @@ -1,10 +1,13 @@ --- layout: default --- -{% if site.post_type == 'highlight' %} -
+{% if site.post_type == 'highlight' %} + + {% include highlight_post.html %} + {% for post in site.posts offset:1 %} +

{{ post.title }}

@@ -12,7 +15,7 @@ layout: default
{{ post.excerpt }}
-
@@ -42,11 +45,11 @@ layout: default
{% endfor %} -
+ {% else %} -
+ {% for post in site.posts %}
@@ -85,6 +88,6 @@ layout: default
{% endfor %} -
+ {% endif %}