update code

This commit is contained in:
Raven Scott 2024-09-26 00:10:33 -04:00
parent 57fafd2126
commit 348ef3245d

View File

@ -45,7 +45,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="/blog/<%= post.slug %>"> <%= post.title %> </a></h5>
<h5 class="mb-1"><a href="https://blog.raven-scott.fyi/<%= post.slug %>"> <%= post.title %> </a></h5>
<p class="mb-1 text-muted">Posted on
<%= new Date(post.dateCreated).toLocaleDateString('en-US', {
year: 'numeric',