Explorar el Código

json-ld correct

kevin tessier hace 6 años
padre
commit
fa7316cc2d
Se han modificado 1 ficheros con 2 adiciones y 1 borrados
  1. 2 1
      user/themes/lecampus/templates/partials/cal-event.html.twig

+ 2 - 1
user/themes/lecampus/templates/partials/cal-event.html.twig

@@ -1,9 +1,10 @@
+
 <script type='application/ld+json'>
 {
   "@type": "Event",
   "name": "agenda",
   "url": "{{uri.base}}",
-  "description": "{{page.summary|striptags}}",
+  "description": "{{page.header.metadata.description}}",
   "startDate": "{{page.header.date_begin}}",
   "endDate": "{{page.header.date_end}}",
   "location": {