X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fhome.twig;h=a6da641f6a4d95bcc266032d3e305ea6cccb4a5e;hb=572e758bf2e76308a3fa3eda9a8d9e9be8b53ecc;hp=7b5b88a28c33136a084319fa482b25bd8e92f39e;hpb=8cbb2a88024969f7efd90f8053f3b0805fa2f8fa;p=github%2Fwallabag%2Fwallabag.git diff --git a/tpl/home.twig b/tpl/home.twig index 7b5b88a2..a6da641f 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -1,41 +1,29 @@ {% extends "layout.twig" %} - -{% block title %}Home{% endblock %} +{% block title %}{% trans "home" %}{% endblock %} {% block menu %} - +{% include '_menu.twig' %} {% endblock %} {% block precontent %} {% endblock %} {% block content %} -
- {% for entry in entries %} -
- -

- {{ entry.title|e }} -

-
-
    -
  • -
  • -
  • -
  • -
  • -
-
-
{{ entry.url|e }}
-
-
- {% endfor %} + {{ page_links | raw }} + {% for entry in entries %} +
+

{{ entry.title|e }}

+ +

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

+

{{ entry.url | e | getDomain }}

+ {% endfor %} + {{ page_links | raw }} {% endblock %} \ No newline at end of file