Skip to content

Commit

Permalink
Create template sample
Browse files Browse the repository at this point in the history
  • Loading branch information
LebCit committed Apr 12, 2023
1 parent 3eb53ea commit 2be4c14
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions views/templates/template-file.ejs
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
<!DOCTYPE html>
<html lang="en">
<head>
<%# Metadata %>
<meta charset="UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="A DESCRIPTION OF YOUR EJS TEMPLATE" />

<%# Title %>
<title>Blog-Doc | THE TITLE OF YOUR EJS TEMPLATE</title>

<%# Pure.css %>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss/build/pure-min.min.css" />
<%# Pure.css grids. Not necessary if you don't want to use it ! %>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/purecss@3.0.0/build/grids-responsive-min.css" />
<link rel="shortcut icon" href="/icons/favicon.ico" type="image/x-icon" />
<link rel="stylesheet" href="/css/styles.min.css" />
</head>
<body>
<div id="layout">
<%- include('../components/menu') %>
<div id="main">
<%# Page header %>
<div class="header">
<h1>THE TITLE OF YOUR EJS TEMPLATE</h1>
<h2>A DESCRIPTION OF YOUR EJS TEMPLATE</h2>
</div>
<%# Page content %>
<div class="content">
THE CONTENT OF YOUR EJS TEMPLATE
<br />
YOU CAN USE PLAIN HTML INSIDE AN EJS FILE
</div>
</div>
</div>
<%- include('../components/footer') %>
</body>
</html>

0 comments on commit 2be4c14

Please sign in to comment.