<?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;
/* content/home.html.twig */
class __TwigTemplate_378967feb485c6ca6036a0cf32a9ebb5 extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'content' => [$this, 'block_content'],
];
$this->sandbox = $this->env->getExtension(SandboxExtension::class);
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 1
return "layouts/layout.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", "content/home.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "content/home.html.twig"));
$this->parent = $this->loadTemplate("layouts/layout.html.twig", "content/home.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);
}
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"));
// line 2
yield "
";
// line 3
$context["cache"] = $this->extensions['Pimcore\Twig\Extension\CacheExtension']->init("main_navigation_cache", 60);
// line 4
if ( !CoreExtension::getAttribute($this->env, $this->source, (isset($context["cache"]) || array_key_exists("cache", $context) ? $context["cache"] : (function () { throw new RuntimeError('Variable "cache" does not exist.', 4, $this->source); })()), "start", [], "method", false, false, true, 4)) {
// line 5
yield "
";
// line 7
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "content", ["allowed" => ["portal-banner", "our-technology-partners", "proudly-sponsor", "contact-c2-form"]]);
// line 11
yield "
<!-- Hero Section -->
<!--/Hero Section -->
<!-- Tech Partners Section -->
<!--/Tech Partners Section -->
<!-- Main Content -->
<div id=\"main-content\">
<!-- Main Page Content -->
<div id=\"main-page-content\" class=\"content-max-width\">
";
// line 20
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "areablock", "content2", ["allowed" => ["our-projects", "services", "award", "our-customers", "our-products", "blog-and-news", "achievement", "global-partnership", "contact-c2-form"]]);
// line 34
yield "
</div>
<!--/Main Page Content -->
</div>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"name\": \"CENTRIC\",
\"url\": \"";
// line 43
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 43, $this->source); })()), "request", [], "any", false, false, true, 43), "getSchemeAndHttpHost", [], "any", false, false, true, 43), 43, $this->source), "html", null, true);
yield "\",
\"logo\": \"";
// line 44
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 44, $this->source); })()), "request", [], "any", false, false, true, 44), "getSchemeAndHttpHost", [], "any", false, false, true, 44), 44, $this->source), "html", null, true);
yield "/assets/images/centric_logo_color_text.svg\"
}
</script>
<!--/Main Content -->
";
// line 49
CoreExtension::getAttribute($this->env, $this->source, (isset($context["cache"]) || array_key_exists("cache", $context) ? $context["cache"] : (function () { throw new RuntimeError('Variable "cache" does not exist.', 49, $this->source); })()), "end", [], "method", false, false, true, 49);
}
// line 51
yield "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "content/home.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 122 => 51, 119 => 49, 111 => 44, 107 => 43, 96 => 34, 94 => 20, 83 => 11, 81 => 7, 77 => 5, 75 => 4, 73 => 3, 70 => 2, 38 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends 'layouts/layout.html.twig' %} {% block content %}
{% set cache = pimcore_cache(\"main_navigation_cache\", 60) %}
{% if not cache.start() %}
{{
pimcore_areablock(\"content\", {
allowed: [\"portal-banner\", \"our-technology-partners\",\"proudly-sponsor\",'contact-c2-form']
})
}}
<!-- Hero Section -->
<!--/Hero Section -->
<!-- Tech Partners Section -->
<!--/Tech Partners Section -->
<!-- Main Content -->
<div id=\"main-content\">
<!-- Main Page Content -->
<div id=\"main-page-content\" class=\"content-max-width\">
{{
pimcore_areablock(\"content2\", {
allowed: [
\"our-projects\",
\"services\",
\"award\",
\"our-customers\",
\"our-products\",
\"blog-and-news\",
\"achievement\",
\"global-partnership\",
\"contact-c2-form\"
]
})
}}
</div>
<!--/Main Page Content -->
</div>
<script type=\"application/ld+json\">
{
\"@context\": \"https://schema.org\",
\"@type\": \"Organization\",
\"name\": \"CENTRIC\",
\"url\": \"{{app.request.getSchemeAndHttpHost}}\",
\"logo\": \"{{app.request.getSchemeAndHttpHost}}/assets/images/centric_logo_color_text.svg\"
}
</script>
<!--/Main Content -->
{% do cache.end() %}
{% endif %}
{% endblock %}
", "content/home.html.twig", "/var/www/html/templates/content/home.html.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 3, "if" => 4, "do" => 49);
static $filters = array("escape" => 43);
static $functions = array("pimcore_cache" => 3, "pimcore_areablock" => 8);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'do'],
['escape'],
['pimcore_cache', 'pimcore_areablock'],
$this->source
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}