diff --git a/_includes/meta.html b/_includes/meta.html index 7d93c11..e7a1ed2 100644 --- a/_includes/meta.html +++ b/_includes/meta.html @@ -12,11 +12,11 @@ {% if page.title %}{% endif %} {% if page.summary %}{% endif %} -{% if page.image %}{% endif %} +{% if page.image %}{% endif %} {% if page.summary %}{% endif %} -{% if page.image %}{% endif %} +{% if page.image %}{% endif %} diff --git a/_includes/post.html b/_includes/post.html index d83d84e..d68b26c 100644 --- a/_includes/post.html +++ b/_includes/post.html @@ -1,6 +1,9 @@

{{ post.title }}

+ {% if post.image %} +
+ {% endif %}
diff --git a/_sass/_style.scss b/_sass/_style.scss index 4c57687..a9aa1a7 100644 --- a/_sass/_style.scss +++ b/_sass/_style.scss @@ -97,6 +97,13 @@ body { white-space: nowrap; } + .feature-image { + width: 100%; + height: 200px; + background-size: cover; + background-position: center; + } + footer { font-size: 0.8em; }