locals is from old version of ejs
parent
4066d81390
commit
195168cdf8
|
@ -13,7 +13,7 @@
|
||||||
<section class="paper">
|
<section class="paper">
|
||||||
<%- content %>
|
<%- content %>
|
||||||
|
|
||||||
<% if (locals.feedItems && feedItems.length) { %>
|
<% if ((typeof feedItems !== "undefined") && feedItems.length) { %>
|
||||||
<h2>Recently published ebooks</h2>
|
<h2>Recently published ebooks</h2>
|
||||||
<ul class="feed">
|
<ul class="feed">
|
||||||
<% for(const item of feedItems) { %>
|
<% for(const item of feedItems) { %>
|
||||||
|
|
Loading…
Reference in New Issue