Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/dldx/hpstr-hugo-theme.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorScott MacLellan <s.j.maclell@gmail.com>2015-08-27 05:57:23 +0300
committerScott MacLellan <s.j.maclell@gmail.com>2015-08-27 05:57:23 +0300
commit5484ceb4d067e0454ec1574b214c25d74c7b5d0a (patch)
tree0a35567dd0989021d284281c8ebee34524d6e31d
parent5f364a2176964340d050fedfbd4fbc77f02f6270 (diff)
Fixing the landing page too
-rw-r--r--index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/index.html b/index.html
index e8e59df..8aef27b 100644
--- a/index.html
+++ b/index.html
@@ -23,7 +23,7 @@ image:
{% if site.reading_time %}
<span class="entry-reading-time">
<i class="fa fa-clock-o"></i>
- {% assign readtime = post.content | number_of_words | divided_by:site.words_per_minute %}
+ {% assign readtime = post.content | strip_html | number_of_words | divided_by:site.words_per_minute %}
Reading time ~{% if readtime <= 1 %}1 minute{% else %}{{ readtime }} minutes{% endif %}
</span><!-- /.entry-reading-time -->
{% endif %}