aboutsummaryrefslogtreecommitdiffstats
path: root/views
diff options
context:
space:
mode:
Diffstat (limited to 'views')
-rw-r--r--views/archive.ejs4
-rw-r--r--views/index.ejs3
2 files changed, 4 insertions, 3 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>
diff --git a/views/index.ejs b/views/index.ejs
index 0e47f53..fdd49cc 100644
--- a/views/index.ejs
+++ b/views/index.ejs
@@ -16,7 +16,8 @@
<hr/>
<br/>
<a class="left-footer">Keywords:</a>
- <%- data.Keywords %>
+ <%- data.keywords %>
+ <%- data.lastUpdated %>
<br/>
<br/>
<hr/>