boilerplate more
This commit is contained in:
parent
bf77320bc7
commit
ae511a3871
8 changed files with 301 additions and 74 deletions
|
@ -1,5 +1,5 @@
|
|||
<div class="nav">
|
||||
<a class='header-a' href="/"><img class="header-img" src="/icon.svg">DervNet</a>
|
||||
<a class='header-a' href="/"><img class="header-img" src="/icon.svg">Filler1</a>
|
||||
<a class='header-a' href="/"><img class="header-img" src="/icon.svg">Filler2</a>
|
||||
<% for (let headerEnt of headerCtx) { %>
|
||||
<%- include ('vblock.ejs', headerEnt) %>
|
||||
<% } %>
|
||||
</div>
|
|
@ -3,13 +3,13 @@
|
|||
|
||||
<head>
|
||||
<title>DervNet</title>
|
||||
<link rel="stylesheet" href="index.css">
|
||||
<link rel="stylesheet" href="/index.css">
|
||||
<meta charset="UTF-8">
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1">
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<%- include('header.ejs',headerCtx); %>
|
||||
<%- include('header.ejs',{headerCtx}); %>
|
||||
<%- include(mainPage, mainCtx); %>
|
||||
</body>
|
||||
|
||||
|
|
1
views/vblock.ejs
Normal file
1
views/vblock.ejs
Normal file
|
@ -0,0 +1 @@
|
|||
<a class='header-a' href="<%= link %>"><img class="header-img" src="<%= icon %>"><%= name %></a>
|
Loading…
Add table
Add a link
Reference in a new issue