This demonstrates how to build a single page using Hugo from the given configuration config.toml
.
Run mvn package
.
Now you should have all those resources on the one hand inside target/generated-resources/hugo/...
but also in your resulting JAR and by this available in your classpath at public/...
.
Config | Output | in JAR |
---|---|---|
config.toml |
target/generated-resources/hugo/ |
public/ |
Please see pom.xml
for details how this is being configured.