X-Git-Url: https://git.rapsys.eu/blogbundle/blobdiff_plain/dc70caa8cbbe65ade709c761a506bbf9287e57c6..0189d94eedbc0896039113bd087f1542605026d6:/Resources/views/_base.html.twig?ds=sidebyside
diff --git a/Resources/views/_base.html.twig b/Resources/views/_base.html.twig
deleted file mode 100644
index b32551f..0000000
--- a/Resources/views/_base.html.twig
+++ /dev/null
@@ -1,163 +0,0 @@
-
-
-
- {% block metas %}
-
- {{ head['title'] }}
-
-{#TODO: deal with unset head['description'] and set description #}
- {% if head['description'] is defined and head['description'] %}
-
- {% endif %}
- {% if head['keywords'] is defined and head['keywords'] %}
-
- {% endif %}
- {% if head['facebook'] is defined and head['facebook'] %}
- {% for property, contents in head['facebook'] %}
- {% if contents is iterable %}
- {% for content in contents %}
-
- {% endfor %}
- {% else %}
-
- {% endif %}
- {% endfor %}
- {% endif %}
- {% endblock %}
- {% block links %}
- {% if site is defined and site is not empty %}
-
-
- {% for size, icon in site.icon.png %}
- {# Apple #}
- {% if size in [120, 152, 167, 180] %}
- {% if size == 180 %}
-
- {% endif %}
-
- {# Windows #}
- {% elseif size in [70, 150, 310] %}
-
- {# Others #}
- {% else %}
-
- {% endif %}
- {% endfor %}
- {% endif %}
- {# stylesheet '//fonts.googleapis.com/css?family=Irish+Grover' '//fonts.googleapis.com/css?family=La+Belle+Aurore' '@RapsysBlogBundle/Resources/public/css/{reset,screen}.css' #}
- {% stylesheet '@RapsysBlog/css/{reset,droidsans,lemon,notoemoji,screen}.css' %}
-
- {% endstylesheet %}
- {% stopwatch 'stylesheet' %}
- {% endstopwatch %}
- {% if head["canonical"] is defined and head['canonical'] %}
-
- {% endif %}
- {% if head['alternates'] is defined and head['alternates'] %}
- {% for lang, alternate in head['alternates'] %}
-
- {% endfor %}
- {% endif %}
- {% if head.prev is defined and head.prev %}
-
- {% endif %}
- {% if head.next is defined and head.next %}
-
- {% endif %}
- {% endblock %}
-
-
- {% block body %}
- {% block header %}
-
- {% endblock %}
- {% block message %}
- {# pass an array argument to get the messages of those types (['warning', 'error']) #}
- {% for label, messages in app.flashes %}
- {% if messages %}
-
-
- {% for message in messages %}
- - {{ message }}
- {% endfor %}
-
-
- {% endif %}
- {% endfor %}
- {% endblock %}
- {% endblock %}
-{#
- {% block sidebar %}{% endblock %}
-#}
- {% block content %}
-
-
- {% block title %}{% endblock %}>
-
-
- {% endblock %}
- {% block footer %}
-
- {% endblock %}
- {% block javascripts %}
- {% stopwatch 'javascript' %}
- {#{% javascript '@RapsysBlog/js/*.js' %}
-
- {% endjavascript %}#}
- {% endstopwatch %}
- {% endblock %}
-
-