Browse Source

Added since to the copyright line

Signed-off-by: Xiaofeng QU <xiaofeng.qu.hk@ieee.org>
Xiaofeng QU 10 năm trước cách đây
mục cha
commit
9396bc1994
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      layout/_partial/footer.ejs

+ 1 - 1
layout/_partial/footer.ejs

@@ -4,7 +4,7 @@
   <% } %>
   <div class="outer">
     <div id="footer-info" class="inner">
-      &copy; <%= date(new Date(), 'YYYY') %> <%= config.author || config.title %><br>
+      &copy; <% if (config.since){ %><%= config.since %> - <% } %><%= date(new Date(), 'YYYY') %> <%= config.author || config.title %><br>
       Powered by <a href="http://hexo.io/" target="_blank">Hexo</a>. Theme by <a href="http://github.com/ppoffice">PPOffice</a>
     </div>
   </div>