Skip to content
Enables a 'plain' layout to be selected by query parameter, useful for ajax
JavaScript
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
package.json
plain-layout.js
readme.md

readme.md

You will need to have a block similar to this in your theme's package.json:

"plain": {
  "layout": {
    "template": "plain.html",
    "sections": {
      "body" : {"template": "body.html"}
    }
  }
},

You will also need to have a file, plain.html, in your theme's templates directory. It should have only this as the file contents:

<%- body %>
Something went wrong with that request. Please try again.