2017-07-31 11:33:31 +05:30

14 lines
294 B
JavaScript

'use strict'
module.exports = function indexView ({title}) {
return `<html>
<head>
<title> ${title} </title>
<link rel="stylesheet" href="styles.css">
</head>
<body>
<h1> ${title} </h1>
<p> Welcome to ${title} </p>
</body>
</html>`
}