Files
plainpages/views/index.ejs

21 lines
596 B
Plaintext

<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1" />
<title><%= title %></title>
<link rel="stylesheet" href="/public/css/styles.css" />
<link rel="icon" href="/public/favicon.svg" />
</head>
<body>
<%- include("partials/header", { title }) %>
<main>
<h1>Welcome to <%= title %></h1>
<p>A plain, server-rendered page. Edit <code>views/index.ejs</code> to change it.</p>
</main>
<footer>
<p>Served with Node.js + EJS.</p>
</footer>
</body>
</html>