Merge pull request #30 from quxiaofeng/master

Add a condition for the since config
This commit is contained in:
ppoffice 2015-07-14 15:30:18 +08:00
commit a6d5148ef7
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
<% } %>
<div class="outer">
<div id="footer-info" class="inner">
&copy; <% if (config.since){ %><%= config.since %> - <% } %><%= date(new Date(), 'YYYY') %> <%= config.author || config.title %><br>
&copy; <% 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>