diff --git a/inc/poche/Poche.class.php b/inc/poche/Poche.class.php
index 4100f1564..d42da60d4 100755
--- a/inc/poche/Poche.class.php
+++ b/inc/poche/Poche.class.php
@@ -660,6 +660,7 @@ class Poche
'entries' => '',
'page_links' => '',
'nb_results' => '',
+ 'listmode' => (isset($_COOKIE['listmode']) ? true : false),
);
//if id is given - we retrive entries by tag: id is tag id
diff --git a/themes/baggy/home.twig b/themes/baggy/home.twig
index 5262c05bb..a935b034a 100755
--- a/themes/baggy/home.twig
+++ b/themes/baggy/home.twig
@@ -12,45 +12,45 @@
{% include '_menu.twig' %}
{% endblock %}
{% block content %}
- {% if tag %}
-
{% trans "Tag" %}: {{ tag.value }}
- {% endif %}
- {% if entries is empty %}
- {% trans "No articles found." %}
- {% else %}
-
- {% include '_display-mode.twig' %}
- {% include '_sorting.twig' %}
-
- {% block pager %}
- {% if nb_results > 1 %}
-
-
{{ nb_results }} {% trans "results" %}
- {{ page_links | raw }}
-
- {% endif %}
- {% endblock %}
-
- {% for entry in entries %}
-
-
- {% if entry.content| getReadingTime > 0 %}
-
- {% else %}
-
- {% endif %}
-
-
{{ entry.content|striptags|slice(0, 300) }}...
-
+ {% if tag %}
+
{% trans "Tag" %}: {{ tag.value }}
+ {% endif %}
+ {% if entries is empty %}
+
{% trans "No articles found." %}
+ {% else %}
+
+ {% include '_display-mode.twig' %}
+ {% include '_sorting.twig' %}
+
+ {% block pager %}
+ {% if nb_results > 1 %}
+
+
{{ nb_results }} {% trans "results" %}
+ {{ page_links | raw }}
+
+ {% endif %}
+ {% endblock %}
+
+ {% for entry in entries %}
+
+
+ {% if entry.content| getReadingTime > 0 %}
+
+ {% else %}
+
+ {% endif %}
+
+
{{ entry.content|striptags|slice(0, 300) }}...
+
- {% endfor %}
-
- {% if view == 'home' %}{% if nb_results > 1 %}
{{ "Mark all the entries as read" }}{% endif %}{% endif %}
- {% endif %}
- {{ block('pager') }}
+ {% endfor %}
+
+ {% if view == 'home' %}{% if nb_results > 1 %}{{ "Mark all the entries as read" }}{% endif %}{% endif %}
+ {% endif %}
+ {{ block('pager') }}
{% endblock %}