mirror of
https://github.com/moparisthebest/wallabag
synced 2024-12-18 05:32:23 -05:00
Display entry content on the index
This commit is contained in:
parent
14330bfa68
commit
dfefa7016d
@ -1,8 +1,19 @@
|
||||
{% extends layout %}
|
||||
|
||||
{% block content %}
|
||||
|
||||
{% if entries is empty %}
|
||||
<div class="messages warning"><p>No link available here!</p></div>
|
||||
{% else %}
|
||||
|
||||
{% for entry in entries %}
|
||||
{{ entry.id }} - {{ entry.title }}
|
||||
|
||||
<p>{{ entry.content|striptags|slice(0, 300) }}...</p>
|
||||
|
||||
{% endfor %}
|
||||
<p><a href="index.php/add">poche a new link</a></p>
|
||||
|
||||
{% endif %}
|
||||
|
||||
{% endblock %}
|
||||
|
Loading…
Reference in New Issue
Block a user