var/cache/dev/twig/ce/ce64b63aee196426a0f8aebf42f1e296.php line 53

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. /* front/index.html.twig */
  15. class __TwigTemplate_cac51eb30f78129bc416a008b3eb20cb 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. 'metas' => [$this, 'block_metas'],
  25. 'structuredData' => [$this, 'block_structuredData'],
  26. 'bodyClass' => [$this, 'block_bodyClass'],
  27. 'content' => [$this, 'block_content'],
  28. 'javascripts' => [$this, 'block_javascripts'],
  29. ];
  30. }
  31. protected function doGetParent(array $context)
  32. {
  33. // line 1
  34. return "front/front.html.twig";
  35. }
  36. protected function doDisplay(array $context, array $blocks = [])
  37. {
  38. $macros = $this->macros;
  39. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/index.html.twig"));
  41. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/index.html.twig"));
  43. $this->parent = $this->loadTemplate("front/front.html.twig", "front/index.html.twig", 1);
  44. yield from $this->parent->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  45. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  47. }
  48. // line 2
  49. public function block_metas($context, array $blocks = [])
  50. {
  51. $macros = $this->macros;
  52. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metas"));
  54. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "metas"));
  56. // line 3
  57. yield " <title>";
  58. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vivog | Matériel pour les toiletteurs et éleveurs", [], "messages");
  59. yield "</title>
  60. <meta name=\"Description\" content=\"";
  61. // line 4
  62. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vivog est la marque française spécialiste des produits professionnels du chien et chat. Vivog est le fournisseur des toiletteurs et éleveurs depuis 1988.", [], "messages");
  63. yield "\">
  64. <link rel=\"canonical\" href=\"";
  65. // line 5
  66. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("index");
  67. yield "\" />
  68. ";
  69. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  70. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  71. return; yield '';
  72. }
  73. // line 8
  74. public function block_structuredData($context, array $blocks = [])
  75. {
  76. $macros = $this->macros;
  77. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  78. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
  79. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  80. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "structuredData"));
  81. // line 9
  82. yield " ";
  83. $context["cpt"] = 1;
  84. // line 10
  85. yield " <script type=\"application/ld+json\">
  86. {
  87. \"@context\": \"https://schema.org\",
  88. \"@type\": \"BreadcrumbList\",
  89. \"itemListElement\":
  90. [
  91. {
  92. \"@type\": \"ListItem\",
  93. \"position\": ";
  94. // line 18
  95. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["cpt"]) || array_key_exists("cpt", $context) ? $context["cpt"] : (function () { throw new RuntimeError('Variable "cpt" does not exist.', 18, $this->source); })()), "html", null, true);
  96. yield ",
  97. \"item\":
  98. {
  99. \"@id\": \"";
  100. // line 21
  101. yield $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("index");
  102. yield "\",
  103. \"name\": \"";
  104. // line 22
  105. yield $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Vivog | Matériel pour les toiletteurs et éleveurs", [], "messages");
  106. yield "\"
  107. }
  108. }
  109. ]
  110. }
  111. </script>
  112. ";
  113. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  114. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115. return; yield '';
  116. }
  117. // line 29
  118. public function block_bodyClass($context, array $blocks = [])
  119. {
  120. $macros = $this->macros;
  121. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  122. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
  123. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  124. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "bodyClass"));
  125. yield "index";
  126. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  127. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  128. return; yield '';
  129. }
  130. // line 30
  131. public function block_content($context, array $blocks = [])
  132. {
  133. $macros = $this->macros;
  134. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  135. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  136. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  137. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "content"));
  138. // line 31
  139. yield " ";
  140. yield from $this->loadTemplate("front/layout/messages.html.twig", "front/index.html.twig", 31)->unwrap()->yield($context);
  141. // line 32
  142. yield " <div id=\"homepage\">
  143. ";
  144. // line 33
  145. if ((isset($context["moduleHooked"]) || array_key_exists("moduleHooked", $context) ? $context["moduleHooked"] : (function () { throw new RuntimeError('Variable "moduleHooked" does not exist.', 33, $this->source); })())) {
  146. // line 34
  147. yield " ";
  148. yield from $this->loadTemplate("front/hooks/default.html.twig", "front/index.html.twig", 34)->unwrap()->yield($context);
  149. // line 35
  150. yield " ";
  151. }
  152. // line 36
  153. yield " </div>
  154. ";
  155. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  156. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  157. return; yield '';
  158. }
  159. // line 38
  160. public function block_javascripts($context, array $blocks = [])
  161. {
  162. $macros = $this->macros;
  163. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  164. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  165. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  166. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  167. // line 39
  168. yield " <script>
  169. \$(document).ready(function () {
  170. });
  171. </script>
  172. ";
  173. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  174. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  175. return; yield '';
  176. }
  177. /**
  178. * @codeCoverageIgnore
  179. */
  180. public function getTemplateName()
  181. {
  182. return "front/index.html.twig";
  183. }
  184. /**
  185. * @codeCoverageIgnore
  186. */
  187. public function isTraitable()
  188. {
  189. return false;
  190. }
  191. /**
  192. * @codeCoverageIgnore
  193. */
  194. public function getDebugInfo()
  195. {
  196. return array ( 212 => 39, 202 => 38, 190 => 36, 187 => 35, 184 => 34, 182 => 33, 179 => 32, 176 => 31, 166 => 30, 146 => 29, 128 => 22, 124 => 21, 118 => 18, 108 => 10, 105 => 9, 95 => 8, 82 => 5, 78 => 4, 73 => 3, 63 => 2, 40 => 1,);
  197. }
  198. public function getSourceContext()
  199. {
  200. return new Source("{% extends 'front/front.html.twig' %}
  201. {% block metas %}
  202. <title>{% trans %}Vivog | Matériel pour les toiletteurs et éleveurs{% endtrans %}</title>
  203. <meta name=\"Description\" content=\"{% trans %}Vivog est la marque française spécialiste des produits professionnels du chien et chat. Vivog est le fournisseur des toiletteurs et éleveurs depuis 1988.{% endtrans %}\">
  204. <link rel=\"canonical\" href=\"{{ url('index') }}\" />
  205. {% endblock %}
  206. {% block structuredData %}
  207. {% set cpt = 1 %}
  208. <script type=\"application/ld+json\">
  209. {
  210. \"@context\": \"https://schema.org\",
  211. \"@type\": \"BreadcrumbList\",
  212. \"itemListElement\":
  213. [
  214. {
  215. \"@type\": \"ListItem\",
  216. \"position\": {{ cpt }},
  217. \"item\":
  218. {
  219. \"@id\": \"{{ url('index') }}\",
  220. \"name\": \"{% trans %}Vivog | Matériel pour les toiletteurs et éleveurs{% endtrans %}\"
  221. }
  222. }
  223. ]
  224. }
  225. </script>
  226. {% endblock %}
  227. {% block bodyClass %}index{% endblock %}
  228. {% block content %}
  229. {% include 'front/layout/messages.html.twig' %}
  230. <div id=\"homepage\">
  231. {% if moduleHooked %}
  232. {% include 'front/hooks/default.html.twig' %}
  233. {% endif %}
  234. </div>
  235. {% endblock %}
  236. {% block javascripts %}
  237. <script>
  238. \$(document).ready(function () {
  239. });
  240. </script>
  241. {% endblock %}", "front/index.html.twig", "/var/www/dogcat.com/v2-test/templates/front/index.html.twig");
  242. }
  243. }