X-Git-Url: https://git.immae.eu/?a=blobdiff_plain;f=tpl%2Fhome.twig;h=03f9f70da513d1be93380220788423c8e329a75d;hb=2021fc614e35ab494032f717c922ece7919a7c13;hp=7b5b88a28c33136a084319fa482b25bd8e92f39e;hpb=8cbb2a88024969f7efd90f8053f3b0805fa2f8fa;p=github%2Fwallabag%2Fwallabag.git diff --git a/tpl/home.twig b/tpl/home.twig index 7b5b88a2..03f9f70d 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -1,41 +1,30 @@ {% 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