locals is from old version of ejs
parent
4066d81390
commit
195168cdf8
|
@ -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) { %>
|
||||
|
|
Loading…
Reference in New Issue