var/cache/dev/twig/cf/cf7b0203ad34173c9192d17eb3a7f37e.php line 71

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. /* theme/default/page_cms.html.twig */
  15. class __TwigTemplate_1f86dc3cd69f90af9aafad8737917d81 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. 'stylesheets' => [$this, 'block_stylesheets'],
  25. 'body' => [$this, 'block_body'],
  26. 'javascripts' => [$this, 'block_javascripts'],
  27. ];
  28. }
  29. protected function doGetParent(array $context)
  30. {
  31. // line 1
  32. return $this->loadTemplate((("theme/" . CoreExtension::getAttribute($this->env, $this->source, 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", ["APP_THEME"], "method", false, false, false, 1)) . "/partials/base.html.twig"), "theme/default/page_cms.html.twig", 1);
  33. }
  34. protected function doDisplay(array $context, array $blocks = [])
  35. {
  36. $macros = $this->macros;
  37. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/page_cms.html.twig"));
  39. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "theme/default/page_cms.html.twig"));
  41. yield from $this->getParent($context)->unwrap()->yield($context, array_merge($this->blocks, $blocks));
  42. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  44. }
  45. // line 3
  46. public function block_stylesheets($context, array $blocks = [])
  47. {
  48. $macros = $this->macros;
  49. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  50. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  51. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  52. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
  53. // line 4
  54. yield "\t";
  55. yield from $this->yieldParentBlock("stylesheets", $context, $blocks);
  56. yield "
  57. \t";
  58. // line 5
  59. if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 5, $this->source); })()), "customstyle", [], "any", false, false, false, 5))) {
  60. // line 6
  61. yield "\t\t<style>";
  62. yield CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 6, $this->source); })()), "customstyle", [], "any", false, false, false, 6);
  63. yield "</style>
  64. \t";
  65. }
  66. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  67. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68. return; yield '';
  69. }
  70. // line 11
  71. public function block_body($context, array $blocks = [])
  72. {
  73. $macros = $this->macros;
  74. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  76. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
  78. // line 12
  79. yield "\t<div id=\"";
  80. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id_page"]) || array_key_exists("id_page", $context) ? $context["id_page"] : (function () { throw new RuntimeError('Variable "id_page" does not exist.', 12, $this->source); })()), "html", null, true);
  81. yield "\" class=\"page-cms\">
  82. \t\t";
  83. // line 13
  84. if ((array_key_exists("breadcrumb", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 13, $this->source); })())))) {
  85. // line 14
  86. yield "\t\t\t";
  87. yield Twig\Extension\CoreExtension::include($this->env, $context, (("theme/" . CoreExtension::getAttribute($this->env, $this->source, 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.', 14, $this->source); })()), "request", [], "any", false, false, false, 14), "server", [], "any", false, false, false, 14), "get", ["APP_THEME"], "method", false, false, false, 14)) . "/partials/breadcrumb.html.twig"), ["breadcrumb" => // line 15
  88. (isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 15, $this->source); })()), "titre_page" => (( // line 16
  89. array_key_exists("titre_page", $context)) ? (Twig\Extension\CoreExtension::default((isset($context["titre_page"]) || array_key_exists("titre_page", $context) ? $context["titre_page"] : (function () { throw new RuntimeError('Variable "titre_page" does not exist.', 16, $this->source); })()), "")) : ("")), "image_bandeau" => // line 17
  90. (isset($context["image_bandeau"]) || array_key_exists("image_bandeau", $context) ? $context["image_bandeau"] : (function () { throw new RuntimeError('Variable "image_bandeau" does not exist.', 17, $this->source); })()), "image_bandeau_alt" => // line 18
  91. (isset($context["image_bandeau_alt"]) || array_key_exists("image_bandeau_alt", $context) ? $context["image_bandeau_alt"] : (function () { throw new RuntimeError('Variable "image_bandeau_alt" does not exist.', 18, $this->source); })())], false);
  92. // line 19
  93. yield "
  94. \t\t";
  95. }
  96. // line 21
  97. yield "
  98. \t\t<div class=\"container-fluid content-wrapper\">
  99. \t\t\t<div class=\"content-area\">
  100. \t\t\t\t<div class=\"row content_page\">
  101. \t\t\t\t\t\t<div class=\"col-sm-12\">
  102. \t\t\t\t\t\t\t";
  103. // line 29
  104. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "image", [], "any", false, false, false, 29) && (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 29, $this->source); })()), "showimageprincipal", [], "any", false, false, false, 29) == false))) {
  105. // line 30
  106. yield "\t\t\t\t\t\t\t\t";
  107. $context["position_image"] = ((CoreExtension::getAttribute($this->env, $this->source, ["1" => "d-flex justify-content-center", "2" => "d-flex justify-content-start", "3" => "d-flex justify-content-end"], CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "positionimage", [], "any", false, false, false, 30), [], "array", true, true, false, 30)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, ["1" => "d-flex justify-content-center", "2" => "d-flex justify-content-start", "3" => "d-flex justify-content-end"], CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 30, $this->source); })()), "positionimage", [], "any", false, false, false, 30), [], "array", false, false, false, 30), "d-flex justify-content-center")) : ("d-flex justify-content-center"));
  108. // line 31
  109. yield "\t\t\t\t\t\t\t\t<div class=\"";
  110. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["position_image"]) || array_key_exists("position_image", $context) ? $context["position_image"] : (function () { throw new RuntimeError('Variable "position_image" does not exist.', 31, $this->source); })()), "html", null, true);
  111. yield "\">
  112. \t\t\t\t\t\t\t\t\t<div class=\"col-image-post\">
  113. \t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid principal-img\" src=\"";
  114. // line 33
  115. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "image", [], "any", false, false, false, 33), "medium", ["1024x/uploads", "800x/uploads", "800x/uploads"]), "html", null, true);
  116. yield "\" alt=\"";
  117. yield (( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "imagealt", [], "any", false, false, false, 33))) ? (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "imagealt", [], "any", false, false, false, 33)) : (CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 33, $this->source); })()), "title", [], "any", false, false, false, 33)));
  118. yield "\"/>
  119. \t\t\t\t\t\t\t\t\t</div>
  120. \t\t\t\t\t\t\t\t</div>
  121. \t\t\t\t\t\t\t";
  122. }
  123. // line 37
  124. yield "
  125. \t\t\t\t\t\t\t";
  126. // line 38
  127. $context["lien_site"] = (((((("<a href=" . $this->extensions['App\Twig\CmsFunctionExtension']->websiteUrlFunction()) . " title=") . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["site_parameters"]) || array_key_exists("site_parameters", $context) ? $context["site_parameters"] : (function () { throw new RuntimeError('Variable "site_parameters" does not exist.', 38, $this->source); })()), "getParameters", [], "method", false, false, false, 38), "titre", [], "any", false, false, false, 38)) . ">") . $this->extensions['App\Twig\CmsFunctionExtension']->websiteUrlFunction()) . "</a>");
  128. // line 39
  129. yield "
  130. \t\t\t\t\t\t\t";
  131. // line 40
  132. if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 40, $this->source); })()), "content", [], "any", false, false, false, 40))) {
  133. // line 41
  134. yield "\t\t\t\t\t\t\t\t<div class=\"texte-content\">";
  135. yield $this->extensions['App\Twig\ShortcodeExtension']->replaceShortcodes($this->extensions['App\Twig\MotClePostExtension']->ContentChangeByMotCleFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 41, $this->source); })()), "id", [], "any", false, false, false, 41), Twig\Extension\CoreExtension::replace(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 41, $this->source); })()), "content", [], "any", false, false, false, 41), ["[NDD]" => (isset($context["lien_site"]) || array_key_exists("lien_site", $context) ? $context["lien_site"] : (function () { throw new RuntimeError('Variable "lien_site" does not exist.', 41, $this->source); })())])));
  136. yield "</div>
  137. \t\t\t\t\t\t\t";
  138. }
  139. // line 43
  140. yield "
  141. \t\t\t\t\t\t\t";
  142. // line 44
  143. if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 44, $this->source); })()), "tarifs", [], "any", false, false, false, 44))) {
  144. // line 45
  145. yield "\t\t\t\t\t\t\t\t";
  146. $context["data_tarif"] = $this->extensions['App\Twig\UnserializeExtension']->UnserializeFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 45, $this->source); })()), "tarifs", [], "any", false, false, false, 45));
  147. // line 46
  148. yield "\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon\">
  149. \t\t\t\t\t\t\t\t\t";
  150. // line 47
  151. $context['_parent'] = $context;
  152. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["data_tarif"]) || array_key_exists("data_tarif", $context) ? $context["data_tarif"] : (function () { throw new RuntimeError('Variable "data_tarif" does not exist.', 47, $this->source); })()));
  153. foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
  154. // line 48
  155. yield "\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_title\"><span class=\"title\">";
  156. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "globalTitle", [], "any", false, false, false, 48), "html", null, true);
  157. yield "</span> <span class=\"icon-plus\"></span></div>
  158. \t\t\t\t\t\t\t\t\t\t";
  159. // line 49
  160. if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "tables", [], "any", false, false, false, 49))) {
  161. // line 50
  162. yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_content\">
  163. \t\t\t\t\t\t\t\t\t\t\t\t";
  164. // line 51
  165. $context['_parent'] = $context;
  166. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "tables", [], "any", false, false, false, 51));
  167. foreach ($context['_seq'] as $context["_key"] => $context["tab"]) {
  168. // line 52
  169. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_tab\">
  170. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_title\">";
  171. // line 53
  172. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableTitle", [], "any", false, false, false, 53), "html", null, true);
  173. yield "</div>
  174. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  175. // line 54
  176. if ((CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableDescription", [], "any", true, true, false, 54) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableDescription", [], "any", false, false, false, 54)))) {
  177. // line 55
  178. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t \t<div class=\"tarif_tab_description\">";
  179. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "tableDescription", [], "any", false, false, false, 55), "html", null, true);
  180. yield "</div>
  181. \t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  182. }
  183. // line 57
  184. yield "
  185. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_content\">
  186. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  187. // line 59
  188. if ((CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "rows", [], "any", true, true, false, 59) && !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "rows", [], "any", false, false, false, 59)))) {
  189. // line 60
  190. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  191. $context['_parent'] = $context;
  192. $context['_seq'] = CoreExtension::ensureTraversable(CoreExtension::getAttribute($this->env, $this->source, $context["tab"], "rows", [], "any", false, false, false, 60));
  193. foreach ($context['_seq'] as $context["_key"] => $context["row_item"]) {
  194. // line 61
  195. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line\">
  196. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_title\">";
  197. // line 62
  198. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row_item"], "titre", [], "any", false, false, false, 62), "html", null, true);
  199. yield "</div>
  200. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_subtitle\">";
  201. // line 63
  202. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row_item"], "sousTitre", [], "any", false, false, false, 63), "html", null, true);
  203. yield "</div>
  204. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_price\">";
  205. // line 64
  206. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["row_item"], "price", [], "any", false, false, false, 64), "html", null, true);
  207. yield "</div>
  208. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  209. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  210. }
  211. $_parent = $context['_parent'];
  212. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['row_item'], $context['_parent'], $context['loop']);
  213. $context = array_intersect_key($context, $_parent) + $_parent;
  214. // line 67
  215. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  216. }
  217. // line 68
  218. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  219. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  220. \t\t\t\t\t\t\t\t\t\t\t\t";
  221. }
  222. $_parent = $context['_parent'];
  223. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['tab'], $context['_parent'], $context['loop']);
  224. $context = array_intersect_key($context, $_parent) + $_parent;
  225. // line 71
  226. yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  227. \t\t\t\t\t\t\t\t\t\t";
  228. }
  229. // line 73
  230. yield "\t\t\t\t\t\t\t\t\t";
  231. }
  232. $_parent = $context['_parent'];
  233. unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
  234. $context = array_intersect_key($context, $_parent) + $_parent;
  235. // line 74
  236. yield "\t\t\t\t\t\t\t\t</div>
  237. \t\t\t\t\t\t\t";
  238. }
  239. // line 76
  240. yield "
  241. \t\t\t\t\t\t\t";
  242. // line 77
  243. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 77, $this->source); })()), "typelien", [], "any", false, false, false, 77) != 1)) {
  244. // line 78
  245. yield "\t\t\t\t\t\t\t\t";
  246. if ((CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 78, $this->source); })()), "typelien", [], "any", false, false, false, 78) == "4")) {
  247. // line 79
  248. yield "\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
  249. \t\t\t\t\t\t\t\t\t\t<a href=\"tel:";
  250. // line 80
  251. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "telephone", [], "any", false, false, false, 80), "html", null, true);
  252. yield "\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">";
  253. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 80, $this->source); })()), "titrelien", [], "any", false, false, false, 80), "html", null, true);
  254. yield "</a>
  255. \t\t\t\t\t\t\t\t\t</div>
  256. \t\t\t\t\t\t\t\t";
  257. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 82
  258. (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 82, $this->source); })()), "typelien", [], "any", false, false, false, 82) == "2")) {
  259. // line 83
  260. yield "\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
  261. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  262. // line 84
  263. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\CmsFunctionExtension']->resolveInternalSlugLinkFunction(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 84, $this->source); })()), "lieninterne", [], "any", false, false, false, 84)), "html", null, true);
  264. yield "\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">";
  265. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 84, $this->source); })()), "titrelien", [], "any", false, false, false, 84), "html", null, true);
  266. yield "</a>
  267. \t\t\t\t\t\t\t\t\t</div>
  268. \t\t\t\t\t\t\t\t";
  269. } elseif ((CoreExtension::getAttribute($this->env, $this->source, // line 86
  270. (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 86, $this->source); })()), "typelien", [], "any", false, false, false, 86) == "3")) {
  271. // line 87
  272. yield "\t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
  273. \t\t\t\t\t\t\t\t\t\t<a href=\"";
  274. // line 88
  275. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 88, $this->source); })()), "lienexterne", [], "any", false, false, false, 88), "html", null, true);
  276. yield "\" target=\"_blank\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">";
  277. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 88, $this->source); })()), "titrelien", [], "any", false, false, false, 88), "html", null, true);
  278. yield "</a>
  279. \t\t\t\t\t\t\t\t\t</div>
  280. \t\t\t\t\t\t\t\t";
  281. }
  282. // line 91
  283. yield "\t\t\t\t\t\t\t";
  284. }
  285. // line 92
  286. yield "\t\t\t\t\t\t</div>
  287. \t\t\t\t\t\t";
  288. // line 94
  289. if ( !Twig\Extension\CoreExtension::testEmpty(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 94, $this->source); })()), "urlvideo", [], "any", false, false, false, 94))) {
  290. // line 95
  291. yield "\t\t\t\t\t\t\t<div class=\"col-sm-12\">
  292. \t\t\t\t\t\t\t\t<div class=\"contenu-video\">
  293. \t\t\t\t\t\t\t\t\t";
  294. // line 97
  295. $context["id_video_externe"] = $this->extensions['App\Twig\AppExtension']->extractYoutubeId(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 97, $this->source); })()), "urlvideo", [], "any", false, false, false, 97));
  296. // line 98
  297. yield "\t\t\t\t\t\t\t\t\t<a class=\"video-thumbnail m-0\" href=\"";
  298. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, (isset($context["page"]) || array_key_exists("page", $context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.', 98, $this->source); })()), "urlvideo", [], "any", false, false, false, 98), "html", null, true);
  299. yield "\" data-fancybox=\"video\">
  300. \t\t\t\t\t\t\t\t\t\t<img src=\"https://img.youtube.com/vi/";
  301. // line 99
  302. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["id_video_externe"]) || array_key_exists("id_video_externe", $context) ? $context["id_video_externe"] : (function () { throw new RuntimeError('Variable "id_video_externe" does not exist.', 99, $this->source); })()), "html", null, true);
  303. yield "/maxresdefault.jpg\" class=\"img-fluid\" alt=\"youtube vidéo\"/>
  304. \t\t\t\t\t\t\t\t\t</a>
  305. \t\t\t\t\t\t\t\t</div>
  306. \t\t\t\t\t\t\t</div>
  307. \t\t\t\t\t\t";
  308. }
  309. // line 104
  310. yield "
  311. \t\t\t\t\t\t";
  312. // line 105
  313. if (((((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 105, $this->source); })()) && !Twig\Extension\CoreExtension::testEmpty((isset($context["galleries"]) || array_key_exists("galleries", $context) ? $context["galleries"] : (function () { throw new RuntimeError('Variable "galleries" does not exist.', 105, $this->source); })()))) && array_key_exists("twig_galerie", $context)) && !Twig\Extension\CoreExtension::testEmpty((isset($context["twig_galerie"]) || array_key_exists("twig_galerie", $context) ? $context["twig_galerie"] : (function () { throw new RuntimeError('Variable "twig_galerie" does not exist.', 105, $this->source); })())))) {
  314. // line 106
  315. yield "\t\t\t\t\t\t\t<div class=\"col-sm-12\">
  316. \t\t\t\t\t\t\t\t";
  317. // line 107
  318. yield Twig\Extension\CoreExtension::include($this->env, $context, Twig\Extension\StringLoaderExtension::templateFromString($this->env, (isset($context["twig_galerie"]) || array_key_exists("twig_galerie", $context) ? $context["twig_galerie"] : (function () { throw new RuntimeError('Variable "twig_galerie" does not exist.', 107, $this->source); })())));
  319. yield "
  320. \t\t\t\t\t\t\t</div>
  321. \t\t\t\t\t\t";
  322. }
  323. // line 110
  324. yield "
  325. \t\t\t\t
  326. \t\t\t\t</div>
  327. \t\t\t</div>
  328. \t\t</div>
  329. \t\t";
  330. // line 118
  331. if (array_key_exists("blocs", $context)) {
  332. // line 119
  333. yield "\t\t\t";
  334. yield Twig\Extension\CoreExtension::include($this->env, $context, (("theme/" . CoreExtension::getAttribute($this->env, $this->source, 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.', 119, $this->source); })()), "request", [], "any", false, false, false, 119), "server", [], "any", false, false, false, 119), "get", ["APP_THEME"], "method", false, false, false, 119)) . "/partials/bloc_render.html.twig"), ["blocs" => (isset($context["blocs"]) || array_key_exists("blocs", $context) ? $context["blocs"] : (function () { throw new RuntimeError('Variable "blocs" does not exist.', 119, $this->source); })())], false);
  335. yield "
  336. \t\t";
  337. }
  338. // line 121
  339. yield "
  340. \t\t";
  341. // line 122
  342. if ((array_key_exists("post_associer", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["post_associer"]) || array_key_exists("post_associer", $context) ? $context["post_associer"] : (function () { throw new RuntimeError('Variable "post_associer" does not exist.', 122, $this->source); })())))) {
  343. // line 123
  344. yield "\t\t\t<div class=\"container-fluid content-wrapper py-5\">
  345. \t\t\t\t<div class=\"row\">
  346. \t\t\t\t\t<div class=\"col-sm-12\">
  347. \t\t\t\t\t\t<h2 class=\"title mb-5\">
  348. \t\t\t\t\t\t\tDécouvrez d'autres articles
  349. \t\t\t\t\t\t</h2>
  350. \t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
  351. \t\t\t\t\t\t\t";
  352. // line 130
  353. $context['_parent'] = $context;
  354. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["post_associer"]) || array_key_exists("post_associer", $context) ? $context["post_associer"] : (function () { throw new RuntimeError('Variable "post_associer" does not exist.', 130, $this->source); })()));
  355. foreach ($context['_seq'] as $context["key"] => $context["item"]) {
  356. // line 131
  357. yield "\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
  358. \t\t\t\t\t\t\t\t\t<div class=\"card\">
  359. \t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
  360. \t\t\t\t\t\t\t\t\t\t\t";
  361. // line 134
  362. if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 134)) {
  363. // line 135
  364. yield "\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
  365. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 135), "medium", ["1024x/uploads", "800x/uploads", "800x/uploads"]), "html", null, true);
  366. yield "\" class=\"card-img-top lazyload\" alt=\"";
  367. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 135), "html", null, true);
  368. yield "\">
  369. \t\t\t\t\t\t\t\t\t\t\t";
  370. } else {
  371. // line 137
  372. yield "\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
  373. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/media-site/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["site_parameters"]) || array_key_exists("site_parameters", $context) ? $context["site_parameters"] : (function () { throw new RuntimeError('Variable "site_parameters" does not exist.', 137, $this->source); })()), "getParameters", [], "method", false, false, false, 137), "imagevide", [], "any", false, false, false, 137))), "html", null, true);
  374. yield "\" class=\"card-img-top lazyload\" alt=\"";
  375. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 137), "html", null, true);
  376. yield "\">
  377. \t\t\t\t\t\t\t\t\t\t\t";
  378. }
  379. // line 139
  380. yield "\t\t\t\t\t\t\t\t\t\t</div>
  381. \t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
  382. \t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
  383. \t\t\t\t\t\t\t\t\t\t\t";
  384. // line 143
  385. $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 143)]);
  386. // line 144
  387. yield "\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"";
  388. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 144, $this->source); })()), "html", null, true);
  389. yield "\">";
  390. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 144), "html", null, true);
  391. yield "</a></h3>
  392. \t\t\t\t\t\t\t\t\t\t\t\t";
  393. // line 146
  394. if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "showresume", [], "any", false, false, false, 146)) {
  395. // line 147
  396. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  397. $context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 147));
  398. // line 148
  399. yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  400. } else {
  401. // line 149
  402. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  403. $context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 149));
  404. // line 150
  405. yield "\t\t\t\t\t\t\t\t\t\t\t\t";
  406. }
  407. // line 151
  408. yield "
  409. \t\t\t\t\t\t\t\t\t\t\t\t";
  410. // line 152
  411. if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 152, $this->source); })()))) {
  412. // line 153
  413. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">";
  414. yield (isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 153, $this->source); })());
  415. yield "</p>
  416. \t\t\t\t\t\t\t\t\t\t\t\t";
  417. }
  418. // line 155
  419. yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  420. \t\t\t\t\t\t\t\t\t\t\t";
  421. // line 157
  422. $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 157)]);
  423. // line 158
  424. yield "\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
  425. \t\t\t\t\t\t\t\t\t\t\t\t";
  426. // line 159
  427. $context["titre_lien"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", true, true, false, 159)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", false, false, false, 159), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes")));
  428. // line 160
  429. yield "\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  430. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 160, $this->source); })()), "html", null, true);
  431. yield "\" class=\"btn btn-theme\">";
  432. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["titre_lien"]) || array_key_exists("titre_lien", $context) ? $context["titre_lien"] : (function () { throw new RuntimeError('Variable "titre_lien" does not exist.', 160, $this->source); })()), "html", null, true);
  433. yield "</a>
  434. \t\t\t\t\t\t\t\t\t\t\t</div>
  435. \t\t\t\t\t\t\t\t\t\t</div>
  436. \t\t\t\t\t\t\t\t\t</div>
  437. \t\t\t\t\t\t\t\t</div>
  438. \t\t\t\t\t\t\t";
  439. }
  440. $_parent = $context['_parent'];
  441. unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
  442. $context = array_intersect_key($context, $_parent) + $_parent;
  443. // line 166
  444. yield "\t\t\t\t\t\t</div>
  445. \t\t\t\t\t</div>
  446. \t\t\t\t</div>
  447. \t\t\t</div>
  448. \t\t";
  449. } elseif (( // line 170
  450. array_key_exists("post_aleatoire", $context) && !Twig\Extension\CoreExtension::testEmpty((isset($context["post_aleatoire"]) || array_key_exists("post_aleatoire", $context) ? $context["post_aleatoire"] : (function () { throw new RuntimeError('Variable "post_aleatoire" does not exist.', 170, $this->source); })())))) {
  451. // line 171
  452. yield "\t\t\t<div class=\"article-random\">
  453. \t\t\t\t<div class=\"container-fluid content-wrapper\">
  454. \t\t\t\t\t<div class=\"row\">
  455. \t\t\t\t\t\t<div class=\"col-sm-12\">
  456. \t\t\t\t\t\t\t<h2 class=\"title mb-5\">
  457. \t\t\t\t\t\t\t\tDécouvrez d'autres articles
  458. \t\t\t\t\t\t\t</h2>
  459. \t\t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
  460. \t\t\t\t\t\t\t\t";
  461. // line 179
  462. $context['_parent'] = $context;
  463. $context['_seq'] = CoreExtension::ensureTraversable((isset($context["post_aleatoire"]) || array_key_exists("post_aleatoire", $context) ? $context["post_aleatoire"] : (function () { throw new RuntimeError('Variable "post_aleatoire" does not exist.', 179, $this->source); })()));
  464. foreach ($context['_seq'] as $context["key"] => $context["item"]) {
  465. // line 180
  466. yield "\t\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
  467. \t\t\t\t\t\t\t\t\t\t<div class=\"card\">
  468. \t\t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
  469. \t\t\t\t\t\t\t\t\t\t\t\t";
  470. // line 183
  471. if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 183)) {
  472. // line 184
  473. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
  474. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['App\Twig\ImagesExtenstion']->AssetImageFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "image", [], "any", false, false, false, 184), "medium", ["1024x/uploads", "800x/uploads", "800x/uploads"]), "html", null, true);
  475. yield "\" class=\"card-img-top lazyload\" alt=\"";
  476. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 184), "html", null, true);
  477. yield "\">
  478. \t\t\t\t\t\t\t\t\t\t\t\t";
  479. } else {
  480. // line 186
  481. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"";
  482. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(("/uploads/media-site/" . CoreExtension::getAttribute($this->env, $this->source, CoreExtension::getAttribute($this->env, $this->source, (isset($context["site_parameters"]) || array_key_exists("site_parameters", $context) ? $context["site_parameters"] : (function () { throw new RuntimeError('Variable "site_parameters" does not exist.', 186, $this->source); })()), "getParameters", [], "method", false, false, false, 186), "imagevide", [], "any", false, false, false, 186))), "html", null, true);
  483. yield "\" class=\"card-img-top lazyload\" alt=\"";
  484. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 186), "html", null, true);
  485. yield "\">
  486. \t\t\t\t\t\t\t\t\t\t\t\t";
  487. }
  488. // line 188
  489. yield "\t\t\t\t\t\t\t\t\t\t\t</div>
  490. \t\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
  491. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
  492. \t\t\t\t\t\t\t\t\t\t\t\t";
  493. // line 192
  494. $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 192)]);
  495. // line 193
  496. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"";
  497. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 193, $this->source); })()), "html", null, true);
  498. yield "\">";
  499. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "title", [], "any", false, false, false, 193), "html", null, true);
  500. yield "</a></h3>
  501. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  502. // line 195
  503. if (CoreExtension::getAttribute($this->env, $this->source, $context["item"], "showresume", [], "any", false, false, false, 195)) {
  504. // line 196
  505. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  506. $context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "summary", [], "any", false, false, false, 196));
  507. // line 197
  508. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  509. } else {
  510. // line 198
  511. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t";
  512. $context["texte_content"] = $this->extensions['App\Twig\CmsFunctionExtension']->cutTextFunction(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "content", [], "any", false, false, false, 198));
  513. // line 199
  514. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t";
  515. }
  516. // line 200
  517. yield "
  518. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  519. // line 201
  520. if ( !Twig\Extension\CoreExtension::testEmpty((isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 201, $this->source); })()))) {
  521. // line 202
  522. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">";
  523. yield (isset($context["texte_content"]) || array_key_exists("texte_content", $context) ? $context["texte_content"] : (function () { throw new RuntimeError('Variable "texte_content" does not exist.', 202, $this->source); })());
  524. yield "</p>
  525. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  526. }
  527. // line 204
  528. yield "\t\t\t\t\t\t\t\t\t\t\t\t</div>
  529. \t\t\t\t\t\t\t\t\t\t\t\t";
  530. // line 206
  531. $context["link"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => CoreExtension::getAttribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 206)]);
  532. // line 207
  533. yield "\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
  534. \t\t\t\t\t\t\t\t\t\t\t\t\t";
  535. // line 208
  536. $context["titre_lien"] = ((CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", true, true, false, 208)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env, $this->source, $context["item"], "titlebottonaffichage", [], "any", false, false, false, 208), $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes"))) : ($this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("label.btn_plus", [], "textes")));
  537. // line 209
  538. yield "\t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"";
  539. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 209, $this->source); })()), "html", null, true);
  540. yield "\" class=\"btn btn-theme\">";
  541. yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["titre_lien"]) || array_key_exists("titre_lien", $context) ? $context["titre_lien"] : (function () { throw new RuntimeError('Variable "titre_lien" does not exist.', 209, $this->source); })()), "html", null, true);
  542. yield "</a>
  543. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  544. \t\t\t\t\t\t\t\t\t\t\t</div>
  545. \t\t\t\t\t\t\t\t\t\t</div>
  546. \t\t\t\t\t\t\t\t\t</div>
  547. \t\t\t\t\t\t\t\t";
  548. }
  549. $_parent = $context['_parent'];
  550. unset($context['_seq'], $context['_iterated'], $context['key'], $context['item'], $context['_parent'], $context['loop']);
  551. $context = array_intersect_key($context, $_parent) + $_parent;
  552. // line 215
  553. yield "\t\t\t\t\t\t\t</div>
  554. \t\t\t\t\t\t</div>
  555. \t\t\t\t\t</div>
  556. \t\t\t\t</div>
  557. \t\t\t</div>
  558. \t\t";
  559. }
  560. // line 221
  561. yield "\t</div>
  562. ";
  563. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  564. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  565. return; yield '';
  566. }
  567. // line 224
  568. public function block_javascripts($context, array $blocks = [])
  569. {
  570. $macros = $this->macros;
  571. $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  572. $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  573. $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  574. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascripts"));
  575. // line 225
  576. yield "\t";
  577. yield from $this->yieldParentBlock("javascripts", $context, $blocks);
  578. yield "
  579. ";
  580. $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  581. $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  582. return; yield '';
  583. }
  584. /**
  585. * @codeCoverageIgnore
  586. */
  587. public function getTemplateName()
  588. {
  589. return "theme/default/page_cms.html.twig";
  590. }
  591. /**
  592. * @codeCoverageIgnore
  593. */
  594. public function isTraitable()
  595. {
  596. return false;
  597. }
  598. /**
  599. * @codeCoverageIgnore
  600. */
  601. public function getDebugInfo()
  602. {
  603. return array ( 619 => 225, 609 => 224, 597 => 221, 589 => 215, 574 => 209, 572 => 208, 569 => 207, 567 => 206, 563 => 204, 557 => 202, 555 => 201, 552 => 200, 549 => 199, 546 => 198, 543 => 197, 540 => 196, 538 => 195, 530 => 193, 528 => 192, 522 => 188, 514 => 186, 506 => 184, 504 => 183, 499 => 180, 495 => 179, 485 => 171, 483 => 170, 477 => 166, 462 => 160, 460 => 159, 457 => 158, 455 => 157, 451 => 155, 445 => 153, 443 => 152, 440 => 151, 437 => 150, 434 => 149, 431 => 148, 428 => 147, 426 => 146, 418 => 144, 416 => 143, 410 => 139, 402 => 137, 394 => 135, 392 => 134, 387 => 131, 383 => 130, 374 => 123, 372 => 122, 369 => 121, 363 => 119, 361 => 118, 351 => 110, 345 => 107, 342 => 106, 340 => 105, 337 => 104, 329 => 99, 324 => 98, 322 => 97, 318 => 95, 316 => 94, 312 => 92, 309 => 91, 301 => 88, 298 => 87, 296 => 86, 289 => 84, 286 => 83, 284 => 82, 277 => 80, 274 => 79, 271 => 78, 269 => 77, 266 => 76, 262 => 74, 256 => 73, 252 => 71, 244 => 68, 241 => 67, 232 => 64, 228 => 63, 224 => 62, 221 => 61, 216 => 60, 214 => 59, 210 => 57, 204 => 55, 202 => 54, 198 => 53, 195 => 52, 191 => 51, 188 => 50, 186 => 49, 181 => 48, 177 => 47, 174 => 46, 171 => 45, 169 => 44, 166 => 43, 160 => 41, 158 => 40, 155 => 39, 153 => 38, 150 => 37, 141 => 33, 135 => 31, 132 => 30, 130 => 29, 120 => 21, 116 => 19, 114 => 18, 113 => 17, 112 => 16, 111 => 15, 109 => 14, 107 => 13, 102 => 12, 92 => 11, 77 => 6, 75 => 5, 70 => 4, 60 => 3, 38 => 1,);
  604. }
  605. public function getSourceContext()
  606. {
  607. return new Source("{% extends \"theme/\"~ app.request.server.get('APP_THEME') ~\"/partials/base.html.twig\" %}
  608. {% block stylesheets %}
  609. \t{{parent()}}
  610. \t{% if page.customstyle is not empty %}
  611. \t\t<style>{{page.customstyle|raw}}</style>
  612. \t{% endif %}
  613. {% endblock %}
  614. {% block body %}
  615. \t<div id=\"{{id_page}}\" class=\"page-cms\">
  616. \t\t{% if breadcrumb is defined and breadcrumb is not empty %}
  617. \t\t\t{{ include ('theme/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig',{
  618. breadcrumb: breadcrumb,
  619. titre_page: titre_page|default(''),
  620. image_bandeau: image_bandeau,
  621. image_bandeau_alt:image_bandeau_alt
  622. }, with_context = false)}}
  623. \t\t{% endif %}
  624. \t\t<div class=\"container-fluid content-wrapper\">
  625. \t\t\t<div class=\"content-area\">
  626. \t\t\t\t<div class=\"row content_page\">
  627. \t\t\t\t\t\t<div class=\"col-sm-12\">
  628. \t\t\t\t\t\t\t{% if page.image and page.showimageprincipal == false %}
  629. \t\t\t\t\t\t\t\t{% set position_image = ({ \"1\": \"d-flex justify-content-center\", \"2\": \"d-flex justify-content-start\", \"3\": \"d-flex justify-content-end\" }[page.positionimage]|default(\"d-flex justify-content-center\")) %}
  630. \t\t\t\t\t\t\t\t<div class=\"{{position_image}}\">
  631. \t\t\t\t\t\t\t\t\t<div class=\"col-image-post\">
  632. \t\t\t\t\t\t\t\t\t\t<img class=\"img-fluid principal-img\" src=\"{{asset_image(page.image,'medium',['1024x/uploads','800x/uploads','800x/uploads'])}}\" alt=\"{{page.imagealt is not empty ? page.imagealt|raw : page.title|raw}}\"/>
  633. \t\t\t\t\t\t\t\t\t</div>
  634. \t\t\t\t\t\t\t\t</div>
  635. \t\t\t\t\t\t\t{% endif %}
  636. \t\t\t\t\t\t\t{% set lien_site = \"<a href=\"~websiteUrl()~\" title=\"~site_parameters.getParameters().titre~\">\"~websiteUrl()~\"</a>\" %}
  637. \t\t\t\t\t\t\t{% if page.content is not empty %}
  638. \t\t\t\t\t\t\t\t<div class=\"texte-content\">{{ContentChangeByMotCle(page.id,page.content|replace({'[NDD]':lien_site}))|shortcode|raw}}</div>
  639. \t\t\t\t\t\t\t{% endif %}
  640. \t\t\t\t\t\t\t{% if page.tarifs is not empty %}
  641. \t\t\t\t\t\t\t\t{% set data_tarif = unserialize(page.tarifs) %}
  642. \t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon\">
  643. \t\t\t\t\t\t\t\t\t{% for item in data_tarif %}
  644. \t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_title\"><span class=\"title\">{{item.globalTitle}}</span> <span class=\"icon-plus\"></span></div>
  645. \t\t\t\t\t\t\t\t\t\t{% if item.tables is not empty %}
  646. \t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_accordeon_content\">
  647. \t\t\t\t\t\t\t\t\t\t\t\t{% for tab in item.tables %}
  648. \t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarifs_tab\">
  649. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_title\">{{tab.tableTitle}}</div>
  650. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab.tableDescription is defined and tab.tableDescription is not empty %}
  651. \t\t\t\t\t\t\t\t\t\t\t\t\t \t<div class=\"tarif_tab_description\">{{tab.tableDescription}}</div>
  652. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  653. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_content\">
  654. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% if tab.rows is defined and tab.rows is not empty %}
  655. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% for row_item in tab.rows %}
  656. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line\">
  657. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_title\">{{row_item.titre}}</div>
  658. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_subtitle\">{{row_item.sousTitre}}</div>
  659. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<div class=\"tarif_tab_line_price\">{{row_item.price}}</div>
  660. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  661. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  662. \t\t\t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  663. \t\t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  664. \t\t\t\t\t\t\t\t\t\t\t\t\t</div>
  665. \t\t\t\t\t\t\t\t\t\t\t\t{% endfor %}
  666. \t\t\t\t\t\t\t\t\t\t\t</div>
  667. \t\t\t\t\t\t\t\t\t\t{% endif %}
  668. \t\t\t\t\t\t\t\t\t{% endfor %}
  669. \t\t\t\t\t\t\t\t</div>
  670. \t\t\t\t\t\t\t{% endif %}
  671. \t\t\t\t\t\t\t{% if page.typelien != 1 %}
  672. \t\t\t\t\t\t\t\t{% if page.typelien == '4' %}
  673. \t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
  674. \t\t\t\t\t\t\t\t\t\t<a href=\"tel:{{page.telephone}}\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">{{page.titrelien}}</a>
  675. \t\t\t\t\t\t\t\t\t</div>
  676. \t\t\t\t\t\t\t\t{% elseif page.typelien == '2' %}
  677. \t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
  678. \t\t\t\t\t\t\t\t\t\t<a href=\"{{resolveInternalSlugLink(page.lieninterne)}}\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">{{page.titrelien}}</a>
  679. \t\t\t\t\t\t\t\t\t</div>
  680. \t\t\t\t\t\t\t\t{% elseif page.typelien == '3' %}
  681. \t\t\t\t\t\t\t\t\t<div class=\"text-center py-2\">
  682. \t\t\t\t\t\t\t\t\t\t<a href=\"{{page.lienexterne}}\" target=\"_blank\" class=\"btn btn-theme py-3 px-5 mt-3 btn-plus\">{{page.titrelien}}</a>
  683. \t\t\t\t\t\t\t\t\t</div>
  684. \t\t\t\t\t\t\t\t{% endif %}
  685. \t\t\t\t\t\t\t{% endif %}
  686. \t\t\t\t\t\t</div>
  687. \t\t\t\t\t\t{% if page.urlvideo is not empty %}
  688. \t\t\t\t\t\t\t<div class=\"col-sm-12\">
  689. \t\t\t\t\t\t\t\t<div class=\"contenu-video\">
  690. \t\t\t\t\t\t\t\t\t{% set id_video_externe = extract_youtube_id(page.urlvideo) %}
  691. \t\t\t\t\t\t\t\t\t<a class=\"video-thumbnail m-0\" href=\"{{page.urlvideo}}\" data-fancybox=\"video\">
  692. \t\t\t\t\t\t\t\t\t\t<img src=\"https://img.youtube.com/vi/{{id_video_externe}}/maxresdefault.jpg\" class=\"img-fluid\" alt=\"youtube vidéo\"/>
  693. \t\t\t\t\t\t\t\t\t</a>
  694. \t\t\t\t\t\t\t\t</div>
  695. \t\t\t\t\t\t\t</div>
  696. \t\t\t\t\t\t{% endif %}
  697. \t\t\t\t\t\t{% if galleries and galleries is not empty and twig_galerie is defined and twig_galerie is not empty %}
  698. \t\t\t\t\t\t\t<div class=\"col-sm-12\">
  699. \t\t\t\t\t\t\t\t{{ include(template_from_string(twig_galerie)) }}
  700. \t\t\t\t\t\t\t</div>
  701. \t\t\t\t\t\t{% endif %}
  702. \t\t\t\t
  703. \t\t\t\t</div>
  704. \t\t\t</div>
  705. \t\t</div>
  706. \t\t{% if blocs is defined %}
  707. \t\t\t{{ include ('theme/'~ app.request.server.get('APP_THEME') ~'/partials/bloc_render.html.twig',{blocs: blocs}, with_context = false)}}
  708. \t\t{% endif %}
  709. \t\t{% if post_associer is defined and post_associer is not empty %}
  710. \t\t\t<div class=\"container-fluid content-wrapper py-5\">
  711. \t\t\t\t<div class=\"row\">
  712. \t\t\t\t\t<div class=\"col-sm-12\">
  713. \t\t\t\t\t\t<h2 class=\"title mb-5\">
  714. \t\t\t\t\t\t\tDécouvrez d'autres articles
  715. \t\t\t\t\t\t</h2>
  716. \t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
  717. \t\t\t\t\t\t\t{% for key,item in post_associer %}
  718. \t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
  719. \t\t\t\t\t\t\t\t\t<div class=\"card\">
  720. \t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
  721. \t\t\t\t\t\t\t\t\t\t\t{% if item.image %}
  722. \t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset_image(item.image,'medium',['1024x/uploads','800x/uploads','800x/uploads'])}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
  723. \t\t\t\t\t\t\t\t\t\t\t{% else %}
  724. \t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset('/uploads/media-site/'~ site_parameters.getParameters().imagevide)}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
  725. \t\t\t\t\t\t\t\t\t\t\t{% endif %}
  726. \t\t\t\t\t\t\t\t\t\t</div>
  727. \t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
  728. \t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
  729. \t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
  730. \t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"{{link}}\">{{item.title}}</a></h3>
  731. \t\t\t\t\t\t\t\t\t\t\t\t{% if item.showresume %}
  732. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.summary) %}
  733. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  734. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.content) %}
  735. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  736. \t\t\t\t\t\t\t\t\t\t\t\t{% if texte_content is not empty %}
  737. \t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">{{texte_content|raw}}</p>
  738. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  739. \t\t\t\t\t\t\t\t\t\t\t</div>
  740. \t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
  741. \t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
  742. \t\t\t\t\t\t\t\t\t\t\t\t{% set titre_lien = item.titlebottonaffichage|default('label.btn_plus'|trans({}, 'textes')) %}
  743. \t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{link}}\" class=\"btn btn-theme\">{{titre_lien}}</a>
  744. \t\t\t\t\t\t\t\t\t\t\t</div>
  745. \t\t\t\t\t\t\t\t\t\t</div>
  746. \t\t\t\t\t\t\t\t\t</div>
  747. \t\t\t\t\t\t\t\t</div>
  748. \t\t\t\t\t\t\t{% endfor %}
  749. \t\t\t\t\t\t</div>
  750. \t\t\t\t\t</div>
  751. \t\t\t\t</div>
  752. \t\t\t</div>
  753. \t\t{% elseif post_aleatoire is defined and post_aleatoire is not empty %}
  754. \t\t\t<div class=\"article-random\">
  755. \t\t\t\t<div class=\"container-fluid content-wrapper\">
  756. \t\t\t\t\t<div class=\"row\">
  757. \t\t\t\t\t\t<div class=\"col-sm-12\">
  758. \t\t\t\t\t\t\t<h2 class=\"title mb-5\">
  759. \t\t\t\t\t\t\t\tDécouvrez d'autres articles
  760. \t\t\t\t\t\t\t</h2>
  761. \t\t\t\t\t\t\t<div class=\"article-list\" data-columns=\"3\" data-style=\"compact\">
  762. \t\t\t\t\t\t\t\t{% for key,item in post_aleatoire %}
  763. \t\t\t\t\t\t\t\t\t<div class=\"col article-item list-item \">
  764. \t\t\t\t\t\t\t\t\t\t<div class=\"card\">
  765. \t\t\t\t\t\t\t\t\t\t\t<div class=\"bx-image\">
  766. \t\t\t\t\t\t\t\t\t\t\t\t{% if item.image %}
  767. \t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset_image(item.image,'medium',['1024x/uploads','800x/uploads','800x/uploads'])}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
  768. \t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  769. \t\t\t\t\t\t\t\t\t\t\t\t\t<img data-src=\"{{asset('/uploads/media-site/'~ site_parameters.getParameters().imagevide)}}\" class=\"card-img-top lazyload\" alt=\"{{item.title}}\">
  770. \t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  771. \t\t\t\t\t\t\t\t\t\t\t</div>
  772. \t\t\t\t\t\t\t\t\t\t\t<div class=\"card-body\">
  773. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"article-content\">
  774. \t\t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
  775. \t\t\t\t\t\t\t\t\t\t\t\t\t<h3 class=\"card-title\"><a href=\"{{link}}\">{{item.title}}</a></h3>
  776. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if item.showresume %}
  777. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.summary) %}
  778. \t\t\t\t\t\t\t\t\t\t\t\t\t{% else %}
  779. \t\t\t\t\t\t\t\t\t\t\t\t\t\t{% set texte_content = cutText(item.content) %}
  780. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  781. \t\t\t\t\t\t\t\t\t\t\t\t\t{% if texte_content is not empty %}
  782. \t\t\t\t\t\t\t\t\t\t\t\t\t\t<p class=\"card-text\">{{texte_content|raw}}</p>
  783. \t\t\t\t\t\t\t\t\t\t\t\t\t{% endif %}
  784. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  785. \t\t\t\t\t\t\t\t\t\t\t\t{% set link = path('page',{slug:item.slug }) %}
  786. \t\t\t\t\t\t\t\t\t\t\t\t<div class=\"action-article\">
  787. \t\t\t\t\t\t\t\t\t\t\t\t\t{% set titre_lien = item.titlebottonaffichage|default('label.btn_plus'|trans({}, 'textes')) %}
  788. \t\t\t\t\t\t\t\t\t\t\t\t\t<a href=\"{{link}}\" class=\"btn btn-theme\">{{titre_lien}}</a>
  789. \t\t\t\t\t\t\t\t\t\t\t\t</div>
  790. \t\t\t\t\t\t\t\t\t\t\t</div>
  791. \t\t\t\t\t\t\t\t\t\t</div>
  792. \t\t\t\t\t\t\t\t\t</div>
  793. \t\t\t\t\t\t\t\t{% endfor %}
  794. \t\t\t\t\t\t\t</div>
  795. \t\t\t\t\t\t</div>
  796. \t\t\t\t\t</div>
  797. \t\t\t\t</div>
  798. \t\t\t</div>
  799. \t\t{% endif %}
  800. \t</div>
  801. {% endblock %}
  802. {% block javascripts %}
  803. \t{{parent()}}
  804. {% endblock %}
  805. ", "theme/default/page_cms.html.twig", "/var/www/vhosts/klean.studiojna.fr/httpdocs/templates/theme/default/page_cms.html.twig");
  806. }
  807. }