Site wide header (currently only used for a link to / but will add

index's for stuff later)
This commit is contained in:
2025-08-01 23:27:28 +01:00
parent cdfc5f2c30
commit 5f2aba0c2b
6 changed files with 13 additions and 1 deletions

View File

@@ -0,0 +1 @@
<a href="/">Home Page</a><br/>

View File

@@ -4,6 +4,9 @@
<%- include('../partials/head'); %> <%- include('../partials/head'); %>
</head> </head>
<body> <body>
<div id="header">
<%- include("../headers/site_wide") %>
</div>
<div id="comment"> <div id="comment">
<%- include("../partials/comment"); %> <%- include("../partials/comment"); %>
</div> </div>

View File

@@ -4,6 +4,9 @@
<%- include('../partials/head'); %> <%- include('../partials/head'); %>
</head> </head>
<body> <body>
<div id="header">
<%- include("../headers/site_wide") %>
</div>
<div id="posts"> <div id="posts">
<%- include('../posts/post'); %> <%- include('../posts/post'); %>
</div> </div>

View File

@@ -5,6 +5,7 @@
</head> </head>
<body> <body>
<div id="header"> <div id="header">
<%- include("../headers/site_wide") %>
<%- include('../headers/timeline'); %> <%- include('../headers/timeline'); %>
</div> </div>
<div id="posts"> <div id="posts">

View File

@@ -5,6 +5,7 @@
</head> </head>
<body> <body>
<div id="header"> <div id="header">
<%- include("../headers/site_wide") %>
<%- include('../headers/user'); %> <%- include('../headers/user'); %>
</div> </div>
<div id="posts"> <div id="posts">

View File

@@ -1,9 +1,12 @@
<!DOCTYPE html> <!DOCTYPE html>
<html lang="<%=config.language%> <html lang="<%= config.language %>">
<head> <head>
<%- include('head') %> <%- include('head') %>
</head> </head>
<body> <body>
<div id="header">
<%- include("../headers/site_wide") %>
</div>
<%- message %> <%- message %>
</body> </body>
</html> </html>