Scaffold Docker-only Node 24 + TypeScript EJS web backend
This commit is contained in:
20
views/index.ejs
Normal file
20
views/index.ejs
Normal file
@@ -0,0 +1,20 @@
|
||||
<!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/style.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>
|
||||
Reference in New Issue
Block a user