1
0
Fork 0

Small fix

This commit is contained in:
Daniel Kempkens 2014-06-15 19:26:21 +02:00
parent 8bfce39bbc
commit 482aba3a03

View file

@ -13,13 +13,13 @@ image:
<header> <header>
<div class="entry-meta"> <div class="entry-meta">
<span class="entry-date date published updated"><time datetime="{{ post.date | date_to_xmlschema }}"><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><span class="author vcard"><span class="fn"><a href="/about/" title="About {{ site.owner.name }}">{{ site.owner.name }}</a></span></span>{% if site.disqus_shortname and post.comments %}&nbsp; &bull; &nbsp;<span class="entry-comments"><a href="{{ post.url }}#disqus_thread">Comment</a></span>{% endif %} <span class="entry-date date published updated"><time datetime="{{ post.date | date_to_xmlschema }}"><a href="{{ post.url }}">{{ post.date | date: "%B %d, %Y" }}</a></time></span><span class="author vcard"><span class="fn"><a href="/about/" title="About {{ site.owner.name }}">{{ site.owner.name }}</a></span></span>{% if site.disqus_shortname and post.comments %}&nbsp; &bull; &nbsp;<span class="entry-comments"><a href="{{ post.url }}#disqus_thread">Comment</a></span>{% endif %}
{% if site.reading_time %} {% if site.reading_time %}
<span class="entry-reading-time pull-right"> <span class="entry-reading-time pull-right">
<i class="fa fa-clock-o"></i> <i class="fa fa-clock-o"></i>
{% assign readtime = post.content | number_of_words | divided_by:site.words_per_minute %} {% assign readtime = post.content | number_of_words | divided_by:site.words_per_minute %}
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %} Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}
</span><!-- /.entry-reading-time --> </span><!-- /.entry-reading-time -->
{% endif %} {% endif %}
</div><!-- /.entry-meta --> </div><!-- /.entry-meta -->
{% if post.link %} {% if post.link %}
<h1 class="entry-title"><a href="{{ post.url }}" rel="bookmark" title="{{ post.title }}"><i class="fa fa-angle-double-right"></i></a> <a href="{{ post.link }}">{{ post.title }}</a></h1> <h1 class="entry-title"><a href="{{ post.url }}" rel="bookmark" title="{{ post.title }}"><i class="fa fa-angle-double-right"></i></a> <a href="{{ post.link }}">{{ post.title }}</a></h1>