#withastro

2025-11-27

New blog post: “Conditional JSX in Astro”.

blog.kizu.dev/conditional-jsx-

This is me documenting the way I am handling some of the more complex conditional rendering in Astro’s JSX. Well, not strictly _JSX_ — but its “Component Template” part of `.astro` components and assigning them to variables.

#withAstro #AstroJS

Grégoire Locquevilleglocq@mathstodon.xyz
2025-10-28

Anyone using #WithAstro willing to help a noob?

I am setting up a website with two pages A.mdx and B.mdx. I want to put a link to page B on page A. But of course I don't want to hardcode the whole site's URL, I want to put a relative link.

I tried to use Astro.url from page A, but the Astro context object is only available in .astro files. I was thinking I could inject the URL base path into the page from outside of it, but it doesn't actually seem possible to inject data into mdx files?

How would you go about putting relative links in your pages?

2025-09-11

I migrated my website from Jekyll to Astro over a year and a half ago. Here's how it went.

tommyoldfield.co.uk/blog/migra

Reun MediaReunMedia
2025-07-15

Our second @astro integration is available in Astro integrations library.

It's a simple utility that handles trailing slashes in URLs when using trailingSlash config option.

Check it out at github.com/ReunMedia/astro-nor

blackspike designblackspike@mastodon.cloud
2025-07-11

Any Astro devs curious about Nuxt 4?

We've been itching to try out the alpha, so we recreated our blackspike Astro theme to Nuxt and blogged about the process.

blackspike.com/blog/converting

#nuxt #nuxt4 #astro #withastro @astro @nuxt

Chris Gioran 💔chrisg@fosstodon.org
2025-02-25

Hey, #withastro users,

Are there any best practices, guides or similar on build setups for combining multiple astro projects in one?

I have a website with a main page (radiki.dev)

a blog (radiki.dev/blog)

and multiple subprojects ( radiki.dev/project1, radiki.dev/project2 etc)

All these share some components and CSS, but they also have their own.

I guess I can make do with Makefiles or shell scripts, I was just wondering if there is a more idiomatic solution.

#astrojs #webdev

Chris Praßcprass
2025-02-06

prass.tech/blog/upgrading-astr

Upgrading to Astro 5 has not been effortlessly but it was a good upgrade experience nonetheless. For a blog as small as mine the changes were minimal.

Sabine Emden has moved.sabineemden@mastodon.online
2024-12-10

I upgraded my personal website to Astro v5! 🥳

The upgrade didn't break anything on my site. I converted my content collections to the new Content Layer API anyway and updated the Typescript configuration.

Switching my content collections to the Content Layer API briefly changed the dynamic routes for my notes and articles. However, the issue magically fixed itself, probably by me restarting the dev server. Everything else went smoothly!

#withAstro #AstroJS

@felixthehat has movedfelixthehat@mastodon.cloud
2024-11-20

added a lightbox component to my blog using glightbox and tested it out with some photos from a trip to the Sali Pazari market in #istanbul yesterday. seems to work well! #withastro @astro

felix.gripe/blog/sali-pazari/

github.com/biati-digital/gligh

2024-10-03

Blogged: Launching the GitHub Discussions Blog Loader for Astro.

If you read my last post on creating a GitHub Discussions powered blog and felt like giving it a go, then I’ve just made it a heck of a lot easier for you 😁

mattbrailsford.dev/launching-t

#astro #withastro

blackspike designblackspike@mastodon.cloud
2024-09-21

Blogged: A client needed to show different currencies and prices depending on the region they were visiting from. Here's how we used Cloudflare and Astro server islands to do that #withastro #Cloudflare #astrojs @astro @cloudflare
blackspike.com/blog/astro-serv

2024-08-24

🚀 Just published a new blog post: My Experience with Astro! 🌌

We recently transitioned from Next.js to Astro at our agency, focusing on SEO and performance. I discuss the shift, rediscovering vanilla JavaScript, and how Astro's server-side rendering has improved our projects.

giannistolou.gr/blog/my-experi

#withastro

2024-05-07

If, like me, you've been using the Zed editor #withastro — you'll be happy to know the language server is now working properly in @astro templates. 🎉 So you'll now get all those nice code actions and completions, leveraging your nicely typed content collections. Yasss.

//thanks: @erika for the fix 👏🏼

Sreenshot of the Zed editor showing a code action in an Astro template.
2024-05-02

ICYMI: @astro is holding our very first in-person launch event in #montreal and you're invited!

**Let's build the web we want, together **#withastro.

Free food, drinks, and Astro merch (lovingly designed by yours truly). While the event will not be streamed, we'll be making the announcements with a published video after the fact.

Can't wait to meet you in Montreal! 🎉

🎟️ lu.ma/astro-together-meetup-20

2024-04-09

Now that I actually have a place to blog again, posting some updates on recent adventures #withastro distresssignal.org/astro-dev-t

2024-03-25

If you're mixing both MDX and MD when building #withastro this is a nice way to normalize your template props:

Code block to normalize props across content types in Astro.
2024-03-25

I wrote about configuring @astro to use #LightningCSS, the #Rust #CSS parser in #MozillaFirefox, to handle all the CSS things. It's actually pretty simple. And fast 😉

#WithAstro @frontend

spencerrhodes.dev/blog/astro-l

2024-02-15

Zed pre-release v0.123.1 is out 🎉 and it adds support for @astro If you like your text editors 'blazingly-fast' 🦅, and you build #withastro have a look: github.com/zed-industries/zed/

2024-02-13

Adding my standard tailwind-breakpoints component (a dumb little widget to display the current viewport-size-as-Tailwind-class) as a proper @astro dev-toolbar app.

I think the dev toolbar is a pretty rad idea. If you haven't checked it out yet, and you build #withastro have a look: docs.astro.build/en/reference/

Client Info

Server: https://mastodon.social
Version: 2025.07
Repository: https://github.com/cyevgeniy/lmst