diff options
author | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:17:45 +0200 |
---|---|---|
committer | Nicolas LÅ“uillet <nicolas.loeuillet@gmail.com> | 2013-10-03 14:17:45 +0200 |
commit | 07ae20eeedc75b5b121647cc4833a36956fc6356 (patch) | |
tree | b01fdedb7e8565e4d9169b15b82101bf70576abd /themes/default/home.twig | |
parent | 4cc3c2ac1735196e4e6a18d1a1124cd0d9a0ed5c (diff) | |
download | wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.tar.gz wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.tar.zst wallabag-07ae20eeedc75b5b121647cc4833a36956fc6356.zip |
change reading time displaying
Diffstat (limited to 'themes/default/home.twig')
-rw-r--r-- | themes/default/home.twig | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/themes/default/home.twig b/themes/default/home.twig index 1367ebe8..c1b29ec3 100644 --- a/themes/default/home.twig +++ b/themes/default/home.twig | |||
@@ -39,7 +39,7 @@ | |||
39 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> | 39 | <li><a title="{% trans "toggle favorite" %}" class="tool {% if entry.is_fav == 0 %}fav-off{% else %}fav{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span>{% trans "toggle favorite" %}</span></a></li> |
40 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> | 40 | <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span>{% trans "delete" %}</span></a></li> |
41 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> | 41 | <li><a href="{{ entry.url|e }}" target="_blank" title="{% trans "original" %} : {{ entry.title|e }}" class="tool link"><span>{{ entry.url | e | getDomain }}</span></a></li> |
42 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="tool reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> | 42 | <li><a target="_blank" title="{% trans "estimated reading time:" %} {{ entry.content| getReadingTime }} min" class="reading-time"><span>{{ entry.content| getReadingTime }} min</span></a></li> |
43 | </ul> | 43 | </ul> |
44 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> | 44 | <p>{{ entry.content|striptags|slice(0, 300) }}...</p> |
45 | </div> | 45 | </div> |