*/
private array $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
'title' => [$this, 'block_title'],
'head' => [$this, 'block_head'],
'layout_navbar' => [$this, 'block_layout_navbar'],
'layout_body' => [$this, 'block_layout_body'],
'content' => [$this, 'block_content'],
'layout_footer' => [$this, 'block_layout_footer'],
'scripts' => [$this, 'block_scripts'],
];
}
protected function doDisplay(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 1
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(Twig\Extension\CoreExtension::default($this->env->getFunction('session')->getCallable()("lang"), "pt-BR"), "html", null, true);
yield "\">
";
// line 7
yield from $this->unwrap()->yieldBlock('title', $context, $blocks);
yield "
";
// line 10
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('asset_url')->getCallable()("css/bootstrap.min.css"), "html", null, true);
yield "\">
";
// line 13
yield "
";
// line 16
yield "
";
// line 19
yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('theme_asset')->getCallable()("css/style.css"), "html", null, true);
yield "\">
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('theme_url')->getCallable()("style.css"), "html", null, true);
yield "\">
";
// line 23
yield "
";
// line 25
yield from $this->unwrap()->yieldBlock('head', $context, $blocks);
// line 26
yield "
env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(($context["active_theme"] ?? null), "html", null, true);
yield "\">
";
// line 30
yield from $this->unwrap()->yieldBlock('layout_navbar', $context, $blocks);
// line 34
yield "
";
// line 35
yield from $this->unwrap()->yieldBlock('layout_body', $context, $blocks);
// line 40
yield "
";
// line 41
yield from $this->unwrap()->yieldBlock('layout_footer', $context, $blocks);
// line 45
yield "
";
// line 47
yield "
";
// line 50
yield "
";
// line 53
yield "
";
// line 66
yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks);
// line 67
yield "
";
// line 69
yield "
";
yield from [];
}
// line 7
/**
* @return iterable
*/
public function block_title(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))), "html", null, true);
yield from [];
}
// line 25
/**
* @return iterable
*/
public function block_head(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
// line 30
/**
* @return iterable
*/
public function block_layout_navbar(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 31
yield " ";
// line 32
yield " ";
try {
$_v0 = $this->load("partials/nav-bar.twig", 32);
} catch (LoaderError $e) {
// ignore missing template
$_v0 = null;
}
if ($_v0) {
yield from $_v0->unwrap()->yield($context);
}
// line 33
yield " ";
yield from [];
}
// line 35
/**
* @return iterable
*/
public function block_layout_body(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 36
yield "
";
// line 37
yield from $this->unwrap()->yieldBlock('content', $context, $blocks);
// line 38
yield "
";
yield from [];
}
// line 37
/**
* @return iterable
*/
public function block_content(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
// line 41
/**
* @return iterable
*/
public function block_layout_footer(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
// line 42
yield " ";
// line 43
yield " ";
try {
$_v1 = $this->load("partials/footer.twig", 43);
} catch (LoaderError $e) {
// ignore missing template
$_v1 = null;
}
if ($_v1) {
yield from $_v1->unwrap()->yield($context);
}
// line 44
yield " ";
yield from [];
}
// line 66
/**
* @return iterable
*/
public function block_scripts(array $context, array $blocks = []): iterable
{
$macros = $this->macros;
yield from [];
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName(): string
{
return "layouts/base.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable(): bool
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo(): array
{
return array ( 284 => 66, 279 => 44, 268 => 43, 266 => 42, 259 => 41, 249 => 37, 243 => 38, 241 => 37, 238 => 36, 231 => 35, 226 => 33, 215 => 32, 213 => 31, 206 => 30, 196 => 25, 185 => 7, 172 => 81, 168 => 80, 164 => 79, 152 => 69, 149 => 67, 147 => 66, 137 => 59, 129 => 53, 125 => 50, 119 => 47, 116 => 45, 114 => 41, 111 => 40, 109 => 35, 106 => 34, 104 => 30, 99 => 28, 95 => 26, 93 => 25, 89 => 23, 84 => 20, 79 => 19, 75 => 16, 71 => 13, 65 => 10, 60 => 7, 52 => 2, 49 => 1,);
}
public function getSourceContext(): Source
{
return new Source("", "layouts/base.twig", "/app/themes/default/views/layouts/base.twig");
}
}