diff --git a/app/views/static/about.html.haml b/app/views/static/about.html.haml index 693446d5..625d81c9 100644 --- a/app/views/static/about.html.haml +++ b/app/views/static/about.html.haml @@ -13,20 +13,14 @@ = succeed '!' do = APP_CONFIG['site_name'] %br/ - .media - .pull-left - %a{href: show_user_profile_path('pixeldesu')} - %img.img-rounded.answerbox--img{src: User.find_by_screen_name('pixeldesu').profile_picture.url(:medium)} - .media-body - %h4.entry-text.entry-about pixeldesu - %h6.entry-subtext Frontend Design & Layout - .media - .pull-left - %a{href: show_user_profile_path('Filippus')} - %img.img-rounded.answerbox--img{src: User.find_by_screen_name('Filippus').profile_picture.url(:medium)} - .media-body - %h4.entry-text.entry-about Filippus - %h6.entry-subtext Moderator Management & Support + - APP_CONFIG['admins'].each do |adm| + .media + .pull-left + %a{href: show_user_profile_path(adm['screen_name'])} + %img.img-rounded.answerbox--img{src: User.find_by_screen_name(adm['screen_name']).profile_picture.url(:medium)} + .media-body + %h4.entry-text.entry-about= adm['about_text'] + %h6.entry-subtext= adm['subtext'] .panel.panel-default .panel-body %h3 Moderators diff --git a/config/justask.yml.example b/config/justask.yml.example index b5a5cf72..2fa3321b 100644 --- a/config/justask.yml.example +++ b/config/justask.yml.example @@ -28,4 +28,17 @@ sharing: consumer_secret: '' # Redis -redis_url: "redis://localhost:6379" \ No newline at end of file +redis_url: "redis://localhost:6379" + +# Site admins +admins: + - screen_name: 'nilsding' + about_text: nilsding + subtext: Backend, Server & Code + - screen_name: 'pixeldesu' + about_text: pixeldesu + subtext: Frontend Design & Layout + - screen_name: 'Filippus' + about_text: Filippus + subtext: Moderator Management & Support +