Skip to main content

Grain

Grain is a wide-purpose static website generator for Groovy / Gradle.

Features

  • Live preview to make and see changes on the fly
  • Embedded Groovy code processing for content files and templates
  • Resource URL mapping to dynamically create pages or rewrite URLs
  • Template nesting and tag libraries for DRY code

Supports

  • Markdown, reStructuredText and AsciiDoc
  • Python Pygments code highlighting
  • SASS / SCSS stylesheets
  • Source compression and minification

Comes with

  • Bootstrap themes and examples for easy start
  • Gradle plugin for integration with existing projects