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.8.0</version>
</dependency>
Extension Configuration Reference
Configuration property fixed at build time - All other configuration properties are overridable at runtime
Configuration property |
Type |
Default |
---|---|---|
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 |
|
Add new ignored files to the default list. The ignored files (relative to the site directory). Only the Environment variable: |
list of string |
|
The default ignored files (relative to the site directory) include:
Only the Environment variable: |
list of string |
|
Pages whose content should be escaped— i.e., included in Qute rendering but not parsed for Qute expressions. This is based on the page’s relative path from the content directory. This applies only to pages (not layouts or partials). Supports glob expressions. Environment variable: |
list of string |
|
The layout to use for normal html pages if not specified in FM. When empty, the page will not use a layout when it doesn’t specify it in FM. ":theme/" is removed if no theme is defined. Environment variable: |
string |
|
The directory which contains content (pages and collections) in the Roq site directory. Environment variable: |
string |
|
The directory (dir name) which contains static files to be served (with 'static/' prefix). Environment variable: |
string |
|
The directory which contains public static files to be served without processing (dir name) Environment variable: |
string |
|
The path containing static images (in the public directory) Environment variable: |
string |
|
When enabled it will select all FrontMatter pages in Roq Generator Environment variable: |
boolean |
|
Show future documents Environment variable: |
boolean |
|
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 |
|
Indicates whether file names in the public directory and files attached to pages should be slugified (converted to a URL-friendly format). When enabled, file names will automatically be transformed into a URL-safe format. Additionally, Environment variable: |
boolean |
|
If this collection is enabled Environment variable: |
boolean |
|
Show future documents (overrides global future for this collection) Environment variable: |
boolean |
|
If true, the collection won’t be available on path but consumable as data. Environment variable: |
boolean |
|
The layout to use if not specified in FM data. When empty, the document will not use a layout when it doesn’t specify it in FM. ":theme/" is removed if no theme defined. Environment variable: |
string |
|
READ CAREFULLY: Environment variable: |
string |