How to get a list to all markdown pages? #443
-
Do I need a worker to it? the data should be static already so I'm thinking of some API that will be used to get them Basically, I need to create a blog of articles defined in markdown, and the index will contain a list to all of them, I will get their title, image, author and date |
Beta Was this translation helpful? Give feedback.
Replies: 3 comments 1 reply
-
I think we can make use of the ksp plugin to generate such thing |
Beta Was this translation helpful? Give feedback.
-
Apologies for missing your question until now! I saw you found the relevant bug, which is good! But the current workaround is to create a Gradle task. You can look at what I'm doing here: https://github.com/bitspittle/bitspittle.dev/blob/7ec7a4a9e89ee2b41974b0843a90688bb0a9605c/site/build.gradle.kts#L104 which I use for generating this page here: https://bitspittle.dev/blog/ |
Beta Was this translation helpful? Give feedback.
-
Thank you so much @bitspittle I've already resolved it and using at least 4 gradle tasks to generate the following:
and it was a great fun :) thank you for pointing me to the right direction |
Beta Was this translation helpful? Give feedback.
Apologies for missing your question until now!
I saw you found the relevant bug, which is good! But the current workaround is to create a Gradle task. You can look at what I'm doing here: https://github.com/bitspittle/bitspittle.dev/blob/7ec7a4a9e89ee2b41974b0843a90688bb0a9605c/site/build.gradle.kts#L104
which I use for generating this page here: https://bitspittle.dev/blog/