middleman/middleman — Issue #246: middleman 3.0.0.beta.1 not building alternative templates
Author: aesop1
Created: 2012-01-23 16:14:01+00:00
State: open

In middleman 2 I could build:

1. One set of pages using template.html.slim and layout/template_layout.slim (basic middleman output that works using middleman server)

2. An additional set of pages using templates/template.modt.slim and the same layout above (this set includes some CMS output variables via the alternative template)

After using middleman 3.x beta 1, however, I can't build the alternative templates, I just see an error (no specifics are given and nothing is output to the build folder). If I run these using "middleman server" (I've added the "modt" mime type in config.rb) it appears I'm getting a slim error on the frontmatter (which only points to the layout):

Slim::Parser::SyntaxError at /templates/MainTemplate.modt
Unknown line indicator /Users/mathel/Documents/work/clientx/modx22-pl2/source/templates/MainTemplate.modt.slim, Line 1 :::slim ^

Clues?