_layouts/post.html in another-theme-1.0.1 vs _layouts/post.html in another-theme-1.0.2
- old
+ new
@@ -7,11 +7,14 @@
<header class="post-header mb-3">
<h1 class="mb-0">{{ page.title }}</h1>
<time class="body-sm" datetime="{{ page.date | date: '%Y-%m-%d' }}">
<strong>{{ page.date | date: "%B %d, %Y"}}</strong>
</time>
+ {%- if page.cover -%}
+ {%- include image.html src=page.cover legend=page.legend class="mt-md-3 mb-md-2 mt-2" -%}
+ {%- endif -%}
</header>
- <section class="post-content">
+ <section>
{{ content }}
</section>
</article>
</div>