locals is from old version of ejs

pull/55/head
Theodore Kluge 2019-05-06 17:44:34 -04:00 committed by GitHub
parent 4066d81390
commit 195168cdf8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@
<section class="paper">
<%- content %>
<% if (locals.feedItems && feedItems.length) { %>
<% if ((typeof feedItems !== "undefined") && feedItems.length) { %>
<h2>Recently published ebooks</h2>
<ul class="feed">
<% for(const item of feedItems) { %>