_layouts/post.html in miniscule-0.2.0 vs _layouts/post.html in miniscule-0.2.1
- old
+ new
@@ -14,9 +14,15 @@
• <span itemprop="author" itemscope itemtype="http://schema.org/Person"><span class="p-author h-card" itemprop="name">{{ page.author | escape }}</span></span>
{%- endif -%}</p>
</header>
<div class="post-content e-content" itemprop="articleBody">
+ {%- if page.image -%}
+ <div style="text-align: center; padding: 0; margin: 0;">
+ <img src="{{ page.image | relative_url }}" />
+ </div>
+ {%- endif -%}
+
{{ content }}
</div>
{%- include share-linkedin.html -%}