_layouts/post.html in jekyll-theme-omega-0.2.5 vs _layouts/post.html in jekyll-theme-omega-0.2.6
- old
+ new
@@ -48,12 +48,22 @@
{% endif %}
{% if page.type == 'photo' %}
<i class="fa fa-picture-o"></i>
{% endif %}
+
+ {% if page.type == 'podcast' %}
+ <i class="fas fa-podcast"></i>
+ {% endif %}
- {{ page.title }}<span class="link-arrow">→</span>
+ {{ page.title }}
+
+ {% if page.type == 'podcast' %}
+ - {{ page.speaker }}
+ {% endif %}
+
+ <span class="link-arrow">→</span>
</a>
</h1>
{% else %}
<h1 class="post-title text-center hyper lighter bordered-bottom entry-title" itemprop="headline">
{% if page.type == 'quote' %}
@@ -117,11 +127,11 @@
{% endunless %}
{% endfor %}
</span>
{% if site.readtime %}
- <span class="post-tags"><i class="fa fa-clock-o"></i>
+ <span class="post-tags"><i class="far fa-clock"></i>
{% if readtime > 1 and readtime < 1.5 %}
1 minute read
{% endif %}
@@ -133,9 +143,17 @@
Less than 1 minute read
{% endif %}
</span>
{% endif %}
+
+ {% if page.type == 'podcast' %}
+ <audio controls>
+ <source src="{{page.mp3}}" type="audio/mpeg">
+ Your browser does not support the audio element.
+ </audio>
+ {% endif %}
+
</div>
</header>
<div class="post-body bordered-bottom" itemprop="description">