fix: base path pour gitlab pages

main
Jalil Arfaoui 2023-01-30 23:12:40 +01:00
parent ccf6421596
commit 88b9cf88e1
2 changed files with 2 additions and 2 deletions

View File

@ -15,7 +15,7 @@ const { title } = Astro.props;
<meta name="generator" content={Astro.generator} /> <meta name="generator" content={Astro.generator} />
<title>{title}</title> <title>{title}</title>
</head> </head>
<body style="background-image: url('${import.meta.env.BASE_URL}/logo_les-particules_orange.jpg'); min-height:100%"> <body style="background-image: url('./logo_les-particules_orange.jpg'); min-height:100%">
<slot /> <slot />
</body> </body>
</html> </html>

View File

@ -5,7 +5,7 @@ import Card from '../components/Card.astro';
<Layout title="Welcome to Astro."> <Layout title="Welcome to Astro.">
<main> <main>
<h1 style="a"> <h1>
<img alt="Logo" src="./logo_les-particules_noir.jpg" style="width:80px; vertical-align: middle" /> <img alt="Logo" src="./logo_les-particules_noir.jpg" style="width:80px; vertical-align: middle" />
Les particules Les particules
</h1> </h1>