2024-09-16 07:53:26 -04:00
|
|
|
<!DOCTYPE html>
|
|
|
|
<html lang="en">
|
|
|
|
<head>
|
|
|
|
<meta charset="UTF-8">
|
|
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
2024-09-26 04:55:38 -04:00
|
|
|
<meta name="description" content="<%= description %>">
|
2024-09-26 02:02:36 -04:00
|
|
|
<title><%= title %> | <%= process.env.OWNER_NAME %>'s Blog</title>
|
2024-09-16 07:53:26 -04:00
|
|
|
<!-- Stylesheets -->
|
|
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
2024-09-26 01:51:44 -04:00
|
|
|
<link rel="stylesheet" href="<%= process.env.HOST_URL %>/css/styles.css">
|
2024-09-16 07:53:26 -04:00
|
|
|
<!-- Highlight.js CSS for Syntax Highlighting -->
|
2024-09-16 08:00:07 -04:00
|
|
|
<!-- <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/styles/default.min.css"> -->
|
|
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.6.0/styles/atom-one-dark.min.css">
|
2024-09-26 05:04:09 -04:00
|
|
|
<link rel="apple-touch-icon" sizes="180x180" href="<%= process.env.HOST_URL %>/apple-touch-icon.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="32x32" href="<%= process.env.HOST_URL %>/favicon-32x32.png">
|
|
|
|
<link rel="icon" type="image/png" sizes="16x16" href="<%= process.env.HOST_URL %>/favicon-16x16.png">
|
|
|
|
<link rel="manifest" href="<%= process.env.HOST_URL %>/site.webmanifest">
|
|
|
|
<meta name="msapplication-TileColor" content="#da532c">
|
|
|
|
<meta name="theme-color" content="#ffffff">
|
2024-09-16 07:53:26 -04:00
|
|
|
</head>
|
|
|
|
<body>
|
|
|
|
|
|
|
|
<!-- Navbar -->
|
|
|
|
<nav class="navbar navbar-expand-lg navbar-dark">
|
|
|
|
<div class="container-fluid">
|
2024-09-26 02:41:22 -04:00
|
|
|
<a class="navbar-brand" href="<%= process.env.HOST_URL %>"><%= process.env.SITE_NAME %></a>
|
2024-09-16 07:53:26 -04:00
|
|
|
<button class="navbar-toggler" type="button" data-bs-toggle="collapse" data-bs-target="#navbarNav" aria-controls="navbarNav" aria-expanded="false" aria-label="Toggle navigation">
|
|
|
|
<span class="navbar-toggler-icon"></span>
|
|
|
|
</button>
|
|
|
|
<div class="collapse navbar-collapse" id="navbarNav">
|
|
|
|
<ul class="navbar-nav ms-auto">
|
|
|
|
<li class="nav-item">
|
2024-09-26 01:51:44 -04:00
|
|
|
<a class="nav-link active" href="<%= process.env.HOST_URL %>">Home</a>
|
2024-09-16 07:53:26 -04:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2024-09-26 01:51:44 -04:00
|
|
|
<a class="nav-link" href="<%= process.env.HOST_URL %>/about">About Me</a>
|
2024-09-16 07:53:26 -04:00
|
|
|
</li>
|
|
|
|
<li class="nav-item">
|
2024-09-26 01:51:44 -04:00
|
|
|
<a class="nav-link" href="<%= process.env.HOST_URL %>/contact">Contact</a>
|
2024-09-16 07:53:26 -04:00
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
</nav>
|
2024-09-25 23:55:47 -04:00
|
|
|
|
2024-09-16 07:53:26 -04:00
|
|
|
<header class="bg-primary text-white text-center py-5">
|
|
|
|
<h1><%= title %></h1>
|
|
|
|
<p class="lead"><%= lead %></p> <!-- Lead is dynamically set here -->
|
|
|
|
</header>
|
|
|
|
|
|
|
|
<main class="container my-5">
|
|
|
|
<!-- Render Markdown content as HTML -->
|
|
|
|
<div class="markdown-content">
|
|
|
|
<%- content %>
|
|
|
|
</div>
|
|
|
|
</main>
|
|
|
|
|
|
|
|
<!-- Footer -->
|
2024-09-26 02:25:35 -04:00
|
|
|
<footer class="text-white text-center py-4">
|
2024-09-16 07:53:26 -04:00
|
|
|
<div class="container">
|
2024-09-26 02:41:22 -04:00
|
|
|
<h4 class="footer-logo mb-3"><%= process.env.FOOTER_TAGLINE %></h4>
|
2024-09-16 07:53:26 -04:00
|
|
|
<p class="footer-links mb-3">
|
|
|
|
<a href="/" class="text-white text-decoration-none me-3">Home</a>
|
|
|
|
<a href="/about" class="text-white text-decoration-none me-3">About</a>
|
2024-09-17 05:36:33 -04:00
|
|
|
<a href="/contact" class="text-white text-decoration-none me-3">Contact</a>
|
2024-09-26 01:51:44 -04:00
|
|
|
<a href="<%= process.env.HOST_URL %>/sitemap.xml" class="text-white text-decoration-none me-3">Sitemap</a>
|
|
|
|
<a href="<%= process.env.HOST_URL %>/rss" class="text-white text-decoration-none">RSS Feed</a>
|
2024-09-16 07:53:26 -04:00
|
|
|
</p>
|
2024-09-26 02:41:22 -04:00
|
|
|
<p class="mb-0">© 2024 <%= process.env.OWNER_NAME %>. All rights reserved.</p>
|
2024-09-16 07:53:26 -04:00
|
|
|
</div>
|
|
|
|
</footer>
|
|
|
|
|
|
|
|
<!-- Scripts -->
|
|
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
<!-- Highlight.js Script -->
|
|
|
|
<script src="https://cdnjs.cloudflare.com/ajax/libs/highlight.js/11.8.0/highlight.min.js"></script>
|
|
|
|
<script>
|
|
|
|
// Initialize Highlight.js
|
|
|
|
document.addEventListener('DOMContentLoaded', (event) => {
|
|
|
|
document.querySelectorAll('pre code').forEach((block) => {
|
|
|
|
hljs.highlightElement(block);
|
|
|
|
});
|
|
|
|
});
|
|
|
|
</script>
|
|
|
|
</body>
|
|
|
|
</html>
|