mirror of
https://github.com/kremalicious/astro-redirect-from.git
synced 2025-02-14 21:10:35 +01:00
readme updates
This commit is contained in:
parent
977d39e897
commit
5e7b54d781
@ -4,9 +4,8 @@
|
|||||||
|
|
||||||
[](https://www.npmjs.com/package/astro-redirect-from)
|
[](https://www.npmjs.com/package/astro-redirect-from)
|
||||||
[](https://github.com/kremalicious/astro-redirect-from/actions/workflows/ci.yml)
|
[](https://github.com/kremalicious/astro-redirect-from/actions/workflows/ci.yml)
|
||||||
|
[](https://codeclimate.com/github/kremalicious/astro-redirect-from/maintainability)
|
||||||
<!-- [](https://codeclimate.com/github/kremalicious/astro-redirect-from/maintainability)
|
[](https://codeclimate.com/github/kremalicious/astro-redirect-from/test_coverage)
|
||||||
[](https://codeclimate.com/github/kremalicious/astro-redirect-from/test_coverage) -->
|
|
||||||
|
|
||||||
> 🎯 Set redirect urls in your frontmatter within your [Astro](https://astro.build) site's Markdown files. Mimics the behavior of [jekyll-redirect-from](https://github.com/jekyll/jekyll-redirect-from) and [gatsby-redirect-from](https://kremalicious.com/gatsby-redirect-from/).
|
> 🎯 Set redirect urls in your frontmatter within your [Astro](https://astro.build) site's Markdown files. Mimics the behavior of [jekyll-redirect-from](https://github.com/jekyll/jekyll-redirect-from) and [gatsby-redirect-from](https://kremalicious.com/gatsby-redirect-from/).
|
||||||
>
|
>
|
||||||
@ -74,6 +73,8 @@ export default defineConfig({
|
|||||||
|
|
||||||
That's it. Your redirects will be automatically added the next time you run `astro dev` or `astro build`. If any of them have a `redirect_from` field, that is.
|
That's it. Your redirects will be automatically added the next time you run `astro dev` or `astro build`. If any of them have a `redirect_from` field, that is.
|
||||||
|
|
||||||
|
For easy debugging, a `redirect_from.json` is written out into Astro's `cacheDir` setting, which by default is under `node_modules/.astro`.
|
||||||
|
|
||||||
[See Usage](#usage)
|
[See Usage](#usage)
|
||||||
|
|
||||||
### Options
|
### Options
|
||||||
|
Loading…
x
Reference in New Issue
Block a user