74 lines
3.1 KiB
Plaintext
74 lines
3.1 KiB
Plaintext
<!DOCTYPE html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<!-- Meta and Title -->
|
|
<meta charset="UTF-8">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<title><%= title %> | <%= process.env.OWNER_NAME %>'s' Blog</title>
|
|
<!-- Bootstrap CSS -->
|
|
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/css/bootstrap.min.css">
|
|
<!-- Font Awesome CSS for Icons -->
|
|
<link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/6.0.0-beta3/css/all.min.css">
|
|
<!-- Custom CSS -->
|
|
<link rel="stylesheet" href="<%= process.env.HOST_URL %>/css/styles.css">
|
|
</head>
|
|
|
|
<body>
|
|
|
|
<!-- Navigation Bar -->
|
|
<nav class="navbar navbar-expand-lg navbar-dark">
|
|
<div class="container-fluid">
|
|
<a class="navbar-brand" href="<%= process.env.HOST_URL %>"><%= process.env.SITE_NAME %></a>
|
|
<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">
|
|
<a class="nav-link active" href="<%= process.env.HOST_URL %>">Home</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="<%= process.env.HOST_URL %>/about">About Me</a>
|
|
</li>
|
|
<li class="nav-item">
|
|
<a class="nav-link" href="<%= process.env.HOST_URL %>/contact">Contact</a>
|
|
</li>
|
|
</ul>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
|
|
<!-- About Me Section -->
|
|
<section class="about-me py-5">
|
|
<div class="container">
|
|
<div class="section-divider"></div>
|
|
<!-- Inject the HTML content generated from the markdown -->
|
|
<div class="markdown-content">
|
|
<%- content %>
|
|
</div>
|
|
</div>
|
|
</section>
|
|
|
|
<!-- Footer -->
|
|
<footer class="text-white text-center py-4">
|
|
<div class="container">
|
|
<h4 class="footer-logo mb-3"><%= process.env.FOOTER_TAGLINE %></h4>
|
|
<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>
|
|
<a href="/contact" class="text-white text-decoration-none me-3">Contact</a>
|
|
<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>
|
|
</p>
|
|
<p class="mb-0">© 2024 <%= process.env.OWNER_NAME %>. All rights reserved.</p>
|
|
</div>
|
|
</footer>
|
|
|
|
<!-- Bootstrap JS Bundle -->
|
|
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0-alpha1/dist/js/bootstrap.bundle.min.js"></script>
|
|
|
|
</body>
|
|
|
|
</html>
|