diff --git a/lib/index.coffee b/lib/index.coffee index 22ada66..4d4bbb0 100644 --- a/lib/index.coffee +++ b/lib/index.coffee @@ -135,7 +135,9 @@ module.exports = (opts) -> ### set_locals = (types) -> - W.map types, (t) => @roots.config.locals.contentful[t.name] = t.content + W.map types, (t) => + @roots.config.locals.contentful[t.name] = t.content + @roots.config.locals._path = undefined ###* * Compiles single entry views for content types