forked from snxraven/ravenscott-blog
fix
This commit is contained in:
parent
70d7516b8e
commit
13aaec73fa
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user