diff --git a/demo/gallery/ejs/tiles.ejs b/demo/gallery/ejs/tiles.ejs index e4fad8c..3c2bff8 100644 --- a/demo/gallery/ejs/tiles.ejs +++ b/demo/gallery/ejs/tiles.ejs @@ -6,22 +6,30 @@

- <%= tile.title %> + <% if (tile.title && tile.title != "NA") { %> + <%= tile.title %> + <% } else { %> + Missing title + <% } %>

+ <% if (tile.cover_image && tile.cover_image != "NA") { %> <%- tile.description %> + <% } %>
+ <% if (tile.subtitle && tile.subtitle != "NA") { %>

<%= tile.subtitle %>

+ <% } %>
<% }); %> -``` \ No newline at end of file +```