*/ private array $macros = []; public function __construct(Environment $env) { parent::__construct($env); $this->source = $this->getSourceContext(); $this->parent = false; $this->blocks = [ 'head' => [$this, 'block_head'], 'layout_navbar' => [$this, 'block_layout_navbar'], 'layout_body' => [$this, 'block_layout_body'], 'content' => [$this, 'block_content'], 'scripts' => [$this, 'block_scripts'], ]; } protected function doDisplay(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 1 yield " "; // line 8 yield " "; yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", false, false, false, 8), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))) : (((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", true, true, false, 8)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_title", [], "any", false, false, false, 8), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))), "html", null, true); yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 9), "html", null, true); yield "\"> "; // line 10 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_keywords", [], "any", false, false, false, 10)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 11 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_keywords", [], "any", false, false, false, 11), "html", null, true); yield "\"> "; } // line 13 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((array_key_exists("canonical_url", $context)) ? (Twig\Extension\CoreExtension::default(($context["canonical_url"] ?? null), $this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))))) : ($this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))))), "html", null, true); yield "\"> "; // line 16 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))), "html", null, true); yield "\"> env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", true, true, false, 18)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", false, false, false, 18), ((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))) : (((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))), "html", null, true); yield "\"> env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", true, true, false, 19)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", false, false, false, 19), CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 19))) : (CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 19))), "html", null, true); yield "\"> "; // line 20 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 20)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 21 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(("storage/uploads/seo/" . CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 21))), "html", null, true); yield "\"> "; } // line 23 yield " "; // line 25 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "twitter_card", [], "any", true, true, false, 25)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "twitter_card", [], "any", false, false, false, 25), "summary_large_image")) : ("summary_large_image")), "html", null, true); yield "\"> env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(((array_key_exists("request_path", $context)) ? (Twig\Extension\CoreExtension::default(($context["request_path"] ?? null), "")) : (""))), "html", null, true); yield "\"> env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", true, true, false, 27)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_title", [], "any", false, false, false, 27), ((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))) : (((array_key_exists("title", $context)) ? (Twig\Extension\CoreExtension::default(($context["title"] ?? null), ($context["platformName"] ?? null))) : (($context["platformName"] ?? null))))), "html", null, true); yield "\"> env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", true, true, false, 28)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_description", [], "any", false, false, false, 28), CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 28))) : (CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "meta_description", [], "any", false, false, false, 28))), "html", null, true); yield "\"> "; // line 29 if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 29)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 30 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('url')->getCallable()(("storage/uploads/seo/" . CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "og_image", [], "any", false, false, false, 30))), "html", null, true); yield "\"> "; } // line 32 yield " "; // line 34 yield " "; if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_site_verification", [], "any", false, false, false, 34)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 35 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_site_verification", [], "any", false, false, false, 35), "html", null, true); yield "\"> "; } // line 37 yield " "; // line 39 yield " "; if ((CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_type", [], "any", false, false, false, 39) && (CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "json_ld_type", [], "any", false, false, false, 39) != "none"))) { // line 40 yield " "; } // line 68 yield " "; // line 70 yield " "; if ((($tmp = CoreExtension::getAttribute($this->env, $this->source, ($context["seo"] ?? null), "google_analytics_id", [], "any", false, false, false, 70)) && $tmp instanceof Markup ? (string) $tmp : $tmp)) { // line 71 yield " "; } // line 79 yield " "; // line 81 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('asset_url')->getCallable()("css/bootstrap.min.css"), "html", null, true); yield "\"> "; // line 84 yield " env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->env->getFunction('asset_url')->getCallable()("css/landing-page.css"), "html", null, true); yield "\"> "; // line 87 yield " "; // line 90 yield " "; // line 92 yield " "; // line 94 yield from $this->unwrap()->yieldBlock('head', $context, $blocks); // line 95 yield " "; // line 97 yield " "; // line 124 yield from $this->unwrap()->yieldBlock('layout_navbar', $context, $blocks); // line 130 yield " "; // line 131 yield from $this->unwrap()->yieldBlock('layout_body', $context, $blocks); // line 137 yield " "; // line 139 yield " "; if (( !($context["is_maintenance_mode"] ?? null) || (CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", true, true, false, 139) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", false, false, false, 139), "role", [], "any", false, false, false, 139) == "super_admin")))) { // line 140 yield " "; yield from $this->load("partials/footer.twig", 140)->unwrap()->yield($context); // line 141 yield " "; } // line 142 yield " "; // line 144 yield " "; // line 147 yield " "; // line 148 yield from $this->unwrap()->yieldBlock('scripts', $context, $blocks); // line 149 yield " "; yield from []; } // line 94 /** * @return iterable */ public function block_head(array $context, array $blocks = []): iterable { $macros = $this->macros; yield from []; } // line 124 /** * @return iterable */ public function block_layout_navbar(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 125 yield " "; // line 126 yield " "; if (( !($context["is_maintenance_mode"] ?? null) || (CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", true, true, false, 126) && (CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, ($context["auth"] ?? null), "user", [], "any", false, false, false, 126), "role", [], "any", false, false, false, 126) == "super_admin")))) { // line 127 yield " "; yield from $this->load("partials/nav-bar.twig", 127)->unwrap()->yield($context); // line 128 yield " "; } // line 129 yield " "; yield from []; } // line 131 /** * @return iterable */ public function block_layout_body(array $context, array $blocks = []): iterable { $macros = $this->macros; // line 132 yield " "; // line 133 yield "
"; // line 134 yield from $this->unwrap()->yieldBlock('content', $context, $blocks); // line 135 yield "
"; yield from []; } // line 134 /** * @return iterable */ public function block_content(array $context, array $blocks = []): iterable { $macros = $this->macros; yield from []; } // line 148 /** * @return iterable */ public function block_scripts(array $context, array $blocks = []): iterable { $macros = $this->macros; yield from []; } /** * @codeCoverageIgnore */ public function getTemplateName(): string { return "@index/layout.twig"; } /** * @codeCoverageIgnore */ public function isTraitable(): bool { return false; } /** * @codeCoverageIgnore */ public function getDebugInfo(): array { return array ( 496 => 148, 486 => 134, 480 => 135, 478 => 134, 475 => 133, 473 => 132, 466 => 131, 461 => 129, 458 => 128, 455 => 127, 452 => 126, 450 => 125, 443 => 124, 433 => 94, 416 => 170, 412 => 169, 408 => 168, 387 => 149, 385 => 148, 382 => 147, 376 => 144, 373 => 142, 370 => 141, 367 => 140, 364 => 139, 361 => 137, 359 => 131, 356 => 130, 354 => 124, 347 => 119, 341 => 115, 339 => 114, 323 => 101, 319 => 100, 315 => 99, 311 => 97, 308 => 95, 306 => 94, 302 => 92, 299 => 90, 295 => 87, 289 => 84, 283 => 81, 280 => 79, 274 => 76, 265 => 71, 262 => 70, 259 => 68, 253 => 64, 234 => 62, 216 => 61, 213 => 60, 210 => 59, 204 => 56, 200 => 55, 196 => 54, 192 => 53, 188 => 52, 184 => 50, 181 => 49, 174 => 48, 168 => 47, 164 => 46, 160 => 45, 156 => 44, 152 => 43, 147 => 40, 144 => 39, 141 => 37, 135 => 35, 132 => 34, 129 => 32, 123 => 30, 121 => 29, 117 => 28, 113 => 27, 109 => 26, 104 => 25, 101 => 23, 95 => 21, 93 => 20, 89 => 19, 85 => 18, 81 => 17, 78 => 16, 72 => 13, 66 => 11, 64 => 10, 60 => 9, 55 => 8, 47 => 1,); } public function getSourceContext(): Source { return new Source("", "@index/layout.twig", "/app/modules/index/views/layout.twig"); } }