]> git.immae.eu Git - github/wallabag/wallabag.git/blobdiff - tpl/home.twig
Merge pull request #159 from NumEricR/css-cleanup
[github/wallabag/wallabag.git] / tpl / home.twig
index 3cccbb76b1270c99aef569c6edc501292ab9920c..03f9f70da513d1be93380220788423c8e329a75d 100644 (file)
@@ -19,6 +19,7 @@
                         <a title="{% trans "toggle mark as read" %}" class="tool archive {% if entry.is_read == 0 %}archive-off{% endif %}" href="./?action=toggle_archive&id={{ entry.id|e }}"><span></span></a></li>
                         <li><a title="{% trans "toggle favorite" %}" class="tool fav {% if entry.is_fav == 0 %}fav-off{% endif %}" href="./?action=toggle_fav&id={{ entry.id|e }}"><span></span></a></li>
                         <li><a title="{% trans "delete" %}" class="tool delete" href="./?action=delete&id={{ entry.id|e }}"><span></span></a></li>
+                        <li class="reading-time">{{ entry.content| getReadingTime }} min</li>
                     </li>
                 </ul>
                 <p>{{ entry.content|striptags|slice(0, 300) }}...</p>
@@ -26,8 +27,4 @@
             </div>
             {% endfor %}
             {{ page_links | raw }}
-{% endblock %}
-
-{% block js %}
-            <script type="text/javascript" src="./tpl/js/jquery-1.9.1.min.js"></script>
 {% endblock %}
\ No newline at end of file