var/cache/dev/twig/93/938c53914d9fe620c47236a28075c0b4.php line 57

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