summaryrefslogtreecommitdiff
path: root/_includes/views
diff options
context:
space:
mode:
Diffstat (limited to '_includes/views')
-rw-r--r--_includes/views/pagination.html1
-rw-r--r--_includes/views/post-header.html1
2 files changed, 2 insertions, 0 deletions
diff --git a/_includes/views/pagination.html b/_includes/views/pagination.html
index bcc3620..c1814e3 100644
--- a/_includes/views/pagination.html
+++ b/_includes/views/pagination.html
@@ -13,6 +13,7 @@
{%- assign date_format = site.yat.date_format | default: "%b %-d, %Y" -%}
{% assign article = post.content %}
+ {% assign lang = post.lang %}
{%- include functions.html func='get_reading_time' -%}
{% assign reading_time = return %}
diff --git a/_includes/views/post-header.html b/_includes/views/post-header.html
index df6447b..e59fd91 100644
--- a/_includes/views/post-header.html
+++ b/_includes/views/post-header.html
@@ -9,6 +9,7 @@
</time>
{% assign article = page.content %}
+ {% assign lang = page.lang %}
{%- include functions.html func='get_reading_time' -%}
{% assign reading_time = return %}
<span class="post-reading-time left-vsplit"><i class="fa fa-clock-o"></i> {{ reading_time }}</span>