Quarkus Roq FrontMatter
Quarkus Roq FrontMatter is a Quarkus extension that create a website from your Markdown/Asciidoc/Html pages using FrontMatter headers (url, layout, seo, data).
The documentation is available in the Roq website.
Roq FrontMatter is already included as part of the Roq Static Site Generator extension io.quarkiverse.roq:quarkus-roq , Follow Standalone installation section to use it standalone.
|
Standalone installation
It is included as part of the Roq Static Site Generator extension io.quarkiverse.roq:quarkus-roq . You can also use it standalone.
|
If you want to use this extension standalone, you need to add the io.quarkiverse.roq:quarkus-roq-frontmatter
extension first to your build file.
For instance, with Maven, add the following dependency to your POM file:
<dependency>
<groupId>io.quarkiverse.roq</groupId>
<artifactId>quarkus-roq-frontmatter</artifactId>
<version>1.0.8</version>
</dependency>
Extension Configuration Reference
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
---|---|---|
The root path of your site (e.g. /blog) relative the quarkus http root path. This is to be used only when the site is living next to a Quarkus application. Use Environment variable: |
string |
|
the base hostname & protocol for your site, e.g. http://example.com Environment variable: |
string |
|
The order of the route which handles the templates. <p> By default, the route is executed before the default routes (static resources, etc.). Environment variable: |
int |
|
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
---|---|---|
The ignored files in the Roq site directory (you can use glob expressions). Environment variable: |
list of string |
|
The files to use as raw templates (n the Roq site directory (you can use glob expressions)), Environment variable: |
list of string |
|
Files to serve as static in the Roq site directory (you can use glob expressions) Environment variable: |
list of string |
|
The directory containing layouts in the Roq site directory (dir name). Environment variable: |
string |
|
When enabled it will select all FrontMatter pages in Roq Generator Environment variable: |
boolean |
|
Show future pages Environment variable: |
boolean |
|
The public path containing pages and posts images (relative to the site path) Environment variable: |
string |
|
This will be used to replace Environment variable: |
string |
|
Show draft pages Environment variable: |
boolean |
|
Format for dates Environment variable: |
string |
|
The default timezone Environment variable: |
string |
|
If this collection is enabled Environment variable: |
boolean |
|
If true, the collection won’t be available on path but consumable as data. Environment variable: |
boolean |
|