diff --git a/public/_layout.ejs b/public/_layout.ejs index 4ad9b56..b47c64b 100644 --- a/public/_layout.ejs +++ b/public/_layout.ejs @@ -98,7 +98,7 @@
- <% if (typeof link != 'undefined') { -%> + <% if (typeof link != 'undefined' && link !== null) { -%>

→ <%= title %>

@@ -110,7 +110,7 @@

- <% } else if (typeof date != 'undefined') { -%> + <% } else if (typeof date != 'undefined' && date !== null) { -%>

<%= title %>

@@ -121,7 +121,7 @@

- <% } else if (typeof title != 'undefined') { -%> + <% } else if (typeof title != 'undefined' && title !== null) { -%>

<%= title %>

<%- yield %>