var/cache/website/dev/twig/d7/d70a51f11541309695adb176817e32e1.php line 54

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. use Twig\TemplateWrapper;
  15. /* pages/default.html.twig */
  16. class __TwigTemplate_350a342a2b141fd17f54764b5ff26362 extends Template
  17. {
  18. private Source $source;
  19. /**
  20. * @var array<string, Template>
  21. */
  22. private array $macros = [];
  23. public function __construct(Environment $env)
  24. {
  25. parent::__construct($env);
  26. $this->source = $this->getSourceContext();
  27. $this->blocks = [
  28. 'hero' => [$this, 'block_hero'],
  29. 'content' => [$this, 'block_content'],
  30. ];
  31. }
  32. protected function doGetParent(array $context): bool|string|Template|TemplateWrapper
  33. {
  34. // line 1
  35. return "base.html.twig";
  36. }
  37. protected function doDisplay(array $context, array $blocks = []): iterable
  38. {
  39. $macros = $this->macros;
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/default.html.twig"));
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/default.html.twig"));
  44. $this->parent = $this->load("base.html.twig", 1);
  45. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  46. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  47. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48. }
  49. // line 2
  50. /**
  51. * @return iterable<null|scalar|\Stringable>
  52. */
  53. public function block_hero(array $context, array $blocks = []): iterable
  54. {
  55. $macros = $this->macros;
  56. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hero"));
  58. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "hero"));
  60. // line 3
  61. yield " ";
  62. yield from $this->load("partials/hero.html.twig", 3)->unwrap()->yield($context);
  63. // line 4
  64. yield " <style>
  65. .hero .info.d-flex.align-items-center {
  66. display: none !important;
  67. }
  68. </style>
  69. ";
  70. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  71. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  72. yield from [];
  73. }
  74. // line 11
  75. /**
  76. * @return iterable<null|scalar|\Stringable>
  77. */
  78. public function block_content(array $context, array $blocks = []): iterable
  79. {
  80. $macros = $this->macros;
  81. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  82. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  83. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  84. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  85. // line 12
  86. yield " <main id=\"main\" style=\"margin-top: 160px;\">
  87. <section ID=\"headlineAndTextBodyBlock\">
  88. <div class=\"container\" style=\"margin-top: 50px; margin-bottom: 10px;\">
  89. <div style=\"display: flex; justify-content: space-between;\">
  90. <div style=\"width: 45%;\">
  91. <h1 class=\"headline\" style=\"margin: 0;\">";
  92. // line 18
  93. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 18, $this->source); })()), "title", [], "any", false, false, false, 18), "html", null, true);
  94. yield "</h1>
  95. </div>
  96. <div style=\"width: 45%;\">
  97. <p class=\"text\" style=\"margin: 0;\">";
  98. // line 21
  99. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["content"]) || array_key_exists("content", $context) ? $context["content"] : (function () { throw new RuntimeError('Variable "content" does not exist.', 21, $this->source); })()), "article", [], "any", false, false, false, 21);
  100. yield "</p>
  101. </div>
  102. </div>
  103. </div>
  104. </section>
  105. </main>
  106. ";
  107. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  108. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  109. yield from [];
  110. }
  111. /**
  112. * @codeCoverageIgnore
  113. */
  114. public function getTemplateName(): string
  115. {
  116. return "pages/default.html.twig";
  117. }
  118. /**
  119. * @codeCoverageIgnore
  120. */
  121. public function isTraitable(): bool
  122. {
  123. return false;
  124. }
  125. /**
  126. * @codeCoverageIgnore
  127. */
  128. public function getDebugInfo(): array
  129. {
  130. return array ( 123 => 21, 117 => 18, 109 => 12, 96 => 11, 80 => 4, 77 => 3, 64 => 2, 41 => 1,);
  131. }
  132. public function getSourceContext(): Source
  133. {
  134. return new Source("{% extends \"base.html.twig\" %}
  135. {% block hero %}
  136. {% include \"partials/hero.html.twig\" %}
  137. <style>
  138. .hero .info.d-flex.align-items-center {
  139. display: none !important;
  140. }
  141. </style>
  142. {% endblock %}
  143. {% block content %}
  144. <main id=\"main\" style=\"margin-top: 160px;\">
  145. <section ID=\"headlineAndTextBodyBlock\">
  146. <div class=\"container\" style=\"margin-top: 50px; margin-bottom: 10px;\">
  147. <div style=\"display: flex; justify-content: space-between;\">
  148. <div style=\"width: 45%;\">
  149. <h1 class=\"headline\" style=\"margin: 0;\">{{ content.title }}</h1>
  150. </div>
  151. <div style=\"width: 45%;\">
  152. <p class=\"text\" style=\"margin: 0;\">{{content.article|raw}}</p>
  153. </div>
  154. </div>
  155. </div>
  156. </section>
  157. </main>
  158. {% endblock %}
  159. ", "pages/default.html.twig", "/www/htdocs/w00cd56a/prod_theatertotal/theatertotal_sulu_update/templates/pages/default.html.twig");
  160. }
  161. }