quarkiverse / quarkus-roq

An extension to generate/publish static pages from your Quarkus web-app
https://pages.quarkiverse.io/quarkus-roq/
Apache License 2.0
21 stars 9 forks source link

Change the way we deal with data #117

Closed ia3andy closed 1 month ago

ia3andy commented 1 month ago

Due to an issue with Qute, I had to change the way we deal with data.

From now on, data is available under site.data or page.data.

Some shortcut methods allow to access specific data from site or page:

for NormalPage, we can access paginator (if defined) for DocumentPage, we can also access the collection and the date

This PR also change a bit the way we deal with url making it simpler and more consistant, allowing to call absolute or relative at the end.

ia3andy commented 1 month ago

Yeah me too, it's more type-safe and consistant. I was stuck on keeping it similar to Jekyll

github-actions[bot] commented 1 month ago

🙈 The PR is closed and the preview is expired.