✨feature: Set up basic layout and styles
This commit is contained in:
@@ -1,12 +1,8 @@
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
<title><%= title %></title>
|
||||
<link rel='stylesheet' href='/stylesheets/style.css' />
|
||||
</head>
|
||||
<body>
|
||||
<h1 class="text-4xl mb-2"><%= title %></h1>
|
||||
<hr class="my-4">
|
||||
<p>Welcome to <%= title %></p>
|
||||
</body>
|
||||
</html>
|
||||
<%- include('header'); -%>
|
||||
|
||||
<article class="container mx-auto py-4">
|
||||
<h2>Welcome to the <%= title %> EJS Template</h2>
|
||||
<p>This is a simple example of using EJS for templating.</p>
|
||||
</article>
|
||||
|
||||
<%- include('footer'); -%>
|
||||
|
||||
Reference in New Issue
Block a user