{% extends 'layout_page.twig' %} {% set page = 'files' %} {% block title %}P3X GitList{% endblock %} {% block content %} {% include 'breadcrumb.twig' with {breadcrumbs: breadcrumbs} %}
Raw Blame History {% if (fileType != 'image' and fileType != 'markdown') or (enforceCodemirror) %} {% elseif fileType == 'markdown' %} Edit {% endif %}
{% if fileType == 'markdown' %} {% if enforceCodemirror %} Markdown rendered {% else %} Markdown code {% endif %} {% endif %} {% if (fileType != 'image' and fileType != 'markdown') or enforceCodemirror %} {% endif %}
{% if fileType == 'image' %}
{{ file }}
{% elseif fileType == 'markdown' and enforceCodemirror != true %}
{{ blob }}
{% else %}
{{ blob|htmlentities|raw }}
{% endif %}
{% endblock %}