Merge pull request #221 from sumnerevans/fix-post-stats-format-strings
Bug fix: Closes #220: Format strings need 's' after the name
This commit is contained in:
commit
db7f73bec2
2 changed files with 2 additions and 2 deletions
|
@ -31,7 +31,7 @@
|
||||||
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
|
category='<a href="%s/%s">%s</a>'|format(SITEURL, article.category.url, article.category)|safe) }}
|
||||||
|
|
||||||
{% if 'post_stats' in PLUGINS %}
|
{% if 'post_stats' in PLUGINS %}
|
||||||
• {{ _('%(minutes) min read', minutes=article.stats['read_mins']) }}
|
• {{ _('%(minutes)s min read', minutes=article.stats['read_mins']) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
{% endif %}
|
{% endif %}
|
||||||
|
|
||||||
{% if 'post_stats' in PLUGINS %}
|
{% if 'post_stats' in PLUGINS %}
|
||||||
• {{ _('%(minutes) min read', minutes=article.stats['read_mins']) }}
|
• {{ _('%(minutes)s min read', minutes=article.stats['read_mins']) }}
|
||||||
{% endif %}
|
{% endif %}
|
||||||
</p>
|
</p>
|
||||||
</header>
|
</header>
|
||||||
|
|
Loading…
Reference in a new issue