forked from snxraven/ravenscott-blog
update code
This commit is contained in:
parent
57fafd2126
commit
348ef3245d
@ -45,7 +45,7 @@
|
|||||||
<% blogPosts.forEach(post => { %>
|
<% blogPosts.forEach(post => { %>
|
||||||
<li class="list-group-item d-flex justify-content-between align-items-center py-4">
|
<li class="list-group-item d-flex justify-content-between align-items-center py-4">
|
||||||
<div>
|
<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
|
<p class="mb-1 text-muted">Posted on
|
||||||
<%= new Date(post.dateCreated).toLocaleDateString('en-US', {
|
<%= new Date(post.dateCreated).toLocaleDateString('en-US', {
|
||||||
year: 'numeric',
|
year: 'numeric',
|
||||||
|
Loading…
Reference in New Issue
Block a user