templates/includes/footer.html.twig line 1

Open in your IDE?
  1. {% if editmode %}
  2.     {% do pimcore_head_link().appendStylesheet(asset('static/css/editmode.css')) %}
  3.     {{ pimcore_head_link() }}
  4. {% endif %}
  5. {#footer#}
  6. <footer class="container py-5">
  7.     <div class="row">
  8.         <div class="col-12 col-md">
  9.             <a class="text-dark text-decoration-none" href="/" >
  10.                 <img id="logo-footer" src="{{ asset('/static/images/logo-dark.svg') }}" >
  11.                 <small class="d-block mb-3  p-3">&copy; {{ "now"|date('Y') }} pimcore GmbH</small>
  12.             </a>
  13.         </div>
  14.         {% if editmode %}
  15.             <h3 class="float-left">{{ 'Footer Column(s):' }}</h3>
  16.         {% endif %}
  17.         {% for i in pimcore_iterate_block(pimcore_block('mainlinkblock')) %}
  18.             <div class="col-6 col-md">
  19.                 <h5>{{ pimcore_input('mainBlockTitle', {'placeholder': 'Footer Title'}) }}</h5>
  20.                 <ul class="list-unstyled text-small">
  21.                     {% for i in pimcore_iterate_block(pimcore_block('linkblock')) %}
  22.                         <li>{{ pimcore_link('myLink', {'class': "text-muted"}) }}</li>
  23.                     {% endfor %}
  24.                 </ul>
  25.             </div>
  26.             {% if editmode %}
  27.                 <hr />
  28.             {% endif %}
  29.         {% endfor %}
  30.     </div>
  31. </footer>