aboutsummaryrefslogtreecommitdiffstats
path: root/views/archive.ejs
diff options
context:
space:
mode:
authorterminaldweller <thabogre@gmail.com>2022-07-06 13:34:45 +0000
committerterminaldweller <thabogre@gmail.com>2022-07-06 13:34:45 +0000
commitda98e1dee68e421bdd7cfcf332c43a1f94a43a30 (patch)
tree792f70ee92e096d69d9989481a736ff3af0590c7 /views/archive.ejs
parentwas using node image for self-signed certificates (diff)
parentfix for atom (diff)
downloadblog-da98e1dee68e421bdd7cfcf332c43a1f94a43a30.tar.gz
blog-da98e1dee68e421bdd7cfcf332c43a1f94a43a30.zip
Merge branch 'rss'
Diffstat (limited to 'views/archive.ejs')
-rw-r--r--views/archive.ejs4
1 files changed, 2 insertions, 2 deletions
diff --git a/views/archive.ejs b/views/archive.ejs
index 36191de..72b963d 100644
--- a/views/archive.ejs
+++ b/views/archive.ejs
@@ -9,9 +9,9 @@
<body>
<script>0</script>
<div class="article">
- <% data.mds.forEach(function(md) { %>
+ <% data.blogPosts.forEach(function(blogPost) { %>
<ul>
- <li><a href=<%= "/mds/"+md %> target="_self" rel="noreferrer noopener" type="text/html"><%= md %></a></li>
+ <li><a href=<%= "/posts/"+blogPost.slug %> target="_self" rel="noreferrer noopener" type="text/html"><%= blogPost.title %></a></li>
</ul>
<% }) %>
</div>