forked from snxraven/ravenscott-blog
fix
This commit is contained in:
parent
a66188f25e
commit
6970978920
@ -58,7 +58,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="<%= process.env.BLOG_URL %>/<%= post.slug %>"> <%= post.title %> </a></h5>
|
<h5 class="mb-1"><a href="<%= process.env.BLOG_URL %><%= 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',
|
||||||
@ -67,7 +67,7 @@
|
|||||||
}) %>
|
}) %>
|
||||||
</p>
|
</p>
|
||||||
</div>
|
</div>
|
||||||
<a href="<%= process.env.BLOG_URL %>/<%= post.slug %>" class="btn btn-outline-primary">Read Article</a>
|
<a href="<%= process.env.BLOG_URL %><%= post.slug %>" class="btn btn-outline-primary">Read Article</a>
|
||||||
</li>
|
</li>
|
||||||
<% }) %>
|
<% }) %>
|
||||||
</ul>
|
</ul>
|
||||||
|
Loading…
Reference in New Issue
Block a user