JavaDominicano / conference

Contents behind the https://jconfdominicana.org web site
4 stars 7 forks source link
conference html java jbake

conference

Contents behind the https://jconfdominicana.org web site.

This site is baked with JBake, a static site generator. The idea behind JBake is very simple: contents is written using a markup language and "baked" with template engines into actual HTML. Everything is generated statically and you can upload the generated site wherever you want.

How to contribute

There are a few guidelines that we need contributors to follow so that we can have a chance of keeping on top of things.

Prerequisites

Getting Started

Example:

git clone https://github.com/JavaDominicano/conference.git
cd conference

Exploring the project structure

The directory src/jbake contains the classic JBake folder contents:

src
 |-- jbake
       |-- assets    : static assets (images, css, ...)
       |-- content   : blog posts, ...
       |-- templates : HTML templates (by default, uses FreeMarker, but we are using Thymeleaf)

To do any change, you have to explore JBake and Thymeleaf a template engine for Java.

Layouts configuration

Other properties configuration

Generating the output

You can generate the site by running the following command:

./gradlew -i jbake

After the rendering step, you should now have a new directory:

build
  |-- jbake

Into which you will find the generated HTML contents.

Running the site

./gradlew bakePreview

Browse to http://localhost:8080

Submitting Changes

Additional Resources

Contributors

Contributors