-
@ElMassimo First of all, thank you for this amazing project! You seem to have resolved some issues that the Astro team, with all their many contributors, haven’t yet managed. :) [In fairness, of course, their project is trying to do quite a bit more; but on certain points that are important to me — notably, efficient and quick handling of Markdown and far better support for providing data to RSS and JSON feeds — yours is a better solution.] My question: Does iles expose a repo’s Git data so it can be accessed within pages? Examples of what I mean are in these posts:
Thanks in advance for any such info you may have time to provide! |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi Bryce! @brycewray Glad that you are enjoying îles! There's no "official" approach, but it's something that can be achieved using Modules, as in the case of the documentation website. Using the I've wanted to add a recipes section in the website covering common use cases such as these, but I haven't made time for that yet. Hopefully this gives you a good starting point to implement the use cases you have in mind 😃 |
Beta Was this translation helpful? Give feedback.
Hi Bryce! @brycewray Glad that you are enjoying îles!
There's no "official" approach, but it's something that can be achieved using Modules, as in the case of the documentation website.
Using the
extendFrontmatter
hook, you can inject information from git on each page. You can then easily access that data in the page metadata.I've wanted to add a recipes section in the website covering common use cases such as these, but I haven't made time for that yet. Hopefully this gives you a good starting point to implement the use cases you have in mind 😃