-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
if use this one ,how to deal with .md blog #8
Comments
@wanghaisheng this library does not support markdown in the I encourage you to separate your markdown content from your astro pages that have the styling and logic. Instead, for markdown, I recommend using Astro with its Content Collections:
Here’s an example project structure:
That way, all your posts are organized with all your languages, and you have a single blog page to list posts and individual page for each post. Then, you can use your So all your locales will use the same astro template, even with a default locale. Let me know if you have any questions! I will update the README with this information too. |
@wanghaisheng updated the docs! Hope that helps—let me know if you have any questions |
I finally get that we must put blog content under each language folder? └── astro-project/ |
can you show a example for this |
Here is an example using the blog template from astro with this library Not everything is translated, but it gives an example with Content Collections. Please upgrade your |
from doc, i clearly understand how to use for .astro files,but it was confused for me about .md
The text was updated successfully, but these errors were encountered: