templates\_footer.html.twig line 1

Open in your IDE?
  1. {#<pre>
  2. {{ dump(footer) }}
  3. </pre>#}
  4. {% if footer is not null %}
  5. <footer class="footer js-footer js-animate @@class" id="footer">    
  6.     {% if footer['prefooter'] is not empty and footer['_settings']["switches"]['prefooter'] is defined and footer['_settings']["switches"]['prefooter']=='1' %}
  7.     <div class="container-fluid prefooter" style = "{% include 'parts/_footer-wrapper-styles.html.twig' with {footerType:'prefooter'}%}">
  8.         <div class="container">
  9.             <div class="row">
  10.         {% for columnNum, column in footer['prefooter'] %}            
  11.             {% include 'parts/_footer-item-col.html.twig' with {footerType:'prefooter'} %}  
  12.         {% endfor %}
  13.             </div>
  14.         </div>
  15.     </div>
  16.     {% endif %}
  17.     {% if footer['footer'] is not empty and footer['_settings']["switches"]['footer'] is defined and footer['_settings']["switches"]['footer']=='1' %}
  18.     <div class="container-fluid main-footer" style = "{% include 'parts/_footer-wrapper-styles.html.twig' with {footerType:'footer'}%}">
  19.         <div class="container">
  20.             <div class="row">
  21.         {% for columnNum, column in footer['footer']%}                
  22.             {% include 'parts/_footer-item-col.html.twig' with {footerType:'footer'} %}
  23.         {% endfor %} 
  24.             </div>
  25.         </div>
  26.     </div>
  27.     {% endif %}
  28.     {% if footer['subfooter'] is not empty and footer['_settings']["switches"]['subfooter'] is defined and footer['_settings']["switches"]['subfooter']=='1' %}
  29.     <div class="container-fluid subfooter" style = "{% include 'parts/_footer-wrapper-styles.html.twig' with {footerType:'subfooter'}%}">
  30.         <div class="container">
  31.             <div class="row">
  32.         {% for columnNum, column in footer['subfooter'] %}
  33.             {% include 'parts/_footer-item-col.html.twig' with {footerType:'subfooter'} %}
  34.         {% endfor %}
  35.             </div>
  36.         </div>
  37.     </div>
  38.     {% endif %}
  39. </footer>
  40. {% endif %}