From acf8dd1d4979c0a56d95cd3723e37dd8e25e0a43 Mon Sep 17 00:00:00 2001 From: "duck.lol" <140205571+ducklol2@users.noreply.github.com> Date: Tue, 11 Mar 2025 10:17:50 +0100 Subject: [PATCH] Remove trailing spaces from blog example links. (#13389) A formatter introduced newlines inside the anchor tags on the blog example's home `index.astro` page, causing the link to include a trailing space. Not the worst thing, just looks a little unpolished compared to everything else I've experienced getting to know Astro :) I've put the anchor tags on their own lines to avoid this issue, _and_ prevent future formatters from re-introducing the issue (tested with Astro extension's formatter, at least). Ran the example locally (`cd examples/blog && npm run dev`) and it fixes the issue. Co-authored-by: Matt Kane --- examples/blog/src/pages/index.astro | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/examples/blog/src/pages/index.astro b/examples/blog/src/pages/index.astro index 31269efde0..6d7c4caed5 100644 --- a/examples/blog/src/pages/index.astro +++ b/examples/blog/src/pages/index.astro @@ -34,15 +34,14 @@ import { SITE_TITLE, SITE_DESCRIPTION } from '../consts';
  • Customize the blog post page layout in src/layouts/BlogPost.astro
  • - Have fun! If you get stuck, remember to read the docs - or join us on Discord to ask questions. + Have fun! If you get stuck, remember to + read the docs + or join us on Discord to ask questions.

    - Looking for a blog template with a bit more personality? Check out astro-blog-template - by Maxi Ferreira. + Looking for a blog template with a bit more personality? Check out + astro-blog-template + by Maxi Ferreira.