{% if uri.extension() == 'json' %}{% include 'default.json.twig' %}{% else %} {% block head %} {% if title %}{{ title|striptags|raw }} | {% else %}{% if header.title %}{{ header.title }} | {% endif %}{% endif %}{{ site.title }} {% if header.description %} {% else %} {% endif %} {% if header.robots %} {% else %} {% endif %} {% block stylesheets %} {% include 'partials/stylesheets.html.twig' %} {% endblock %} {% include 'partials/javascript-config.html.twig' %} {% block javascripts %} {% include 'partials/javascripts.html.twig' %} {% endblock %} {% endblock %} {% block assets deferred %} {{ assets.css()|raw }} {{ assets.js()|raw }} {% endblock %} {% block body %} {% set sidebarStatus = get_cookie('grav-admin-sidebar') %} {% set sidebarStatus = (sidebarStatus is not null and sidebarStatus == 'false') or config.plugins.admin.sidebar.size == 'small' ? 'sidebar-closed' : '' %} {% if not authorize(['admin.login']) %} {% include 'partials/messages.html.twig' %} {% else %} {% block page %}
{% block navigation %} {% include 'partials/nav.html.twig' %} {% endblock %}
{% include 'partials/nav-toggle.html.twig' %}
{% block titlebar %}{% endblock %}
{% block content_wrapper %}
{% block messages %} {% include 'partials/messages.html.twig' %} {% endblock %} {% block widgets %}{% endblock %}
{% block content_top %}{% endblock %}
{%- block content %}{% endblock -%}
{% if config.plugins.admin.show_github_msg %} {% endif %} {% block content_bottom %}{% endblock %}
{% block footer %}
{% include 'partials/footer.html.twig' %}
{% endblock %}
{% endblock %} {% block modals %}

{{ "PLUGIN_ADMIN.ERROR"|t }}

{{ "PLUGIN_ADMIN.METADATA"|t }} for

{{ "PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE"|t }}

{{ "PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_DESC"|t }}


{{ "PLUGIN_ADMIN.MODAL_DELETE_FILE_CONFIRMATION_REQUIRED_TITLE"|t }}

{{ "PLUGIN_ADMIN.MODAL_UPDATE_GRAV_CONFIRMATION_REQUIRED_DESC"|t }}


{% endblock %}
{% endblock page %} {% endif %} {% block bottom %} {{ assets.js('bottom')|raw }} {% endblock %} {% endblock body %} {% endif %}