优化 copyright 信息

This commit is contained in:
Alsotang 2014-02-20 11:14:21 +08:00
parent 48e9c7cd77
commit b58dfbb32d
2 changed files with 1 additions and 3 deletions

View File

@ -118,8 +118,6 @@ var config = {
callbackURL: 'http://cnodejs.org/auth/github/callback',
},
allow_sign_up: true,
copyright_year: '2012 - 2014',
};
module.exports = config;

View File

@ -99,7 +99,7 @@
<a class='dark' href='/rss' target="_blank"><strong>RSS</strong></a>
</div>
<div class='col_fade'>
&copy; <%= config.copyright_year %> <br>本社区为开源系统,版本: <%= config.version %> ,欢迎贡献代码<br>
&copy; <%= "2012 - " + (new Date()).getFullYear() %> <br>本社区为开源系统,版本: <%= config.version %> ,欢迎贡献代码<br>
<a href='http://cnodejs.net' target='_blank'> NAE </a><%= config.name %> 提供动力
</div>
</div>