2023-10-25 21:48:36 +00:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8" />
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/index.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/theme.css" />
|
|
|
|
<link rel="stylesheet" type="text/css" href="/css/blog-list.css" />
|
|
|
|
<script src="/js/generic.js"></script>
|
|
|
|
<title><%= website_name %> | Home</title>
|
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<%- include("partials/header.ejs", {selected: 'home'}) %>
|
|
|
|
|
|
|
|
<div class="page">
|
2023-11-08 10:08:40 +00:00
|
|
|
<%if(logged_in_user) {%> <%- include("partials/blog-admin.ejs") %> <%}%>
|
2023-12-30 23:45:44 +00:00
|
|
|
<!-- Search area -->
|
|
|
|
<div class="search-area">
|
|
|
|
<input type="text" placeholder="Search..." /><button id="search-btn"><span>Search</span></button>
|
|
|
|
</div>
|
2023-11-08 10:08:40 +00:00
|
|
|
<!-- -->
|
|
|
|
<% for(post of blog_list) { %>
|
|
|
|
<!-- -->
|
|
|
|
<%- include("partials/blog-entry.ejs", {post:post}) %>
|
|
|
|
<!-- -->
|
|
|
|
<% } %> <%- include("partials/pagination.ejs") %>
|
2023-10-25 21:48:36 +00:00
|
|
|
</div>
|
|
|
|
|
|
|
|
<%- include("partials/footer.ejs") %>
|
|
|
|
</body>
|
|
|
|
</html>
|
2023-12-30 23:45:44 +00:00
|
|
|
|
|
|
|
<script defer src="/js/postList.js"></script>
|