Site wide header (currently only used for a link to / but will add
index's for stuff later)
This commit is contained in:
1
views/headers/site_wide.ejs
Normal file
1
views/headers/site_wide.ejs
Normal file
@@ -0,0 +1 @@
|
||||
<a href="/">Home Page</a><br/>
|
@@ -4,6 +4,9 @@
|
||||
<%- include('../partials/head'); %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</div>
|
||||
<div id="comment">
|
||||
<%- include("../partials/comment"); %>
|
||||
</div>
|
||||
|
@@ -4,6 +4,9 @@
|
||||
<%- include('../partials/head'); %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</div>
|
||||
<div id="posts">
|
||||
<%- include('../posts/post'); %>
|
||||
</div>
|
||||
|
@@ -5,6 +5,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
<%- include('../headers/timeline'); %>
|
||||
</div>
|
||||
<div id="posts">
|
||||
|
@@ -5,6 +5,7 @@
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
<%- include('../headers/user'); %>
|
||||
</div>
|
||||
<div id="posts">
|
||||
|
@@ -1,9 +1,12 @@
|
||||
<!DOCTYPE html>
|
||||
<html lang="<%=config.language%>
|
||||
<html lang="<%= config.language %>">
|
||||
<head>
|
||||
<%- include('head') %>
|
||||
</head>
|
||||
<body>
|
||||
<div id="header">
|
||||
<%- include("../headers/site_wide") %>
|
||||
</div>
|
||||
<%- message %>
|
||||
</body>
|
||||
</html>
|
||||
|
Reference in New Issue
Block a user