<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* standard_tpl.html.twig */
class __TwigTemplate_024580e6f6709fd624f8f8053f40d92d extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'page_container' => [$this, 'block_page_container'],
'page_banner' => [$this, 'block_page_banner'],
'content' => [$this, 'block_content'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "site_body.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "standard_tpl.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "standard_tpl.html.twig"));
$this->parent = $this->loadTemplate("site_body.html.twig", "standard_tpl.html.twig", 1);
yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_page_container($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_container"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_container"));
yield "
";
// line 5
$context["page_title"] = "";
// line 6
yield "
";
// line 7
if (array_key_exists("page_title_alt", $context)) {
// line 8
yield " ";
$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); })());
// line 9
yield " ";
} else {
// line 10
yield " ";
$context["page_title"] = ((CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", true, true, false, 10)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["content"] ?? null), "title", [], "any", false, false, false, 10), "No title")) : ("No title"));
// line 11
yield " ";
}
// line 12
yield "
<section class=\"banner top-banner about-us ";
// line 13
yield from $this->unwrap()->yieldBlock('page_banner', $context, $blocks);
yield "\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12 d-flex justify-content-center\">
<div class=\"text-center\">
<h2 class=\"banner-title\">";
// line 18
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", null, true);
yield "</h2>
<nav aria-label=\"breadcrumb\" class=\"d-flex justify-content-center fast-breadcrumb\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 21
yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("home_page");
yield "\"><i class=\"fa-solid fa-house\"></i> Home</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 22
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", null, true);
yield "</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
</section>
<!-- End Breadcrumb Style2 -->
";
// line 32
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 33
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 13
public function block_page_banner($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_banner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "page_banner"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
// line 32
public function block_content($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
yield " ";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "standard_tpl.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("{% extends \"site_body.html.twig\" %}
{% block page_container %}
{% set page_title = '' %}
{% if page_title_alt is defined %}
{% set page_title = page_title_alt %}
{% else %}
{% set page_title = content.title|default('No title') %}
{% endif %}
<section class=\"banner top-banner about-us {% block page_banner %}{% endblock %}\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12 d-flex justify-content-center\">
<div class=\"text-center\">
<h2 class=\"banner-title\">{{ page_title }}</h2>
<nav aria-label=\"breadcrumb\" class=\"d-flex justify-content-center fast-breadcrumb\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"{{ path('home_page') }}\"><i class=\"fa-solid fa-house\"></i> Home</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ page_title }}</li>
</ol>
</nav>
</div>
</div>
</div>
</div>
</section>
<!-- End Breadcrumb Style2 -->
{% block content %} {% endblock %}
{% endblock %}
", "standard_tpl.html.twig", "/home/u835281259/domains/konashznaturals.com/siteFiles/templates/standard_tpl.html.twig");
}
}