- {% block menu %}{% endblock %}
+ {% include "menu.twig" %}
{% block content %}{% endblock %}
diff --git a/app/views/archive.twig b/app/views/archive.twig index 472025f..df00d98 100644 --- a/app/views/archive.twig +++ b/app/views/archive.twig @@ -1,17 +1,5 @@ {% extends layout %} - -{% block menu %} -{% set count = entries|length %} - - -{% endblock %} +{% block title %}archive{% endblock %} {% block content %} {% if entries is empty %} @@ -19,16 +7,7 @@ {% else %}
{{ entry.content|striptags|slice(0, 300) }}…
-{{ entry.content|striptags|slice(0, 300) }}…
+{{ entry.content|striptags|slice(0, 300) }}…
-