From d445027b68c80c39029bbcc316cc2ab7432e1c70 Mon Sep 17 00:00:00 2001 From: Chom <112128328+tomasohCHOM@users.noreply.github.com> Date: Tue, 17 Sep 2024 09:28:39 -0700 Subject: [PATCH] fix: white space issue --- .prettierrc.mjs | 3 +- src/layouts/Layout.astro | 2 +- src/pages/sp24.astro | 74 ++++++++++++++++++++-------------------- 3 files changed, 40 insertions(+), 39 deletions(-) diff --git a/.prettierrc.mjs b/.prettierrc.mjs index 4489e17..9ae1441 100644 --- a/.prettierrc.mjs +++ b/.prettierrc.mjs @@ -1,5 +1,6 @@ /** @type {import("prettier").Config} */ export default { plugins: ["prettier-plugin-astro"], - htmlWhitespaceSensitivity: "strict", + htmlWhitespaceSensitivity: "css", + singleQuote: "false", }; diff --git a/src/layouts/Layout.astro b/src/layouts/Layout.astro index 94813e1..2856268 100644 --- a/src/layouts/Layout.astro +++ b/src/layouts/Layout.astro @@ -12,7 +12,7 @@ const { title } = Astro.props; - +
- - {contributor.frontmatter.name}: - {" "} - {contributor.frontmatter.message} -
+ + + {contributor.frontmatter.name}: + + {contributor.frontmatter.message}