You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PatrickJ — Today at 10:46 AM
I'm a bit new to authoring content in markdown. I wonder how you guys ensure that redirects are made when changing slugs or folders of the content? Typically CMS can handle making those redirects but it seems a bit painful and manual with markdown. Are out there any tools that make that easier? I don't believe Astro has anything built in for it, right? I was thinking about Github action that gives heads up about changed urls?
Fryuni (Luiz Ferraz) — Today at 10:56 AM
You can get the history of renames from your git history and generate the redirects configuration
Interesting idea to publish as an integration or at least as a Starlight plugin... git diff --stat=200 --diff-filter=R <COMMIT> src/content/<collectionName>
Will give you an output like this:
From Discord conversation
The text was updated successfully, but these errors were encountered: