_layouts/post.html in jekyll-theme-omega-0.2.0 vs _layouts/post.html in jekyll-theme-omega-0.2.1
- old
+ new
@@ -26,9 +26,13 @@
{% if page.featured %}
<div class="cursive">this post is featured</div>
{% endif %}
+ {% if page.photo %}
+ <figure class="lead-photo"><a href="{{ page.photo }}"><img src="{{ page.photo }}" alt="{{ page.title }}" itemprop="image"></a></figure>
+ {% endif %}
+
{% if page.link %}
<h1 class="post-title text-center hyper lighter entry-title" itemprop="headline">
<a href="{{ page.link }}" data-toggle="tooltip" title="Go to {{ page.link }}" style="color: #fff; background-color: #45ADA8; border-radius: 4px; padding: 10px">
{% if page.type == 'quote' %}
<i class="fa fa-quote-left"></i>