Skip to content
This repository has been archived by the owner on Jun 25, 2020. It is now read-only.

Jekyll differences

Jérémie Bertrand edited this page Sep 28, 2019 · 8 revisions

Although based on Jekyll, Pretzel has some differences with it and some limitations.

Collections

Pretzel doesn't have collections, but it has DirectoryPages

Razor

Pretzel support Razor based syntax in addition to liquid: use --template=razor or --t=razor

LESS

Pretzel support LESS by default (and soon SASS)

Permalink

Permalinks have some additional options

Syntax Highlighting

Pretzel does not use Rouge for syntax highlighting

Data Files

Data Files are supported but currently there is one limitation regarding CSV & TSV files: if there is only one record in the file it is treated as an object, so the notion mentioned over at jekyll does not work as expected.
But there is no limitations for json & yml.