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
4 stars 3 forks source link

[frontmatter] Add support for redirect #77

Open ia3andy opened 2 weeks ago

ia3andy commented 2 weeks ago

A page or blog post should allow having a list of alternate url that redirect to the main one.

ia3andy commented 6 days ago

I suppose this consist of reading the data here: https://github.com/quarkiverse/quarkus-roq/blob/main/roq-frontmatter/deployment/src/main/java/io/quarkiverse/roq/frontmatter/deployment/RoqFrontMatterProcessor.java#L109

and if there is a alias data string array, we parse them using Link.link and create a BuildItem in order to generate vertx http redirects.