diff --git a/app/views/layouts/_footer.html.slim b/app/views/layouts/_footer.html.slim index 818fe48..0f206ba 100644 --- a/app/views/layouts/_footer.html.slim +++ b/app/views/layouts/_footer.html.slim @@ -2,8 +2,8 @@ .small-12.columns .footer div - span.link yafeilee.me - span.time © 2012 - 2016 + span.link = ENV['SITE_ADDRESS'] + span.time = ENV['SITE_YEAR'] .license | Designed by span diff --git a/config/application.yml.example b/config/application.yml.example index 1c96733..2f41ea9 100644 --- a/config/application.yml.example +++ b/config/application.yml.example @@ -20,6 +20,11 @@ REDIS_NAMESPACE: 'wblog' # META description for SEO INTRODUCE: '这是李亚飞的博客, 李亚飞是暂住在深圳的一名 Ruby 程序员, 这里是关于技术, 创业, 生活的思考' +#Website Address for footer display without http +SITE_ADDRESS: 'yafeilee.me' +#Website Year for footer display +SITE_YEAR: '© 2012 - 2016' + # optional # google analytics, blank it if you don't need GOOGLE: ''