-
-
Notifications
You must be signed in to change notification settings - Fork 144
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
Add possibility to read and parse blog posts from .md files instead of api endpoint #118
Comments
Hey @vmsantos! Hmmm yes this should most definitely be possible. My plan was to eventually add another menu item "Portfolio" which would use exactly that and give users both options out of the box with this theme. We'll have to look into it. We're currently in a big overhaul of the Accessible Astro ecosystem but we'll try to get back to you soon 🙂 |
@vmsantos Could you possibly share your repo so we can take a look at how it's setup? Or could you else provide some code examples here of what you tried. |
This might be related since we updated to Astro 5.0: https://docs.astro.build/en/guides/upgrade-to/v5/#legacy-v20-content-collections-api |
My code is a mess, but the workaround I found was to create an api in astro and deploy it to netlify instead of github pages, because of SSR (output: 'server'): posts.json.ts
` [...page].astro
[post].astro
|
I'm also accepting suggestions on the api/backend part. I didn't want a real backend, but perhaps it is the way to go. I don't know which would be the best language or framework for that (or where to host). |
@vmsantos thanks for the info! We only work on these projects in our spare time and are working on a big update currently so please hang tight 😄 |
No problem! Thanks |
@vmsantos we are done shipping a couple of big updates, we'll look into this soon. We are going to build that portfolio page example first and then see how your story fits in 😄 |
Is it possible? I've been trying to do it but something always breaks
The text was updated successfully, but these errors were encountered: