DEV Community

Robert Rees
Robert Rees

Posted on

Notes on switching between Cobalt and Jekyll

Cobalt aims to be mostly compatible with Jekyll, I think to provide an easy pathway for larger complicated sites to migrate to a faster generator.

This post covers the other path from a Cobalt site to Jekyll.

The key changes were to layouts.

  • The remove the extension from the layout identifier
  • Remove quotes from include tags
  • page.content is the raw content just content does the Markdown transformation
  • Draft content should be within a _drafts folder rather than marked with a flag

Top comments (0)