Skip to content

Features

Pawan Dubey edited this page Jul 8, 2015 · 1 revision

Griffin is not just fast, but also smart. It makes use of sensible defaults and opinionated settings to make the process seamless for the end user. Here are a list of its features.

Speed

Griffin, as already discussed, is blazing fast. Thousands of pages of content render in under 10 seconds. This, even though it is running on the JVM, and includes its warmup time. See the speed demo at: https://asciinema.org/a/5z2srcn3f5j3cl0jnhganou5m

Ease of use

Griffin has just three main commands to do everything. Everything else is upon your choice. You write your posts in markdown, you generate html, you preview generated html. That is the scope of Griffin's work. It does not intrude in the user's choice of text editor or deployment strategy.

Taxonomy

Griffin has support for tags as the taxonomical unit. Each post and page can have a list of tags. And each tag gets its own index page with all the posts under it. So you have tagging support out of the box. Griffin does not support the WordPress equivalent of categories. Because when you put a post inside a folder, it automatically assumes it's heirarchy. The rendering of tag-based indexes and URLs can be toggled in the config file.

Social Media and Disqus Support

Griffin has built-in support for social media links to Facebook, Twitter, GitHub, StackOverflow, Google+. It also has inbuilt feild for Disqus shortcode for easily integrating your own Disqus comments section. See Configuration.

Live Preview

Griffin includes an embedded Undertow server for live-previewing your site. Undertow is one of the fastest production ready, yet small servers around. So you get speed and lightness, all in one.

Pagination

Griffin has pagination support for index pages built in, with proper previous/next page support. You can specify the number of posts each index page will contain in the config.toml file.

Themes

Griffin has easy theming using handlebars.java, which is similar to the widely popular handlebars.js templating engine. Find out more in our Theming Guide.

Syntax Highlighting

Griffin has support for syntax highlighting with fenced code blocs and language specification using highlight.js as of now. It supports over 125 languages and 63 styles.

Per-post Featured Images

Each post and page can have its own featured image.

Open Source license + Java

Well, not really a feature, but always good to have ;)