From 85c5a1ff8d919d3d36a8125c9bbd0d9220025729 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Nicolas=20L=C5=93uillet?= Date: Mon, 24 Nov 2014 13:11:57 +0100 Subject: failover if theme folder doesn't exist --- themes/courgette/home.twig | 64 ---------------------------------------------- 1 file changed, 64 deletions(-) delete mode 100755 themes/courgette/home.twig (limited to 'themes/courgette/home.twig') diff --git a/themes/courgette/home.twig b/themes/courgette/home.twig deleted file mode 100755 index ff27db43..00000000 --- a/themes/courgette/home.twig +++ /dev/null @@ -1,64 +0,0 @@ -{% extends "layout.twig" %} -{% block title %} -{% if view == 'fav' %} -{% trans "favoris" %} -{% elseif view == 'archive' %} -{% trans "archive" %} -{% else %} -{% trans "unread" %} -{% endif %} -{% endblock %} -{% block menu %} -{% include '_menu.twig' %} -{% endblock %} -{% block precontent %} - {% if entries|length > 1 %} - - {% endif %} -{% endblock %} -{% block content %} - {% if entries is empty %} -

{% trans "No link available here!" %}

- {% else %} - {% block pager %} - {% if nb_results > 1 %} -
-
{{ nb_results }} {% trans "results" %}{% if searchterm is defined %}{% trans " found for « " %} {{ searchterm }} »{% endif %}
- {{ page_links | raw }} -
- {% elseif nb_results == 1 %} - {% if searchterm is defined %} -
-
{% trans "Only one result found for " %} « {{ searchterm }} »
-
- {% endif %} - {% endif %} - {% endblock %} - {% for entry in entries %} -
-

{{ entry.title|raw }}

- -

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

-
- {% endfor %} - - {{ block('pager') }} - - {% if searchterm is defined %}{% trans "Tag these results as" %} {{ searchterm }}{% endif %} - - {% if tag %}{% trans "Download the articles from this tag in an epub" %} - {% elseif searchterm is defined %}{% trans "Download the articles from this search in an epub" %} - {% else %}{% trans "Download the articles from this category in an epub" %}{% endif %} - - {% endif %} - -{% endblock %} -- cgit v1.2.3