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

Open in your IDE?
  1. {% extends "front/"~ app.request.server.get('APP_THEME') ~"/base.html.twig" %}
    
    {% block body %}
    
    <div class="page_cms pt-5">
        <div class="breadcrumb-style-default">
            <div class="container">
                <div class="row">
                    <div class="col-lg-12">
                        <div class="inner text-center">
                            <ol class="breadcrumb d-flex justify-content-center" itemscope itemtype="http://schema.org/BreadcrumbList">
                                <li class="breadcrumb-item" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="{{path('index_page_home')}}" itemprop="item"><span itemprop="name">Accueil</span></a><meta itemprop="position" content="1" /></li>
                                <li class="breadcrumb-item" aria-current="page" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><a href="{{path('page_partenaire')}}" itemprop="item"><span itemprop="name">{{'Partenaires'}}</span></a><meta itemprop="position" content="2" /></li>
                                <li class="breadcrumb-item active" aria-current="page" itemprop="itemListElement" itemscope itemtype="http://schema.org/ListItem"><span itemprop="name">{{partenaire.titre}}</span><meta itemprop="position" content="2" /></li>
                            </ol>
                            
                        </div>
                    </div>
    
                    <div class="col-sm-12 mt-5 mb-5 partenaire-item">
                         <div class="row">
                               {% set image = partenaire.image != ''? partenaire.image:'/uploads/images/'~ ParametreSite().imagevide %}
                         
                                <div class="col-sm-12 col-md-6">
                                    <img alt="{{partenaire.titre}}" title="{{partenaire.titre|raw}}" src="{{image}}" class="img-fluid"/>
                                </div>
                  
                               <div class="col-sm-12 col-md-6">
                                    <h1 class="page-title">{{partenaire.titre}}</h1>
                                    <div class="content-item">{{partenaire.text|raw}}</div>
                                    {% if(partenaire.url != "") %}
                                        <div class="url-item"><a class="btn-url" href="{{partenaire.url|raw}}" title="Voir le site" target="_blank">Voir le site</a></div>
                                    {% endif %}
                               </div>
                         </div>
                    </div>
                </div>
            </div>
        </div>
    
    
      
    </div>
        
    
    {% endblock %}