var/cache/dev/twig/e5/e5139807eb4cc3d04224d2b10485fcf2.php line 41

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* standard_tpl.html.twig */
  15. class __TwigTemplate_024580e6f6709fd624f8f8053f40d92d extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'page_container' => [$this'block_page_container'],
  25.             'page_banner' => [$this'block_page_banner'],
  26.             'content' => [$this'block_content'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "site_body.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""standard_tpl.html.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""standard_tpl.html.twig"));
  41.         $this->parent $this->loadTemplate("site_body.html.twig""standard_tpl.html.twig"1);
  42.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  45.         
  46.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47.     }
  48.     // line 3
  49.     public function block_page_container($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_container"));
  54.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_container"));
  56.         yield 
  57.     ";
  58.         // line 5
  59.         $context["page_title"] = "";
  60.         // line 6
  61.         yield "
  62.     ";
  63.         // line 7
  64.         if (array_key_exists("page_title_alt"$context)) {
  65.             // line 8
  66.             yield "        ";
  67.             $context["page_title"] = (isset($context["page_title_alt"]) || array_key_exists("page_title_alt"$context) ? $context["page_title_alt"] : (function () { throw new RuntimeError('Variable "page_title_alt" does not exist.'8$this->source); })());
  68.             // line 9
  69.             yield "    ";
  70.         } else {
  71.             // line 10
  72.             yield "        ";
  73.             $context["page_title"] = ((CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"truetruefalse10)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source, ($context["content"] ?? null), "title", [], "any"falsefalsefalse10), "No title")) : ("No title"));
  74.             // line 11
  75.             yield "    ";
  76.         }
  77.         // line 12
  78.         yield "
  79.     <section class=\"banner top-banner about-us ";
  80.         // line 13
  81.         yield from $this->unwrap()->yieldBlock('page_banner'$context$blocks);
  82.         yield "\">
  83.         <div class=\"container\">
  84.             <div class=\"row\">
  85.                 <div class=\"col-lg-12 d-flex justify-content-center\">
  86.                     <div class=\"text-center\">
  87.                         <h2 class=\"banner-title\">";
  88.         // line 18
  89.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page_title"]) || array_key_exists("page_title"$context) ? $context["page_title"] : (function () { throw new RuntimeError('Variable "page_title" does not exist.'18$this->source); })()), "html"nulltrue);
  90.         yield "</h2>
  91.                         <nav aria-label=\"breadcrumb\" class=\"d-flex justify-content-center fast-breadcrumb\">
  92.                             <ol class=\"breadcrumb\">
  93.                                 <li class=\"breadcrumb-item\"><a href=\"";
  94.         // line 21
  95.         yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_page");
  96.         yield "\"><i class=\"fa-solid fa-house\"></i> Home</a></li>
  97.                                 <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  98.         // line 22
  99.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["page_title"]) || array_key_exists("page_title"$context) ? $context["page_title"] : (function () { throw new RuntimeError('Variable "page_title" does not exist.'22$this->source); })()), "html"nulltrue);
  100.         yield "</li>
  101.                             </ol>
  102.                         </nav>
  103.                     </div>
  104.                 </div>
  105.             </div>
  106.         </div>
  107.     </section>
  108.     <!-- End Breadcrumb Style2 -->
  109.     ";
  110.         // line 32
  111.         yield from $this->unwrap()->yieldBlock('content'$context$blocks);
  112.         // line 33
  113.         yield "
  114. ";
  115.         
  116.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  117.         
  118.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  119.         return; yield '';
  120.     }
  121.     // line 13
  122.     public function block_page_banner($context, array $blocks = [])
  123.     {
  124.         $macros $this->macros;
  125.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  126.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_banner"));
  127.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  128.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""page_banner"));
  129.         
  130.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  131.         
  132.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  133.         return; yield '';
  134.     }
  135.     // line 32
  136.     public function block_content($context, array $blocks = [])
  137.     {
  138.         $macros $this->macros;
  139.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  140.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  141.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  142.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  143.         yield " ";
  144.         
  145.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  146.         
  147.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  148.         return; yield '';
  149.     }
  150.     /**
  151.      * @codeCoverageIgnore
  152.      */
  153.     public function getTemplateName()
  154.     {
  155.         return "standard_tpl.html.twig";
  156.     }
  157.     /**
  158.      * @codeCoverageIgnore
  159.      */
  160.     public function isTraitable()
  161.     {
  162.         return false;
  163.     }
  164.     /**
  165.      * @codeCoverageIgnore
  166.      */
  167.     public function getDebugInfo()
  168.     {
  169.         return array (  160 => 32,  141 => 13,  129 => 33,  127 => 32,  114 => 22,  110 => 21,  104 => 18,  96 => 13,  93 => 12,  90 => 11,  87 => 10,  84 => 9,  81 => 8,  79 => 7,  76 => 6,  74 => 5,  61 => 3,  38 => 1,);
  170.     }
  171.     public function getSourceContext()
  172.     {
  173.         return new Source("{% extends \"site_body.html.twig\" %}
  174. {% block page_container %} 
  175.     {% set page_title = '' %}
  176.     {% if page_title_alt is defined %}
  177.         {% set page_title = page_title_alt %}
  178.     {% else %}
  179.         {% set page_title = content.title|default('No title') %}
  180.     {% endif %}
  181.     <section class=\"banner top-banner about-us {% block page_banner %}{% endblock %}\">
  182.         <div class=\"container\">
  183.             <div class=\"row\">
  184.                 <div class=\"col-lg-12 d-flex justify-content-center\">
  185.                     <div class=\"text-center\">
  186.                         <h2 class=\"banner-title\">{{ page_title }}</h2>
  187.                         <nav aria-label=\"breadcrumb\" class=\"d-flex justify-content-center fast-breadcrumb\">
  188.                             <ol class=\"breadcrumb\">
  189.                                 <li class=\"breadcrumb-item\"><a href=\"{{ path('home_page') }}\"><i class=\"fa-solid fa-house\"></i> Home</a></li>
  190.                                 <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ page_title }}</li>
  191.                             </ol>
  192.                         </nav>
  193.                     </div>
  194.                 </div>
  195.             </div>
  196.         </div>
  197.     </section>
  198.     <!-- End Breadcrumb Style2 -->
  199.     {% block content %} {% endblock %}
  200. {% endblock %}
  201. ""standard_tpl.html.twig""/home/u835281259/domains/konashznaturals.com/siteFiles/templates/standard_tpl.html.twig");
  202.     }
  203. }