This commit is contained in:
Raven Scott 2024-09-26 02:56:55 -04:00
parent 70d7516b8e
commit 13aaec73fa

View File

@ -58,7 +58,7 @@
<% blogPosts.forEach(post => { %>
<li class="list-group-item d-flex justify-content-between align-items-center py-4">
<div>
<h5 class="mb-1"><a href="https://<%= process.env.DOMAIN_NAME %>/<%= post.slug %>"> <%= post.title %> </a></h5>
<h5 class="mb-1"><a href="https://<%= process.env.BLOG_URL %>/<%= post.slug %>"> <%= post.title %> </a></h5>
<p class="mb-1 text-muted">Posted on
<%= new Date(post.dateCreated).toLocaleDateString('en-US', {
year: 'numeric',
@ -67,7 +67,7 @@
}) %>
</p>
</div>
<a href="https://<%= process.env.DOMAIN_NAME %>/<%= post.slug %>" class="btn btn-outline-primary">Read Article</a>
<a href="https://<%= process.env.BLOG_URL %>/<%= post.slug %>" class="btn btn-outline-primary">Read Article</a>
</li>
<% }) %>
</ul>