From a47d7f6fcb8d30b5519b8cc3d81fb2d147395a31 Mon Sep 17 00:00:00 2001 From: prototypa Date: Wed, 1 Feb 2023 16:44:56 -0500 Subject: [PATCH] Downgrade Astro to 2.0.2: styles bad in 2.0.4 --- package.json | 10 +++++----- src/components/blog/SinglePost.astro | 2 +- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/package.json b/package.json index 5d0576adbd..776a1653b5 100644 --- a/package.json +++ b/package.json @@ -14,19 +14,19 @@ "subfont": "subfont -ir --no-fallbacks --silent --root dist" }, "devDependencies": { - "@astrojs/image": "^0.13.1", - "@astrojs/mdx": "^0.15.2", + "@astrojs/image": "0.13.0", + "@astrojs/mdx": "^0.15.0", "@astrojs/partytown": "^1.0.3", "@astrojs/rss": "^2.1.0", - "@astrojs/sitemap": "^1.0.1", - "@astrojs/tailwind": "^3.0.1", + "@astrojs/sitemap": "^1.0.0", + "@astrojs/tailwind": "3.0.0", "@astrolib/analytics": "^0.3.0", "@astrolib/seo": "^0.3.0", "@fontsource/inter": "^4.5.15", "@tailwindcss/typography": "^0.5.9", "@typescript-eslint/eslint-plugin": "^5.50.0", "@typescript-eslint/parser": "^5.50.0", - "astro": "^2.0.4", + "astro": "2.0.2", "astro-compress": "1.1.28", "astro-icon": "^0.8.0", "eslint": "^8.33.0", diff --git a/src/components/blog/SinglePost.astro b/src/components/blog/SinglePost.astro index cf1559b53b..e0d306a263 100644 --- a/src/components/blog/SinglePost.astro +++ b/src/components/blog/SinglePost.astro @@ -36,7 +36,7 @@ const { post, url } = Astro.props; ) } - {' '}·{' '}{post.readingTime} min read + {post.readingTime && <> · {post.readingTime} min read}