From ccf6421596435bc4e26e218c815e7f07ecbcd34f Mon Sep 17 00:00:00 2001 From: Jalil Arfaoui Date: Mon, 30 Jan 2023 23:07:02 +0100 Subject: [PATCH] fix: base path pour gitlab pages --- astro.config.mjs | 3 ++- src/layouts/Layout.astro | 4 ++-- src/pages/index.astro | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/astro.config.mjs b/astro.config.mjs index f51f437..d903832 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -3,5 +3,6 @@ import { defineConfig } from 'astro/config'; // https://astro.build/config export default defineConfig({ publicDir: "./static", - outDir: "./public" + outDir: "./public", + base: "/les-particules-org" }); diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index ee464de..b765653 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -11,11 +11,11 @@ const { title } = Astro.props; - + {title} - + diff --git a/src/pages/index.astro b/src/pages/index.astro index 3651f5f..0cb4aa7 100644 --- a/src/pages/index.astro +++ b/src/pages/index.astro @@ -6,7 +6,7 @@ import Card from '../components/Card.astro';

- Logo + Logo Les particules