Created
October 25, 2018 21:45
-
-
Save kristoferjoseph/f8477f6a1008383f67a2ced89053afb6 to your computer and use it in GitHub Desktop.
Example layout file for arc-example-views
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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