From d0c95d48c946b7eeba006e572427eeb5b4a54445 Mon Sep 17 00:00:00 2001 From: bitbloxhub <45184892+bitbloxhub@users.noreply.github.com> Date: Sun, 23 Jul 2023 14:52:34 -0700 Subject: [PATCH] improve --- astro.config.mjs | 3 ++- src/components/BlogPost.astro | 5 +++++ 2 files changed, 7 insertions(+), 1 deletion(-) create mode 100644 src/components/BlogPost.astro diff --git a/astro.config.mjs b/astro.config.mjs index 973346f..fe8b8e9 100644 --- a/astro.config.mjs +++ b/astro.config.mjs @@ -14,5 +14,6 @@ export default defineConfig({ ], experimental: { viewTransitions: true - } + }, + trailingSlash: "always" }) diff --git a/src/components/BlogPost.astro b/src/components/BlogPost.astro new file mode 100644 index 0000000..6599946 --- /dev/null +++ b/src/components/BlogPost.astro @@ -0,0 +1,5 @@ +--- +const { title, url } = Astro.props +--- + +
  • {title}
  • \ No newline at end of file