From 6a361945eaf86a978b82bd6fb3442fe64428d9df Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 5 Aug 2013 21:56:32 +0200 Subject: new design, pagination & more --- tpl/home.twig | 44 +++++++++++++++++--------------------------- 1 file changed, 17 insertions(+), 27 deletions(-) (limited to 'tpl/home.twig') diff --git a/tpl/home.twig b/tpl/home.twig index 6d0f1a66..3cccbb76 100644 --- a/tpl/home.twig +++ b/tpl/home.twig @@ -5,39 +5,29 @@ {% endblock %} {% block precontent %} {% endblock %} -{% block messages %} -{% include '_messages.twig' %} -{% endblock %} {% block content %} -
- {% for entry in entries %} -
- -

- {{ entry.title|e }} -

-
-
    -
  • -
  • -
  • -
  • -
  • -
-
-
{{ entry.url | e | getDomain }}
-
-
- {% 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 %} {% block js %} - - {% endblock %} \ No newline at end of file -- cgit v1.2.3