@@ -10,42 +10,40 @@ export interface Props {
1010}
1111
1212const { title, description } = Astro .props ;
13+ const jsonLd = JSON .stringify ({
14+ " @context" : " https://schema.org" ,
15+ " @type" : " WebSite" ,
16+ " publisher" : {
17+ " @type" : " Organization" ,
18+ " name" : " EuroPython 2025" ,
19+ " url" : " https://ep2025.europython.eu/" ,
20+ " logo" : {
21+ " @type" : " ImageObject" ,
22+ " url" : " https://ep2025.europython.eu/_astro/hero.BAlu7uXS_rd8vG.svg" ,
23+ " width" : 1686 ,
24+ " height" : 888
25+ }
26+ },
27+ " url" : " https://ep2025.europython.eu/" ,
28+ " image" : {
29+ " @type" : " ImageObject" ,
30+ " url" : " https://ep2025.europython.eu/_astro/hero.BAlu7uXS_rd8vG.svg" ,
31+ " width" : 1686 ,
32+ " height" : 888
33+ },
34+ " mainEntityOfPage" : {
35+ " @type" : " WebPage" ,
36+ " @id" : " https://ep2025.europython.eu/"
37+ },
38+ " description" : description
39+ });
1340---
1441
1542<!doctype html >
1643<html lang =" en" >
1744 <head >
1845 <BaseHead title ={ title } description ={ description } />
19-
20- <script type =" application/ld+json" is:inline >
21- {
22- "@context": "https://schema.org",
23- "@type": "WebSite",
24- "publisher": {
25- "@type": "Organization",
26- "name": "EuroPython 2025",
27- "url": "https://ep2025.europython.eu/",
28- "logo": {
29- "@type": "ImageObject",
30- "url": "https://ep2025.europython.eu/_astro/hero.BAlu7uXS_rd8vG.svg",
31- "width": 1686,
32- "height": 888
33- }
34- },
35- "url": "https://ep2025.europython.eu/",
36- "image": {
37- "@type": "ImageObject",
38- "url": "https://ep2025.europython.eu/_astro/hero.BAlu7uXS_rd8vG.svg",
39- "width": 1686,
40- "height": 888
41- },
42- "mainEntityOfPage": {
43- "@type": "WebPage",
44- "@id": "https://ep2025.europython.eu/"
45- },
46- "description": {description}
47- }
48- </script >
46+ <script type =" application/ld+json" is:inline set:html ={ jsonLd } ></script >
4947 </head >
5048
5149 <div class =" flex flex-col items-stretch min-h-screen" >
0 commit comments