Sam Hermes · Oct 11, 2025
Share layout files between markdown and astro files in Astro
0Sign in to vote or save
This page did not load. You can still read it on the original site — the toolbar below keeps your place in the directory.
As I migrated my site to Astro, one issue that came up was how to handle the flow of metadata when there are multiple types of file formats. Mainly, markdown stores data in a different way from .astro files. It’s really nice to be able to mix and match these, but the pages that are generated are visually similar. So, separating them based on file type seemed wasteful. I tried a couple of…
Comments
Nothing yet. Say the first thing.
Sign in to join the conversation.