X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fhome.twig;fp=tpl%2Fhome.twig;h=0000000000000000000000000000000000000000;hb=00dbaf90bc44ef3ed0abaebb15307756e054a027;hp=771c36c5b36a144f90ed4a2557ccf848872998d3;hpb=705250b93dc71ae91d3c305b51e7a20611873805;p=github%2Fwallabag%2Fwallabag.git diff --git a/tpl/home.twig b/tpl/home.twig deleted file mode 100644 index 771c36c5..00000000 --- a/tpl/home.twig +++ /dev/null @@ -1,49 +0,0 @@ -{% extends "layout.twig" %} -{% block title %} -{% if view == 'fav' %} -{% trans "favoris" %} -{% elseif view == 'archive' %} -{% trans "archive" %} -{% else %} -{% trans "unread" %} -{% endif %} -{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block precontent %} - {% if entries|length > 1 %} - - {% endif %} -{% endblock %} -{% block content %} - {% if entries is empty %} -

{% trans "No link available here!" %}

- {% else %} - {% block pager %} - {% if nb_results > 1 %} -
-
{{ nb_results }} {% trans "results" %}
- {{ page_links | raw }} -
- {% endif %} - {% endblock %} - {% for entry in entries %} -
-

{{ entry.title|raw }}

- -

{{ entry.content|striptags|slice(0, 300) }}...

-

{{ entry.url | e | getDomain }}

-
- {% endfor %} - {% endif %} - {{ block('pager') }} -{% endblock %} \ No newline at end of file