var/cache/website/dev/twig/df/df5a0832c2a69929b424f9d9d9b12997.php line 49

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. /* pages/homepage.html.twig */
  15. class __TwigTemplate_ba86fa7c4feff5cdbde36f6ab83b0182 extends Template
  16. {
  17. private $source;
  18. private $macros = [];
  19. public function __construct(Environment $env)
  20. {
  21. parent::__construct($env);
  22. $this->source = $this->getSourceContext();
  23. $this->blocks = [
  24. 'content' => [$this, 'block_content'],
  25. ];
  26. }
  27. protected function doGetParent(array $context)
  28. {
  29. // line 1
  30. return "base.html.twig";
  31. }
  32. protected function doDisplay(array $context, array $blocks = [])
  33. {
  34. $macros = $this->macros;
  35. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/homepage.html.twig"));
  37. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "pages/homepage.html.twig"));
  39. $this->parent = $this->loadTemplate("base.html.twig", "pages/homepage.html.twig", 1);
  40. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  41. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  43. }
  44. // line 3
  45. public function block_content($context, array $blocks = [])
  46. {
  47. $macros = $this->macros;
  48. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  50. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  52. // line 4
  53. yield " <h1>";
  54. 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.', 4, $this->source); })()), "title", [], "any", false, false, false, 4), "html", null, true);
  55. yield "</h1>
  56. ";
  57. // line 6
  58. 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.', 6, $this->source); })()), "article", [], "any", false, false, false, 6);
  59. yield "
  60. ";
  61. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  62. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  63. return; yield '';
  64. }
  65. /**
  66. * @codeCoverageIgnore
  67. */
  68. public function getTemplateName()
  69. {
  70. return "pages/homepage.html.twig";
  71. }
  72. /**
  73. * @codeCoverageIgnore
  74. */
  75. public function isTraitable()
  76. {
  77. return false;
  78. }
  79. /**
  80. * @codeCoverageIgnore
  81. */
  82. public function getDebugInfo()
  83. {
  84. return array ( 75 => 6, 69 => 4, 59 => 3, 36 => 1,);
  85. }
  86. public function getSourceContext()
  87. {
  88. return new Source("{% extends \"base.html.twig\" %}
  89. {% block content %}
  90. <h1>{{ content.title }}</h1>
  91. {{ content.article|raw }}
  92. {% endblock %}
  93. ", "pages/homepage.html.twig", "/home/httpd/vhosts/shcodex.ch/sulu.shcodex.ch/templates/pages/homepage.html.twig");
  94. }
  95. }