src/NCBS/WebsiteBundle/Resources/views/Bible/layout.html.twig line 1

Open in your IDE?
  1. {% set bInFrame = false %}
  2. {% if in_frame is defined and in_frame %}
  3.     {% set bInFrame = true %}    
  4. {% endif %}
  5. {% set bReadingPlanStep = false %}
  6. {% if plan_step is defined %}
  7.     {% set bReadingPlanStep = true %}    
  8. {% endif %}
  9. {% set sLayoutPage = ':layout_nonav' %}
  10. {% extends 'NCBSWBundle:'~sLayoutPage~'.html.twig' %}
  11. {% block frame %}
  12.   {% block breadcrumbs %}
  13.       <!-- incl: B:breadcrumbs -->
  14. {#tk queries: 164, but cache needs to be split within, on translations(79) and book names(95)  #}
  15.     {% if bReadingPlanStep %}
  16.         {% include 'NCBSWBundle:Bible:breadcrumbs_readingplan.html.twig' %}
  17.     {% else %}        
  18.         {% if translation_info is not defined %}
  19.             {% include 'NCBSWBundle:Bible:breadcrumbs.html.twig' %}
  20.         {% endif %}     
  21.     {% endif %}      
  22.       <!-- incl: B:breadcrumbs END -->
  23.     {% block searchform %}
  24.     {% endblock %}
  25.   {% endblock %}
  26.   {% block content %}
  27.   {% endblock %}
  28.   {% if not bInFrame %}
  29.       {% include 'NCBSWBundle:Bible:biblefooter.html.twig' %} 
  30.   {% endif %}
  31. {% endblock %}