Skip to content

Instantly share code, notes, and snippets.

@kristoferjoseph
Created October 25, 2018 21:45
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kristoferjoseph/f8477f6a1008383f67a2ced89053afb6 to your computer and use it in GitHub Desktop.
Save kristoferjoseph/f8477f6a1008383f67a2ced89053afb6 to your computer and use it in GitHub Desktop.
Example layout file for arc-example-views
module.exports = function Layout (props) {
props = props || {}
let heading = props.heading || 'Architect views!'
return `
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>Architect example</title>
</head>
<body>
<h1>${heading}</h1>
</body>
</html>
`
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment