Permalink
Browse files

优化 copyright 信息

  • Loading branch information...
1 parent 48e9c7c commit b58dfbb32d6e8dbcfec623e29abeb17ac2d0f86c @alsotang alsotang committed Feb 20, 2014
Showing with 1 addition and 3 deletions.
  1. +0 −2 config.default.js
  2. +1 −1 views/layout.html
View
@@ -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
@@ -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>

0 comments on commit b58dfbb

Please sign in to comment.