templates/front/theme1/error.html.twig line 1

Open in your IDE?
  1. {% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
    
    {% block metaTag %}{% endblock %}
    
    {% block body %}
    
        <section class="page_cms pt-5">
            <img src={{"/public/404/404.png"}} alt="{{parametre.titreErrorPage}}" class="d-block m-auto" />
            <section class="sec-content-404 lazyloaded">
                <div class="container-fluid wrapper">
                    <section class="list_blocs pos1">
                        <section class="cnt_blocs">
                            <h1 class="wow fadeInLeft">{{parametre.titreErrorPage}}</h1>
                            <div class="texte-content wow fadeInUp" data-wow-delay="0.4s" >{{parametre.texteErrorPage|raw}}
                            </div>
    
                            {% if parametre.typelienerrorpage is not empty and parametre.typelienerrorpage != 1 and parametre.titrelienerrorpage is not empty %}
                                {% if parametre.typelienerrorpage == 2 %}
                                    <div class="bouton-home text-center">
                                        {% set lien_interne = parametre.lieninterneerrorpage %}
                                        {% if lien_interne == "/home" %}{% set lien_interne = "/" %}{% endif %}
                                        <button class="btn-back-pulse" onclick="window.location.href = '{{lien_interne}}';" title="{{parametre.titrelienerrorpage}}">{{parametre.titrelienerrorpage}}</button>
                                    </div>
                                {% elseif parametre.typelienerrorpage == 3 %}
                                    <div class="bouton-home text-center">
                                        <button class="btn-back-pulse" onclick="window.open('{{parametre.lienexterneerrorpage}}','_blank');" title="{{parametre.titrelienerrorpage}}">{{parametre.titrelienerrorpage}}</button>
                                    </div>
                                {% elseif parametre.typelienerrorpage == 4 %}
                                    <div class="bouton-home text-center">
                                        <a class="btn-back-pulse" href="tel:{{parametre.telephoneErrorPage}}" title="{{parametre.titrelienerrorpage}}">{{parametre.titrelienerrorpage}}</a>
                                    </div>
                                {% endif %}
                        {% endif %}
    
                        </section> 
    
                        <section class="blocs">
                            <section class="results affichage3">
                                    
                            </section>
                        </section>
                    </section>
                </div>
            </section>
    
        </section>
    
    {% endblock %}