Explorar el Código

Added the hidedate condition in date.ejs

Signed-off-by: Xiaofeng QU <xiaofeng.qu.hk@ieee.org>
Xiaofeng QU hace 10 años
padre
commit
5c408aaf7f
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      layout/_partial/post/date.ejs

+ 1 - 1
layout/_partial/post/date.ejs

@@ -1,4 +1,4 @@
-<% if (post.date){ %>
+<% if (post.date && !post.hidedate){ %>
   <div class="<%= class_name %>">
     <i class="fa fa-calendar"></i>
     <a href="<%- url_for(post.path) %>">