'use strict';

/**
 * Set the layout to use
 */

module.exports = function layout(file, next) {
  file.layout = file.layout || file.locals.layout || file.options.layout;
  next();
};

@@ -67,23 +67,16 @@
 function
- layout
 (file, n
@@ -105,24 +105,52 @@
  file.layout
+%0A    %7C%7C file.data.layout%0A   
  %7C%7C file.loc
@@ -159,16 +159,20 @@
 s.layout
+%0A   
  %7C%7C file

check `file.data` for layouts