basic layouts and partials for ejs

This commit is contained in:
Nikurasu 2022-10-14 10:26:47 +02:00
parent 603a3d8be2
commit 229e7a7d33
4 changed files with 16 additions and 1 deletions

View file

@ -1 +1,4 @@
<h1>This is a <%= engine %> Template</h1>
<%- include('partials/head') %>
<%- include('partials/header') %>
<h1>This is a <%= engine %> Template</h1>
<%- include('partials/footer') %>

View file

@ -0,0 +1,4 @@
<footer>
<span>This is the Footer</span>
</footer>
</html>

View file

@ -0,0 +1,5 @@
<!DOCTYPE html>
<html>
<head>
</head>

View file

@ -0,0 +1,3 @@
<header>
<span>This is the header</span>
</header>