Testing conditional since
Signed-off-by: Xiaofeng QU <xiaofeng.qu.hk@ieee.org>
This commit is contained in:
parent
eaadad789b
commit
19c150f18b
|
@ -4,7 +4,7 @@
|
|||
<% } %>
|
||||
<div class="outer">
|
||||
<div id="footer-info" class="inner">
|
||||
© <% if (config.since){ %><%= config.since %> - <% } %><%= date(new Date(), 'YYYY') %> <%= config.author || config.title %><br>
|
||||
© <% if (config.since && config.since != date(new Date(), 'YYYY')){ %><%= 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>
|
||||
|
|
Loading…
Reference in New Issue