/nextflow-website

Fork of the Nextflow public web site

Primary LanguageHTML

Nextflow web site

https://nextflow.io is a static web site. Pages are generated by using JBake.

Jbake configuration is controlled by file jbake.properties.

Content

Web site content is provided either with Markdown or HTML text file in the folder content. Each content file declares a type property that defines the template to be used. The following type are used :

Page Type Template
Normal page page.ftl
Index index index.ftl
Blog - archive.ftl (blog.html)
Podcasts - podcasts.ftl (podcasts.html)
Blog posts post post.ftl
Podcast post podcast.ftl

Template are contained in the folder templates. To add a custom template add an entry in the jbake.properties file as shown here: template.<type>.file=<type>.ftl.

Testing locally

Generate the web site pages entering the command: ./jbake and the resulting html are placed in the folder output.

Launch the local web sever to test the result by entering the command: ./jbake -s

Note that the jbake command included in this repo is a docker command wrapper.